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

2011-11-17 Thread Scott Ritchie
On 11/15/2011 07:07 PM, Martin Pool wrote:
 I changed my recipe to use {latest-tag} instead of {debupstream} today,
 requested a rebuild, and got a new build failure:

 https://launchpadlibrarian.net/85208307/buildlog.txt.gz

 https://bugs.launchpad.net/launchpad/+bug/890834

 It seems to be a regression.
 
 Thanks for reporting this.  It is now fixed in the source and should
 be deployed in a day or two.
 
 

And now that it's deployed I'm getting a different error:

bzr: ERROR: deb-version not fully expanded: {latest-tag}+daily-2018.
Valid substitutions are: ['{time}', '{date}', '{revno:packaging}',
'{revno}', '{svn-revno:packaging}', '{svn-revno}',
'{git-commit:packaging}', '{git-commit}', '{latest-tag:packaging}',
'{latest-tag}', '{debversion:packaging}', '{debversion}',
'{debupstream-base:packaging}', '{debupstream-base}',
'{debupstream:packaging}', '{debupstream}', '{revdate:packaging}',
'{revdate}', '{revtime:packaging}', '{revtime}']

https://launchpadlibrarian.net/85367867/buildlog.txt.gz

# bzr-builder format 0.3 deb-version {latest-tag}+daily-{date}
lp:wine
nest-part packaging lp:~scottritchie/wine/natty-packaging debian debian

Am I doing something wrong?

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

2011-11-17 Thread Martin Pool
On 18 November 2011 11:23, Scott Ritchie scottritc...@ubuntu.com wrote:
 On 11/15/2011 07:07 PM, Martin Pool wrote:

 And now that it's deployed I'm getting a different error:

 bzr: ERROR: deb-version not fully expanded: {latest-tag}+daily-2018.
 Valid substitutions are: ['{time}', '{date}', '{revno:packaging}',
 '{revno}', '{svn-revno:packaging}', '{svn-revno}',
 '{git-commit:packaging}', '{git-commit}', '{latest-tag:packaging}',
 '{latest-tag}', '{debversion:packaging}', '{debversion}',
 '{debupstream-base:packaging}', '{debupstream-base}',
 '{debupstream:packaging}', '{debupstream}', '{revdate:packaging}',
 '{revdate}', '{revtime:packaging}', '{revtime}']

 https://launchpadlibrarian.net/85367867/buildlog.txt.gz

 # bzr-builder format 0.3 deb-version {latest-tag}+daily-{date}
 lp:wine
 nest-part packaging lp:~scottritchie/wine/natty-packaging debian debian

 Am I doing something wrong?

No, it's another bug, thanks for your persistence.

https://bugs.launchpad.net/launchpad-buildd/+bug/891892

This is now fixed in the source, I'm not sure if it's deployed yet.

-- 
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


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

2011-11-17 Thread Scott Ritchie
On 11/17/2011 07:30 PM, Jelmer Vernooij wrote:
 Am 18/11/11 01:23, schrieb Scott Ritchie:
 On 11/15/2011 07:07 PM, Martin Pool wrote:
 I changed my recipe to use {latest-tag} instead of {debupstream} today,
 requested a rebuild, and got a new build failure:

 https://launchpadlibrarian.net/85208307/buildlog.txt.gz

 https://bugs.launchpad.net/launchpad/+bug/890834

 It seems to be a regression.
 Thanks for reporting this.  It is now fixed in the source and should
 be deployed in a day or two.


 And now that it's deployed I'm getting a different error:

 bzr: ERROR: deb-version not fully expanded: {latest-tag}+daily-2018.
 Valid substitutions are: ['{time}', '{date}', '{revno:packaging}',
 '{revno}', '{svn-revno:packaging}', '{svn-revno}',
 '{git-commit:packaging}', '{git-commit}', '{latest-tag:packaging}',
 '{latest-tag}', '{debversion:packaging}', '{debversion}',
 '{debupstream-base:packaging}', '{debupstream-base}',
 '{debupstream:packaging}', '{debupstream}', '{revdate:packaging}',
 '{revdate}', '{revtime:packaging}', '{revtime}']

 https://launchpadlibrarian.net/85367867/buildlog.txt.gz

 # bzr-builder format 0.3 deb-version {latest-tag}+daily-{date}
 lp:wine
 nest-part packaging lp:~scottritchie/wine/natty-packaging debian debian

 Am I doing something wrong?

 You need recipe format 0.4 (you have 0.3). I've filed
 http://pad.lv/891880 https://bugs.launchpad.net/bzr/+bug/891880 about
 the confusing error message.
 
 Cheers,
 
 Jelmer

