Fwd: Thanks for fixing recipes...and Launchpad Recipe help please

Jelmer Vernooij jelmer at samba.org
Thu Nov 10 00:19:32 UTC 2011


Hi Scott, Martin,

On 11/10/2011 01:01 AM, Martin Pool wrote:
> I don't know the answer to this off hand.  Does someone else?  Maybe
> we can add this to the help.l.n documentation?
>
> Martin
>
> ---------- Forwarded message ----------
> From: Scott Ritchie<scottritchie at ubuntu.com>
> Date: 10 November 2011 06:05
> Subject: Thanks for fixing recipes...and Launchpad Recipe help please
> To: martin.pool at canonical.com
>
>
> Hey Martin,
>
> Thanks a ton for helping fix the daily build recipes bzr-out-of-memory
> issue.  Now that my daily builds are building again, I'm hoping I can
> bother you with a question...
>
>
> How exactly do I use Git tags in a recipe?  It seems like there's
> support for this, but I couldn't figure it out.
>
> Currently my recipe looks like this:
>
> # bzr-builder format 0.3 deb-version {debupstream}+daily-{date}
> lp:wine
> nest-part packaging lp:~scottritchie/wine/natty-packaging debian debian
>
> The {debupstream} pulls the upstream version from that natty-packaging
> branch I set up, but what I'd like it to use is the GIT tag from lp:wine
> since I don't really have any reason to update this branch other than to
> increment the version number.
>
> 1) Are git tags preserved at all in LP's BZR imports?
Yes, they're imported as regular Bazaar tags. Bazaar doesn't have 
annotated tags, so any annotated tags will simply be converted into 
regular tags. Tags that point at objects that are not commits (i.e. 
trees) are ignored.

> 2) If yes, what's the equivalent of {debupstream} that I can use to
> access them?
Newer versions of bzr-builder have support for the {latest-tag} variable 
in deb-version, which gets replaced with the name of the most recent tag 
in the branch. See also https://bugs.launchpad.net/bzr-builder/+bug/608912

This version isn't deployed on Launchpad yet; we're working on deploying 
a new version at the moment.

In the mean time, you should be able to test your recipes (with 
{latest-tag}) with the "bzr-builder" package in oneiric and precise.

Cheers,

Jelmer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-distributed-devel/attachments/20111110/6567114f/attachment.html>


More information about the ubuntu-distributed-devel mailing list