[Hackage] #194: add sanity checking to version numbers

Hackage trac at galois.com
Wed Jan 23 19:16:04 EST 2008


#194: add sanity checking to version numbers
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:                     
      Type:  defect         |       Status:  closed             
  Priority:  normal         |    Milestone:                     
 Component:  Cabal library  |      Version:  1.2.3.0            
  Severity:  normal         |   Resolution:  fixed              
  Keywords:                 |   Difficulty:  very easy (<1 hour)
Ghcversion:  6.8.1          |     Platform:  Linux              
----------------------------+-----------------------------------------------
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Done.
 {{{
 Wed Jan 23 20:19:30 GMT 2008  Duncan Coutts <duncan at haskell.org>
   * Make Data.Version parsing stricter
   Dissalows version strings like "1.05". It'd have to be "1.5" or "1.0.5".
   That is, leading '0's in version components are no longer allowed.
   The Version parser & pretty printer should now be exactly 1-1 and
 invertable.
 }}}

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


More information about the cabal-devel mailing list