lp://staging/~jamesodhunt/+junk/ubuntu-core-upgrader-tests
- Get this branch:
- bzr branch lp://staging/~jamesodhunt/+junk/ubuntu-core-upgrader-tests
Branch information
- Owner:
- James Hunt
- Status:
- Development
Recent revisions
- 28. By James Hunt
-
!! TEMPORARY COMMIT - tests pass but are incomplete !!
* ubuntucoreupgra
der/tests/ test_upgrader. py: New test suite.
* bin/ubuntu-core-upgrade: Internal restructure to make testing easier.
* man/ubuntu-core-upgrade. 1: Added '--root-dir'.
* ubuntucoreupgrader/parser. py:
- Honour '--tmpdir' now.
- Handle '--root-dir'.
- Made output more consistent. - 27. By James Hunt
-
* ubuntucoreupgra
der/parser. py:
- tar_generator():
- Reworked to make logic clearer.
- Only ignore devices if they already exist.
- _update():
- Strip expected file prefix rather than just blindly removing first
element.
- Ignore relative paths. - 22. By James Hunt
-
* Use python logging module.
* Log details to stderr and syslog for destructive upgrade. - 21. By James Hunt
-
* debian/control:
- Added Depends: on lsof and e2fsprogs (for mklost+found).
* Removed man pages for now non-existent commands.
* man/ubuntu-core-upgrade. 1: New man page.
* bin/ubuntu-core-upgrade:
- Added --check-reboot option.
- Added uid check for privileged operations.
* ubuntucoreupgrader/parser. py:
- get_affected_pids():
- Don't restrict the check to the rootfs only
since the upgrader can apply files to writable areas in some
circumstances.
- Improve checks on open files for consideration.
- Parser(): Added REBOOT_OPEN_FILE reason. - 20. By James Hunt
-
* bin/ubuntu-
core-upgrade: Move arg handling to __main__ to ensure the
command file isn't renamed in dry-run mode.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)