[Hackage] #725: Distinguish speculative and required build-depends upper bound

Hackage cvs-ghc at haskell.org
Sat Aug 14 18:37:56 EDT 2010


#725: Distinguish speculative and required build-depends upper bound
---------------------------------+------------------------------------------
  Reporter:  ezyang              |        Owner:         
      Type:  enhancement         |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.6.0.3
  Severity:  normal              |     Keywords:         
Difficulty:  unknown             |   Ghcversion:         
  Platform:                      |  
---------------------------------+------------------------------------------
 When a package adds a build-dependency on another package, it's good form
 to follow the Package Versioning Policy and add a speculative upper bound
 that is x.(y+1), if the current version is x.y. This is great, but in many
 cases the next version will /not/ break compatibility with your package.
 In that case, once you have tested that the dependency is fine, you can
 bump the upper bound.

 As the list of dependencies for any respectable Cabal package can be quite
 long, it may be useful to have some sort of 'cabal whatsnew' command which
 checks the upper bounds of your build dependencies and notifies you when
 there are newer versions than your upper bounds availble. Furthermore,
 there should be a mechanism for telling Cabal that the upper bound is
 required, and that the package will break if you try to bump it.

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



More information about the cabal-devel mailing list