Created by James Hunt on 2015-03-27 and last modified on 2015-04-08
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

James Hunt

Recent revisions

26. By James Hunt on 2015-04-08

* Review changes.

25. By James Hunt on 2015-04-07

* 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
  - 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 on 2015-03-27

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

23. By James Hunt on 2015-03-27

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 on 2015-03-13

releasing package ubuntu-core-upgrader version 0.7.7

21. By Michael Vogt on 2015-03-13

fix entry point for s-i 3.0

20. By Michael Vogt on 2015-03-10

releasing package ubuntu-core-upgrader version 0.7.6

17. By Michael Vogt on 2015-03-04

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:
This branch contains Public information 
Everyone can see this information.