Packagers: nightly builds?

Martin Geisler mg at daimi.au.dk
Sun Jan 25 15:15:04 CST 2009


Giorgos Keramidas <keramida at freebsd.org> writes:

> 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?
>
> Is there something smarter that we can use in either the Mercurial
> build scripts or the build glue for FreeBSD that would help us
> correlate these with node hashes?

What if you included the local revision number and the changeset hash?
So a version number would look like

   7710-88326ee85a1b

Including both the local and global identifier will ensure that the
version is increasing and uniquely identifies the commit.

There is also the "nearest extension":

  http://www.selenic.com/mercurial/wiki/index.cgi/NearestExtension

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090125/0b0b21bc/attachment.pgp 


More information about the Mercurial-devel mailing list