Merge lp://staging/~gz/juju-release-tools/apply_patches into lp://staging/juju-release-tools

Proposed by Martin Packman
Status: Merged
Approved by: Martin Packman
Approved revision: 320
Merged at revision: 319
Proposed branch: lp://staging/~gz/juju-release-tools/apply_patches
Merge into: lp://staging/juju-release-tools
Diff against target: 78 lines (+63/-0)
2 files modified
apply_patches.py (+58/-0)
make-release-tarball.bash (+5/-0)
To merge this branch: bzr merge lp://staging/~gz/juju-release-tools/apply_patches
Reviewer Review Type Date Requested Status
Curtis Hovey (community) code Approve
Review via email: mp+300218@code.staging.launchpad.net

Commit message

Add patching mechanism to tarball creation process for hotfixes

Description of the change

Address the issue we've faced over trying to release a fix for bug 1593828 along with beta12 by allowing juju to give a set of patches that can be applied to the whole $GOPATH/src tree before tarball creation. This allows a backdoor fix mechanism for upstream dependency issues without going all the way to full vendoring.

To post a comment you must log in.
320. By Martin Packman

Remove unused shutil import

Revision history for this message
Curtis Hovey (sinzui) wrote :

Thank you.

review: Approve (code)
321. By Martin Packman

Only attempt to apply patches if the directory exists

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches