Merge ~smoser/cloud-init:feature/reproducible-builds into cloud-init:master
Status: | Merged |
---|---|
Approved by: | Scott Moser |
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 | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+334991@code.launchpad.net |
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.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
originally from /code.launchpad .net/~rjschwei/ cloud-init/ +git/cloud- init/+merge/ 334337
https:/