Ticket #434 (new enhancement)

Opened 3 years ago

Last modified 5 months ago

Let packages opt-in to the Package Versioning Policy

Reported by: duncan Owned by:
Priority: normal Milestone: Cabal-1.8
Component: Cabal library Version: 1.2.3.0
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.8.3 Platform:

Description

Package version numbers and version constraints on dependencies are proxies for API compatibility. It is hard for people to specify the dependencies correctly and we would like to improve their quality.

We have the  Package versioning policy which says how the package version number relates to API changes.

What we want is a mechanism by which package authors can opt-in to the versioning policy. We should then get hackage to check that the package really is following the policy. Just as important we can use the fact that a package does follow the policy to give suggestions to package authors. For one thing we can discourage or ban upwardly open version ranges and provide a suggestion on what upper version bound to use.

Change History

Changed 3 years ago by duncan

See #472 about a new field.

Changed 5 months ago by elga

Note: See TracTickets for help on using tickets.