This is producing this launchpad error when I try to change the recipe:

Error parsing recipe:1:22: Unknown format: '0.4'.

Another bug? :)

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

2011-11-17 Thread Martin Pool
 This is producing this launchpad error when I try to change the recipe:

 Error parsing recipe:1:22: Unknown format: '0.4'.

 Another bug? :)

i'm guessing that means it's not yet deployed rather than an actual
bug.  I will look in to it.

-- 
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


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

2011-11-17 Thread Martin Pool
On 18 November 2011 14:16, Martin Pool m...@canonical.com wrote:
 This is producing this launchpad error when I try to change the recipe:

 Error parsing recipe:1:22: Unknown format: '0.4'.

 Another bug? :)

 i'm guessing that means it's not yet deployed rather than an actual
 bug.  I will look in to it.

ok, so uranium for example is running  0.7.2+bzr156-0 which ought to
have support for version 0.4 as far as i can see.  please file a bug,
including a link to the recipe and the failed build.

-- 
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


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

2011-11-15 Thread Jelmer Vernooij
Hi Scott,

On Thu 10 Nov 2011 04:32:58 CET, Martin Pool wrote:
 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.
This has now been deployed, so the latest tag variable should now work.

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


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

2011-11-15 Thread Jelmer Vernooij
Am Tue 15 Nov 2011 17:37:17 CET schrieb Scott Ritchie:
 On 11/15/2011 10:58 AM, Jelmer Vernooij wrote:
 Hi Scott,

 On Thu 10 Nov 2011 04:32:58 CET, Martin Pool wrote:
 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.
 This has now been deployed, so the latest tag variable should now work.

 Cheers,

 Jelmer

 If someone could update:
 https://help.launchpad.net/Packaging/SourceBuilds/Recipes  that would be
 fantastic :)
Done.

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


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

2011-11-15 Thread Scott Ritchie
On 11/15/2011 11:54 AM, Jelmer Vernooij wrote:
 Am Tue 15 Nov 2011 17:37:17 CET schrieb Scott Ritchie:
 On 11/15/2011 10:58 AM, Jelmer Vernooij wrote:
 Hi Scott,

 On Thu 10 Nov 2011 04:32:58 CET, Martin Pool wrote:
 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.
 This has now been deployed, so the latest tag variable should now work.

 Cheers,

 Jelmer

 If someone could update:
 https://help.launchpad.net/Packaging/SourceBuilds/Recipes  that would be
 fantastic :)
 Done.
 
 Cheers,
 
 Jelmer
 

I changed my recipe to use {latest-tag} instead of {debupstream} today,
requested a rebuild, and got a new build failure:

https://launchpadlibrarian.net/85208307/buildlog.txt.gz

https://bugs.launchpad.net/launchpad/+bug/890834

It seems to be a regression.

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

2011-11-15 Thread Martin Pool
 I changed my recipe to use {latest-tag} instead of {debupstream} today,
 requested a rebuild, and got a new build failure:

 https://launchpadlibrarian.net/85208307/buildlog.txt.gz

 https://bugs.launchpad.net/launchpad/+bug/890834

 It seems to be a regression.

Thanks for reporting this.  It is now fixed in the source and should
be deployed in a day or two.


-- 
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


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

2011-11-09 Thread Martin Pool
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 scottritc...@ubuntu.com
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: Fwd: Thanks for fixing recipes...and Launchpad Recipe help please

2011-11-09 Thread Jelmer Vernooij

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 Ritchiescottritc...@ubuntu.com
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


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

2011-11-09 Thread Martin Pool
 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