Merge ~smoser/cloud-init:feature/reproducible-builds into cloud-init:master
| Status: | Merged |
|---|---|
| Approved by: | Scott Moser on 2017-12-11 |
| Approved revision: | 0f5d42898e423f89c9a13fa5a846926c2a719999 |
| Merged at revision: | 8f162b6603aefef400b784ab70dc57080978cffc |
| Proposed branch: | ~smoser/cloud-init:feature/reproducible-builds |
| Merge into: | cloud-init:master |
| Diff against target: |
62 lines (+24/-1) 1 file modified
setup.py (+24/-1) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ryan Harper | 2017-12-08 | Approve on 2017-12-11 | |
| Server Team CI bot | continuous-integration | Approve on 2017-12-08 | |
|
Review via email:
|
|||
Commit Message
setup.py: Do not include rendered files in SOURCES.txt
cloud-init renders template files during its run of setup.py.
Those rendered files were in a temp dir and were making their
way into the SOURCES.txt file.
We do not want to include those, so here we explicitly prune them out.
The issue of SOURCES.txt containing tmp files was reproducible with:
$ rm -Rf cloud_init.egg-info
$ git clean --force
$ rm -Rf ../root.d; python3 setup.py install --root=../root.d
$ grep ^tmp cloud_init.
The SOURCES.txt under ../root.d/ would have tmp files.
| Scott Moser (smoser) wrote : | # |
PASSED: Continuous integration, rev:0f5d42898e4
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild:
https:/
| Ryan Harper (raharper) wrote : | # |
I reproduced the issue with your script, applied the patch from this branch and it's fixed.


originally from /code.launchpad .net/~rjschwei/ cloud-init/ +git/cloud- init/+merge/ 334337
https:/