Merge lp:~james-w/pkgme/careful-tar-exclude into lp:pkgme
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | James Westby |
Approved revision: | 151 |
Merged at revision: | 149 |
Proposed branch: | lp:~james-w/pkgme/careful-tar-exclude |
Merge into: | lp:pkgme |
Diff against target: |
156 lines (+58/-13) 3 files modified
pkgme/debuild.py (+12/-11) pkgme/tests/__init__.py (+1/-0) pkgme/tests/test_debuild.py (+45/-2) |
To merge this branch: | bzr merge lp:~james-w/pkgme/careful-tar-exclude |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt (community) | Approve | ||
Review via email: mp+126327@code.launchpad.net |
Commit message
Be more careful in excluding/
Only exclude ./debian in case the application contains a 'something/debian'
dir.
Don't transform symlink targets. If they are absolute they shouldn't be
changed. If they are relative and contain the current dir name then they
are broken anyway.
Description of the change
Hi,
This fixes the two (I think) causes of the "unrepresentable changes to source"
errors we are seeing. Both are mistakes in the tar command we use to create
the tarball that change the contents.
Thanks,
James
To post a comment you must log in.
This is a drive-by review. The fix and the tests look fine!
The only remark is that it took me some seconds to figure out what:
def get_all_ paths(path) :
"""Get all the paths that are needed for `path`.
is doing. Maybe something like:
"""Get all the paths that are needed to build/mkdir `path`.
"