~ubuntu-branches/ubuntu/vivid/ubuntu-core-upgrader/vivid-proposed

Viewing all changes in revision 11.

  • Committer: Package Import Robot
  • Author(s): Michael Vogt, Michael Vogt, James Hunt
  • Date: 2015-03-04 12:33:49 UTC
  • mfrom: (6.1.11 ubuntu-core-upgrader)
  • Revision ID: package-import@ubuntu.com-20150304123349-14srmyhslrdwwvuj
Tags: 0.7.5
[ 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: