[Haskell-cafe] I think we should stop "fixing" other people's packages on Hackage silently

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Fri Jun 23 04:08:53 UTC 2017

On 23 June 2017 at 05:07, Joachim Durchholz <jo at durchholz.org> wrote:
> Am 22.06.2017 um 18:14 schrieb Niklas Hamb├╝chen:
>> So I would welcome if we could make use of the "Hackage revisions"
>> feature only in the utmost necessary cases, or even better, never, and
>> always make properly versioned releases, where a change to any file
>> implies a bump of the version, so that one can clearly see if one is
>> dealing with the unmodified upstream code or not.
> I'd like to recommend the approach taken by Linux distros: If the package is
> modified vs. the original code, use a version numbering scheme that clearly
> indicates both the original version and a "packaging revision number".
> https://hackage.haskell.org/package/happy-1.19.5/revisions/ with two(!)
> updates should really be three revisions:
>   happy-1.19.5 (original version uploaded by Simon)
>   happy-1.19.5-hackage-1 (2015 update)
>   happy-1.19.5-hackage-2 (2017 update)

The problem being that Data.Version has deprecated the tags field, so
we can't have that format.

What about just appending one extra version field (assuming PVP, so
bump/add field n >= 5) ?

> The assumption here is that Simon will bump the version to happy-1.19.6
> before uploading the fixed package.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list