Launchpad doesn't use specified revision of nest-part branch in recipes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builder |
Triaged
|
Medium
|
Unassigned | ||
launchpad-buildd |
Triaged
|
Low
|
Unassigned |
Bug Description
I need to build package using specified revision of nest-part branch, see:
https:/
Firstly I've created this recipe:
nest-part packaging lp:~alexmurray/indicator-sensors/packaging debian debian revno:9
But it seems this recipe simply uses latest brach of lp:~alexmurray/indicator-sensors/packaging instead of revision 9 (which has correct build dependencies - libnotify4-dev), so, I got a build error, see https:/
I've read https:/
Aaron Bentley (abentley) said in Question #185183 that I should report a bug :)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: recipe |
Changed in bzr-builder: | |
status: | New → Triaged |
importance: | Undecided → Medium |
affects: | launchpad → launchpad-buildd |
Changed in bzr-builder: | |
status: | Triaged → Confirmed |
status: | Confirmed → Invalid |
status: | Invalid → Opinion |
Changed in bzr-builder: | |
status: | Opinion → Triaged |
It looks like the as_text() method on nest-part is broken.
This patch should fix it:
=== modified file 'recipe.py'
target_ revid_part = " %s%s" % (
target_ subdir, revid_part)
target_ revid_part = ""
--- recipe.py 2011-12-15 17:26:04 +0000
+++ recipe.py 2014-08-05 00:54:25 +0000
@@ -750,7 +750,7 @@
elif self.target_subdir is not None:
- target_revid_part = " %s" % self.target_subdir
+ target_revid_part = revid_part
else:
return "%s %s %s %s%s" % (
Though it obviously also needs test, etc.