patch applied (hackage-server): "Make documentation statistics available as JSON resource"

devnull at community.haskell.org devnull at community.haskell.org
Sun Jul 28 10:13:19 CEST 2013


Sun Jul 28 09:12:48 BST 2013  Edsko de Vries <edsko at well-typed.com>
  * Make documentation statistics available as JSON resource
  Ignore-this: a3d475cd31445f2ae3e962ca65b4da17
  
  This is available at
  
      http://example.com/packages/docs.json
  
  for the regular packages and 
  
      http://example.com/packages/candidates/docs.json
  
  for the package candidates. The returned JSON will have the format
  
      [ ["mtl-2.1.2"            , false]
      , ["stm-2.4"              , false]
      , ["stm-2.4.2"            , false]
      , ["transformers-0.3.0.0" , true]
      ]
  
  The build client uses this for the 'stats' functionality but not yet elsewhere.

    M ./BuildClient.hs -8 +19
    M ./Distribution/Server/Features.hs -2 +8
    M ./Distribution/Server/Features/Documentation.hs -5 +34
    M ./hackage-server.cabal +1





More information about the cabal-devel mailing list