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

Joachim Durchholz jo at durchholz.org
Thu Jun 22 19:07:22 UTC 2017


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 assumption here is that Simon will bump the version to happy-1.19.6 
before uploading the fixed package.


More information about the Haskell-Cafe mailing list