(1) Which version of Darcs are you referring to and which of the several
(2) Why do you think hackage and whatever repository you refer to must
be in sync? Did you have a concrete problem caused by the difference?
+1) Darcs 2.10.0 and http://hub.darcs.net/darcs/darcs-2.10
2) depedency and flags in hackage cabal are different , for example
causes problems with cabal-rpm ... and cabal-install
( see network vs network-uri)
2015-06-16 2:01 GMT+02:00 Ben Franksen <firstname.lastname@example.org>:
> Ben Franksen <email@example.com> added the comment:
> (1) Which version of Darcs are you referring to and which of the several
> Darcs repositories?
> (2) Why do you think hackage and whatever repository you refer to must
> be in sync? Did you have a concrete problem caused by the difference?
> Darcs bug tracker <firstname.lastname@example.org>
One improvement we could make is to add a source-repository entry
for the release branch along with a tag:
I think we would may need to update the release scripts a bit to
handle that, though, or make sure to always bump the tag when
bumping the version in the cabal file.
Just to make things crystal clear: the branch is named darcs-2.10, not
2.10.1. This is a release branch for the 2.10 series of releases and
thus is not supposed to be identical to any one particular release.
If you want to reproduce an exact copy of the release 2.10.0 you should
use a tag. To select an exactly matching tag, use regex anchors as in
darcs clone --tag='^2.10.0$'
This should give you the same as what is on hackage.
I like Ganesh's idea. It's been a while since I read the cabal
documentation and the two 'this' and 'head' source repos are nice.
So we'd have a 'head' entry that doesn't change between releases (not
even between release branches) and thus could be added on the main branch.
Then there is 'this' repo entry. I think the solution with the least
maintenance overhead is to have this entry only in release branches and
not in the development branches. Then we set up apply pre-hooks in these
branches that check if the patch to be applied is a tag and if yes that
the tag inside the cabal file is identical, otherwise refuses to apply.
This should be enough to avoid silly mistakes when making a release.