[Hackage] #278: Default to non-versioned links in Hackage index

Hackage trac at galois.com
Sat May 10 16:12:06 EDT 2008


#278: Default to non-versioned links in Hackage index
--------------------------------+-------------------------------------------
  Reporter:  guest              |        Owner:         
      Type:  enhancement        |       Status:  new    
  Priority:  low                |    Milestone:         
 Component:  HackageDB website  |      Version:  1.2.3.0
  Severity:  normal             |     Keywords:         
Difficulty:  normal             |   Ghcversion:  6.8.2  
  Platform:                     |  
--------------------------------+-------------------------------------------
 When one visits http://hackage.haskell.org/packages/archive/pkg-list.html
 and looks for, say, Don's pcre-light, one sees: '# pcre-light library: A
 small, efficient and portable regex library for Perl 5 compatible regular
 expressions'.

 When one clicks upon it, one goes to the link http://hackage.haskell.org
 /cgi-bin/hackage-scripts/package/pcre-light-0.3.1

 For me, this is not good. Suppose I'm editing a README or a wiki page, and
 I want to add a Hackage link: 'For the Hackage'd packages...' 'you can
 find pcre-light on Hackage at...'. In this case, what I want is a link to
 *all* the pcre-lights. As it happens, I discovered by accident that I can
 in fact do that sort of link: http://hackage.haskell.org/cgi-bin/hackage-
 scripts/package/pcre-light (and ever since, I've been manually editing the
 URL).

 This one will default to taking you to the 0.3.1 page, but if a more
 recent pcre-light is uploaded, it'll then take you to it instead (I
 believe). This makes perfect sense in the most common use case. Yes,
 people will want to link to a specific version sometimes, but to draw an
 analogy: if I tell you to go read up on Catamorphisms on Wikipedia, and I
 want to copy-paste the URL, is it better for Wikipedia to send me to
 https://secure.wikimedia.org/wikipedia/en/wiki/Catamorphism - or
 https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Catamorphism&oldid=211473795
 ?

 --
 gwern

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


More information about the cabal-devel mailing list