ubuntu-core-upgrader (0.7) vivid; urgency=medium

  * Move this from the ppa to the main archive.
  * Add Vcs-Bzr.

  [ James Hunt ]
  * ubuntucoreupgrader/upgrader.py:
    - tar_generator(): Permit unpack of assets/ directory to allow snappy to
      install them (and clean up).

 -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 20 Feb 2015 17:00:34 -0800

ubuntu-core-upgrader (0.6~ppa24) vivid; urgency=low

  * support new "config.machine_readable" option

 -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 20 Feb 2015 10:00:25 +0100

ubuntu-core-upgrader (0.6~ppa23) vivid; urgency=low

  * fix ApplyUpgrades.UPGRADER type

 -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 17 Feb 2015 16:16:47 +0100

ubuntu-core-upgrader (0.6~ppa22) vivid; urgency=low

  * add missing ubuntucoreupgrader/__init__.py
  * add build-depends on system-image-dbus for the tests

 -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 17 Feb 2015 15:45:09 +0100

ubuntu-core-upgrader (0.6~ppa21) vivid; urgency=low

  * pep8

 -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 17 Feb 2015 14:49:54 +0100

ubuntu-core-upgrader (0.6~ppa20) vivid; urgency=low

  * ubuntucoreupgrader/apply.py, ubuntucoreupgrader/tests/test_apply.py:
    - raise ApplyUpgradeError exception if the upgrader fails to apply
      to apply the upgrade and add test

 -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 17 Feb 2015 14:42:21 +0100

ubuntu-core-upgrader (0.6~ppa19) vivid; urgency=medium

  * ubuntucoreupgrader/upgrader.py:
    - fsck(): exit on failure rather than relying on the caller to be
      consistent with other critical operations.
    - __init__(): Add mountpoint stat that used to be called by
      mount_rootfs().
    - prepare(): Do not make mount private for dual partition systems: it
      isn't necessary and results in EBUSY when trying to fsck "other".
    - _cmd_mount(), _cmd_unmount(): Toggle "other" mount options rather
      than mounting and unmounting since other is now permanantly mounted
      read-only by default.
    - show_other_partition(): Remove now-redundant mount calls.

 -- James Hunt <james.hunt@ubuntu.com>  Thu, 29 Jan 2015 17:49:21 +0000

ubuntu-core-upgrader (0.6~ppa18) vivid; urgency=medium

  [ James Hunt ]
  * Preliminary A/B partition support.
  * Use /writable rather than /userdata, and new FS labels.
  * fsck fixes.
  * Don't automatically reboot after an A/B update.
  * Update apply.py to use /writable.
  * Removed all in-place debug.
  * Sync current rootfs to other if the latter is empty.
  * Fix initialisation error.
  * Rename parser to upgrader.
  * Ignore broken sym-links when checking for required in-place upgrade
    reboot.

  [ Michael Vogt ]
  * send pulse progress over dbus while applying the update
  * remove target file before unpacking to workaround python tarfile
    bug #23228

 -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 13 Jan 2015 10:13:24 +0100

ubuntu-core-upgrader (0.5) vivid; urgency=low

  * do not fail hard on umount --lazy error
  * support output of systemctrl status for both systemd 209 and 215

 -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 18 Nov 2014 13:37:17 +0100

ubuntu-core-upgrader (0.4) vivid; urgency=medium

  * bin/ubuntu-core-upgrade:
    - Internal restructure to make testing easier.
    - Added '--root-dir' and '--clean-only' options.
  * man/ubuntu-core-upgrade.1: Added '--root-dir' and '--clean-only'.
  * ubuntucoreupgrader/parser.py:
    - get_userdata_mounts(): Reverse sort to handle child mounts first.
    - get_affected_pids(): Discard stderr to ignore harmless warnings
      which disrupt parsing.
    - Honour '--tmpdir' now.
    - Handle '--root-dir'.
    - Made output more consistent.

 -- James Hunt <james.hunt@ubuntu.com>  Mon, 17 Nov 2014 09:08:49 +0000

ubuntu-core-upgrader (0.3) vivid; urgency=medium

  * Added '--no-reboot' and '--reboot-delay' options.
  * ubuntucoreupgrader/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.

 -- James Hunt <james.hunt@ubuntu.com>  Mon, 03 Nov 2014 14:03:29 +0000

ubuntu-core-upgrader (0.2) vivid; urgency=medium

  * Handle busy inodes by restarting services where possible and
    triggering a reboot as a last resort.
  * debian/control:
    - Added Depends: on lsof and e2fsprogs (for mklost+found).
  * README.rst: Outline of design and upgrade process.
  * Add --dry-run option.
  * 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.
  * Use python logging module.
  * Log details to stderr and syslog for destructive upgrade.

 -- James Hunt <james.hunt@ubuntu.com>  Mon, 27 Oct 2014 16:03:42 +0000

ubuntu-core-upgrader (0.1) utopic; urgency=medium

  * Initial release (LP: #1380674).

 -- James Hunt <james.hunt@ubuntu.com>  Wed, 15 Oct 2014 09:05:18 +0100
