Proposal: Ignore sub-minor version components in package id
Antoine Latter
aslatter at gmail.com
Mon Oct 3 13:41:46 CEST 2011
Would it be simpler to not use the version at all for calculating installed
package ABI identity?
You could still show it, though.
On Oct 3, 2011 6:19 AM, "Joachim Breitner" <mail at joachim-breitner.de> wrote:
> Hi,
>
> I’d like to propose that the package (shown by "ghc-pkg field <pkg> id"
> and used by "ghc-pkg field <pkg> depends") should only consist of the
> first three components of the package version, not all of them.
>
> By the package versioning policy, if the API stays the same, these
> version numbers stay identical. And if the change does not affect the
> ABI, the hash stays the same. This would allow upgrades of the package
> without having to re-build everything depending on it.
>
> And if the maintainer does not fully follow the PVP, then it is not a
> big deal either; the hash will change and Cabal will enforce rebuilds.
>
>
> One could argue that the version can be removed entirely from the
> package id, but it helps the human reader when looking at the "depends"
> field of a package.
>
>
> Greetings,
> Joachim
>
> --
> Joachim "nomeata" Breitner
> mail at joachim-breitner.de | nomeata at debian.org | GPG: 0x4743206C
> xmpp: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20111003/0353c119/attachment.htm>
More information about the Libraries
mailing list