Fwd: Thanks for fixing recipes...and Launchpad Recipe help please
Scott Ritchie
scottritchie at ubuntu.com
Thu Nov 10 03:12:35 UTC 2011
On 11/09/2011 07:19 PM, Jelmer Vernooij wrote:
> 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.
>
Is there a place where I can track this? I'd like to know when it
becomes available. Thanks for the full answer :)
Thanks,
Scott Ritchie
More information about the ubuntu-distributed-devel
mailing list