lp:~jamesodhunt/ubuntu/vivid/ubuntu-core-upgrader/handle-invalid-removed-file

Created by James Hunt and last modified
Get this branch:
bzr branch lp:~jamesodhunt/ubuntu/vivid/ubuntu-core-upgrader/handle-invalid-removed-file
Only James Hunt can upload to this branch. If you are James Hunt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
James Hunt
Status:
Development

Recent revisions

26. By James Hunt

* Review changes.

25. By James Hunt

* functional/test_upgrader.py:
  - call_upgrader(): Set created objects cache_dir to the root_dir to
    allow the caller to check for deletion.
  - Updated tests which remove files to pass in correct root dir to
    upgrader.
  - test_remove_file(): Fixed incorrect assertion.
* ubuntucoreupgrader/tests/test_upgrader.py:
  - test_empty_removed_file(): New test.
* ubuntucoreupgrader/tests/utils.py:
  - add_to_removed_file(): Call os.path.normpath().
  - setUp(): Create system sub-dir to simplify creating files the
    upgrader can manipulate.
* ubuntucoreupgrader/upgrader.py:
  - Only call get_cache_dir() once in constructor. This saves needless
    calls and makes testing easier.
  - _cmd_update(): Use a single code path regardless of the specified
    root to ensure the tests mirror the real upgrader logic.

24. By James Hunt

functional/test_upgrader.py: Add tests for an invalid removed file.

23. By James Hunt

ubuntucoreupgrader/upgrader.py: Tolerate an invalid 'removed' file
to avoid the upgrade failing attempting to remove '/writable/cache'
(see LP: #1437225).

22. By Michael Vogt

releasing package ubuntu-core-upgrader version 0.7.7

21. By Michael Vogt

fix entry point for s-i 3.0

20. By Michael Vogt

releasing package ubuntu-core-upgrader version 0.7.6

17. By Michael Vogt

releasing package ubuntu-core-upgrader version 0.7.5

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/vivid/ubuntu-core-upgrader
This branch contains Public information 
Everyone can see this information.

Subscribers