Merge lp:~abentley/launchpad/fix-stuck into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Edwin Grubbs | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 11082 | ||||
Proposed branch: | lp:~abentley/launchpad/fix-stuck | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
173 lines (+64/-24) 4 files modified
.bzrignore (+7/-0) lib/canonical/buildd/buildrecipe (+27/-5) lib/canonical/buildd/sourcepackagerecipe.py (+3/-10) lib/canonical/buildd/test_buildd_recipe (+27/-9) |
||||
To merge this branch: | bzr merge lp:~abentley/launchpad/fix-stuck | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edwin Grubbs (community) | Approve | ||
Review via email: mp+28924@code.launchpad.net |
Commit message
Fix bug #598258 by encoding author name.
Description of the change
= Summary =
Fix bug #598258: recipe build hangs (~deejay1/
== Proposed fix ==
Encode the author's name as utf-8.
== Pre-implementation notes ==
None
== Implementation details ==
In order to test this locally, I had to fix the test script test_buildd_recipe.
As well as fixing it, I added support for apt_cacher_ng, to avoid excessive
downloads. I changed it to abort early when it can't proceeed. I updated the
chroot md5sum to the current lucid chroot.
It turns out that, for reasons unknown, pbuilder objects to the Package: line
being missing from the /CurrentlyBuilding file when testing locally. (But not,
it appears, when running on production builders.) So I had to change
CurrentlyBuilding to be created by the buildrecipe script, after the recipe has
been executed, using the package name in debian/changelog (which is
authoritative).
I also added the build results to .bzrignore.
== Tests ==
test_buildd_recipe
== Demo and Q/A ==
Change your display name to include non-ascii characters. Create a recipe and
request a build. It should work completely.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
.bzrignore
lib/canonical
lib/canonical
lib/canonical
Hi Aaron,
This looks good.
merge-approved
-Edwin