[Hackage] #570: Include distributions status on package page

Hackage trac at galois.com
Mon Jul 27 13:15:56 EDT 2009

#570: Include distributions status on package page
  Reporter:  nomeata            |        Owner:         
      Type:  enhancement        |       Status:  new    
  Priority:  normal             |    Milestone:         
 Component:  hackageDB website  |      Version:         
  Severity:  normal             |   Resolution:         
  Keywords:  patch              |   Difficulty:  unknown
Ghcversion:                     |     Platform:         
Comment (by duncan):

 I think a better way round is to keep the server dumb and to have smart
 clients PUT/POST this information to the server. I'd welcome a patch to
 implement this in the new hackage-server implementation:

 darcs get http://code.haskell.org/hackage-server/

 As for a design, I think one resource per package, per distro, so we'd
 want to PUT status info in an agreed format (including eg URL to the
 distro package) to $server/package/$packageid/distro-status/$distro

 Using one resource per package seems like a lot for an initial import (but
 it's not that bad since with HTTP you can send lots of messages on a
 single connection) but it is simpler, more RESTful and is fine once you
 get into a steady state since you'd only post updates and new packages.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/570#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list