logo       

Re: Cabal feature request - dates in versions: msg#00137

lang.haskell.libraries

Subject: Re: Cabal feature request - dates in versions

On Mon, Apr 24, 2006 at 03:14:01AM +0300, Einar Karttunen wrote:
> On 23.04 20:17, Ross Paterson wrote:
> > setup sdist --snapshot
>
> Does not help with people doing:
>
> darcs get http://foo.bar/mylibrary/
> runghc Setup.hs configure
> runghc Setup.hs build
> su -c 'runghc Setup.hs install'
>
> If one wants to do snapshot releases then adding the version manually is
> no problem. But for a head-branch in darcs/cvs/... this is problematic.

Perhaps you want --snapshot on install/copy/register.

An alternative would be a Boolean field in the package description,
distinguishing a package from a repository. In the latter case you'd
get the expanded version numbers, but sdist would mark the things it
created as packages.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise