Packagers: nightly builds?

Mads Kiilerich mads at kiilerich.com
Sun Jan 25 15:19:17 CST 2009


Giorgos Keramidas wrote, On 01/25/2009 09:50 PM:
> One of the main tricky details that I will probably need help with is
> something like an `increasing package number', so that I can hack at the
> `ports/devel/mercurial-stable/Makefile' file and add a PORTREVISION that
> keeps increasing forever.
>
> Right now I have an experimental port on my laptop that uses the build
> date as the port revision, i.e.
>
>     PORTREVISION!= date -u '+%y%m%d%H%M%S'
>
> This seems a bit 'hackish', but it might work.  Does it look reasonable?
>   

For daily builds that version number might be reasonable.

But contrib/buildrpm contains some magic to do what you ask for. It is 
very hackish but works. It could perhaps be generalized.

/Mads
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3435 bytes
Desc: S/MIME Cryptographic Signature
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090125/3be0b756/attachment.bin 


More information about the Mercurial-devel mailing list