Merge lp:~barry/ubuntu-system-image/lp1558190 into lp:ubuntu-system-image/server
Proposed by
Barry Warsaw
Status: | Merged |
---|---|
Approved by: | Łukasz Zemczak |
Approved revision: | 287 |
Merged at revision: | 285 |
Proposed branch: | lp:~barry/ubuntu-system-image/lp1558190 |
Merge into: | lp:ubuntu-system-image/server |
Diff against target: |
215 lines (+60/-17) 6 files modified
coverage-py35.ini (+7/-0) lib/systemimage/tests/test_generators.py (+2/-1) lib/systemimage/tests/test_static.py (+1/-1) lib/systemimage/tests/test_tools.py (+32/-10) lib/systemimage/tools.py (+8/-4) tox.ini (+10/-1) |
To merge this branch: | bzr merge lp:~barry/ubuntu-system-image/lp1558190 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Łukasz Zemczak (community) | Approve | ||
Review via email: mp+289275@code.launchpad.net |
Commit message
Fixes LP: #1558190 and repairs the test suite.
Description of the change
This fixes LP: #1558190 by adding mtime attributes to the tarball files config.d and the enclosed .ini symlinks.
This branch also repairs the test suite and adds Python 3.5 support so that tox will work on Xenial.
To post a comment you must log in.
Looks good! I personally prefer adding test descriptions in """ """ for each test case, but that's just my style preference. I suppose checking if the date is higher than the epoch is good enough, but we could think of doing some closer checks to like fetching the local time now and looking if the generated tarball has a higher-or-equal one, to check for any future bugs that might make s-i writing some strange timestamps buuut... that's not really a probable case (can't think of a way that could happen). So a big +1 from me.