Merge lp://staging/~gz/juju-release-tools/check_deps_delete into lp://staging/juju-release-tools
Proposed by
Martin Packman
Status: | Merged |
---|---|
Merged at revision: | 179 |
Proposed branch: | lp://staging/~gz/juju-release-tools/check_deps_delete |
Merge into: | lp://staging/juju-release-tools |
Diff against target: |
236 lines (+133/-25) 4 files modified
check_dependencies.py (+19/-8) make-release-tarball.bash (+15/-16) tests/test_check_dependencies.py (+98/-0) tests/test_make_release_notes.py (+1/-1) |
To merge this branch: | bzr merge lp://staging/~gz/juju-release-tools/check_deps_delete |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email:
|
Description of the change
Switch check_dependencies to delete unknown packages in tree
We've had various pain from accidentially pulling in non-dependencies to our tarball due to godeps being recursively promiscuous. Rather than failing out and making the core unlandable, delete any undeclared dependencies that get pulled in, and trust testing to catch deps that were actually required.
At some point this script should be combined with deptree which has a little more structure, and also does some dependencies.tsv parsing and a few other common features.
To post a comment you must log in.
Repushed with fix and tarball script rearrangement.
Rog is also aiming to solve this issue in godeps:
<https:/ /codereview. appspot. com/230460044/>