Packagers: nightly builds?
Benoit Boissinot
benoit.boissinot at ens-lyon.org
Sun Jan 25 15:23:03 CST 2009
On Sun, Jan 25, 2009 at 10:50:50PM +0200, Giorgos Keramidas wrote:
> On Sun, 25 Jan 2009 11:02:13 -0600, Matt Mackall <mpm at selenic.com> wrote:
> > I would like to start making nightly build of the stable branch
> > available. This will help our testers greatly, especially during the
> > code freeze. For starters, I'd like to see Windows and Mac plus Debian
> > and Fedora for x86.
> >
> > So let me know if it's possible to automate your build.
>
> I would love to provide nightly-style builds for FreeBSD too.
>
> 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?
>
> 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?
Are hex numbers allowed in version names?
I think the best rev number is something like:
<last version tag>.<number of descendants>-<nodeid>
I.e. for 9f9bbd33f71e, it would be:
1.1.2.7712-9f9bbd33f71e
<number of descendants> might be different from the rev number, if the
cset isn't tip, or if it's a multi-head repo. It can be seen as the
smallest possible rev number for a given cset.
regards,
Benoit
--
:wq
More information about the Mercurial-devel
mailing list