Re: Fwd: Thanks for fixing recipes...and Launchpad Recipe help please
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 >> Date: 10 November 2011 06:05 >> Subject: Thanks for fixing recipes...and Launchpad Recipe help please >> To: martin.p...@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 -- ubuntu-distributed-devel mailing list ubuntu-distributed-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel
Re: Fwd: Thanks for fixing recipes...and Launchpad Recipe help please
> Is there a place where I can track this? I'd like to know when it > becomes available. Thanks for the full answer :) That's a good question, and maybe something that's a bit missing in lp's communication at the moment. We will reply on this thread and also put something on the Launchpad blog when it's live. -- ubuntu-distributed-devel mailing list ubuntu-distributed-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel
Re: Fwd: Thanks for fixing recipes...and Launchpad Recipe help please
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 Date: 10 November 2011 06:05 Subject: Thanks for fixing recipes...and Launchpad Recipe help please To: martin.p...@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 -- ubuntu-distributed-devel mailing list ubuntu-distributed-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel
Fwd: Thanks for fixing recipes...and Launchpad Recipe help please
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 Date: 10 November 2011 06:05 Subject: Thanks for fixing recipes...and Launchpad Recipe help please To: martin.p...@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? 2) If yes, what's the equivalent of {debupstream} that I can use to access them? Thanks, Scott Ritchie -- ubuntu-distributed-devel mailing list ubuntu-distributed-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel
Re: Another quilt use case
On Nov 09, 2011, at 10:52 PM, Martin Packman wrote: >Sticking any funky branches like this up somewhere may be useful for >later reference. See if lp:~barry/ubuntu/precise/claws-mail/udd helps -Barry signature.asc Description: PGP signature -- ubuntu-distributed-devel mailing list ubuntu-distributed-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel
Re: Another quilt use case
Thanks for this story! Interleaving quilt and bzr commands, or trying to do any changes with patches in two places at once does seem unworkable. On 07/11/2011, Barry Warsaw wrote: > > I'm a little leery about `bzr push`ing my branch though, since I don't know > how badly, if at all, I've confused the importer. I think for this package > I *won't* push the branch, so I can see what the importer does with it, and > can compare it against my local branch. Sticking any funky branches like this up somewhere may be useful for later reference. Martin -- ubuntu-distributed-devel mailing list ubuntu-distributed-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-distributed-devel