Created by Ubuntu Package Importer and last modified
Get this branch:
bzr branch lp:ubuntu/vivid-proposed/ubuntu-core-upgrader
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Ubuntu branches
Review team:
Ubuntu Development Team

Recent revisions

16. By James Hunt on 2015-04-13

* ubuntucoreupgrader/upgrader.py: _cmd_mount(): Don't sync partitions
  for a full (non-delta) update (LP: #1444500).
* ubuntucoreupgrader/tests/test_upgrader.py:
  - touch_file(): Fix to make file of size 0, not 1.
  - test_marker_file(): Removed.
  - test_other_considered_empty(): New test.
* ubuntucoreupgrader/tests/utils.py:
  - append_file(): Create zero-length file if contents are None.
* ubuntucoreupgrader/upgrader.py:
  - Replaced marker file logic by tighter scoped strategy where the s-i
    config file is pre-created with zero size prior to performing an s-i
    update operation. This strategy allows a failed update to be identified
    from either a missing s-i config file, or a zero-length one.

15. By James Hunt on 2015-04-10

mkfs(): Fixed mkfs command line (missing comma).

14. By James Hunt on 2015-04-07

* Implement s-i format command to handle full-image (non-delta) updates
* ubuntucoreupgrader/upgrader.py: Tolerate an invalid 'removed' file
  to avoid the upgrade failing attempting to remove '/writable/cache'
  (see LP: #1437225).
* functional/test_upgrader.py: Add tests for an invalid removed file.

13. By Michael Vogt on 2015-03-13

fix entry point for s-i 3.0

12. By Michael Vogt on 2015-03-10

[ James Hunt]
* ubuntucoreupgrader/upgrader.py:
  - get_file_contents(): Fix to avoid leaking the fd.
* functional/test_upgrader.py: Basic set of functional tests.

[ Michael Vogt ]
* cleanup and removal of unused code

11. By Michael Vogt on 2015-03-04

[ Michael Vogt ]
* ubuntucoreupgrader/apply.py:
  - fix missing timeout in select() call
  - write spinner progress unbuffered
  - remove dbus progress

[ James Hunt ]
* ubuntucoreupgrader/tests/test_upgrader.py:
  - More tar_generator() tests.
  - Added first Upgrader() object test.
* ubuntucoreupgrader/upgrader.py:
  - parse_args():
    - Moved from bin/ubuntu-core-upgrade to simplify testing.
    - Now takes an args parameter.
  - tar_generator():
     - Simplified logic to determine if an unpack should occur.
     - Fix to allow '--root-dir' to work again.
     - Fix bug where path not set (only affecting tests).
  - Upgrader:__init__():
    - Assert root_dir option set.
    - Moved some logic to prepare() and restart_associated_services() to
      simplify testing.

10. By Michael Vogt on 2015-03-03

* ubuntucoreupgrader/tests/test_upgrader.py:
  - add regression test for unpacking of assets/
* ubuntucoreupgrader/upgrader.py:
  - unpack "assets/" and "hardware.yaml" to ensure that snappy
    can install new kernels/initrd/dtb files

9. By Michael Vogt on 2015-02-25

fix config.machine_readable to be real json

8. By Michael Vogt on 2015-02-25

pep8 fix

7. By Michael Vogt on 2015-02-24

improve logging if ubuntu-core-upgrader fails and provide
stdout/stderr in the exception

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.