[Hackage] #251: link to the latest version of a package tar file

Hackage trac at galois.com
Wed Feb 27 19:43:23 EST 2008


#251: link to the latest version of a package tar file
----------------------------------+-----------------------------------------
  Reporter:  ross at soi.city.ac.uk  |        Owner:         
      Type:  enhancement          |       Status:  new    
  Priority:  normal               |    Milestone:         
 Component:  HackageDB website    |      Version:  1.2.3.0
  Severity:  normal               |   Resolution:         
  Keywords:                       |   Difficulty:  normal 
Ghcversion:  6.8.2                |     Platform:         
----------------------------------+-----------------------------------------
Comment (by ross at soi.city.ac.uk):

 Replying to [comment:1 igloo]:
 > If you do this, if possible, can you do it so that something like
 > wget http://hackage.haskell.org/packages/archive/arrows/latest.tar.gz
 > will end up creating a file called `arrows-0.4.tar.gz` please?
 >
 > I ''think'' that making `latest.tar.gz` redirect to the real file name
 will behave like that.

 That needs an HTTP Redirect response rather than just a symbolic link on
 the server.  It's more work, but possible.

 I think I should also move all the tarballs for a package into a single
 directory, to suit tools like Debian's uscan that scan a directory for new
 versions.

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


More information about the cabal-devel mailing list