lp://staging/ubuntu/quantal-proposed/update-manager

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

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Mature

Recent revisions

397. By Michael Terry

* UpdateManager/Dialogs.py:
  - Allow upgrading to a development release again, by passing arguments
    like -d on to do-release-upgrade. (LP: #1097907)
* tests/test_upgrade.py:
  - Test for above

396. By Michael Terry

* Implementation of "update on start" feature from spec
  https://wiki.ubuntu.com/SoftwareUpdates
* Use a single main window that changes instead of having modal dialogs
* Implement several special-purpose dialogs like "No updates" or
  "Dist upgrade needed" accordingn to the above spec
* Split out release upgrader code and DistUpgrade module into a separate
  source package
* Drop python-update-manager, as it is unused
* debian/tests:
  - Add dep8 tests

395. By Barry Warsaw

[ Brian Murray ]
* DistUpgrade/DistUpgradeApport.py: ensure package install failures are
  tagged dist-upgrade

[ Robert Roth ]
* UpdateManager/UpdateManager.py: check for None type from
  get_last_update_minutes (LP: #1013325)

[ Colin Watson ]
* DistUpgrade/NvidiaDetector, debian/control: Update symlink to Python 3
  version, available as of ubuntu-drivers-common 1:0.2.55.
* debian/rules: Make sure to run setup.py with the default python3 last,
  so that scripts get correct #! lines.

[ Barry Warsaw ]
* pre-build.sh:
  - Add python-gi as an explicit dependency.
  - python3-mock is required.
* setup.py:
  - Fix the installation of the janitor.plugincore package for Python 3.
    (LP: #1013490)
  - Calculate the setup() version number from debian/changelog.
  - Remove package_dir since it's not actually needed.
  - Whitespace normalization.
* tests/Makefile
  - Add sleep between Python 2 and Python 3 invocation of tests under
    xvfb-run, otherwise I get crashes where xvfb doesn't come up.

394. By Colin Watson

[ Colin Watson ]
* Isolate tests from local configuration in
  /etc/update-manager/release-upgrades.d/.
* Use Python attributes rather than GObject.get_data and GObject.set_data,
  which have been removed upstream (LP: #1009859).
* Switch default view class to Gtk3 and replace python-gobject dependency
  with python-gi.
* Port away from old-style apt.Package candidateFoo and installedFoo
  properties, preferring candidate.foo and installed.foo. In a number of
  cases we have to check whether candidate/installed is non-None first.
* Use apt_pkg.version_compare rather than apt_pkg.VersionCompare.
* Use apt_pkg.uri_to_filename rather than apt_pkg.URItoFileName.
* Use apt_pkg.TagFile (and related new-style API) rather than
  apt_pkg.ParseTagFile.
* Use apt_pkg.PackageManager rather than apt_pkg.GetPackageManager.
* Use apt_pkg.Acquire rather than apt_pkg.GetAcquire.
* Use mark_foo/marked_foo rather than markFoo/markedFoo.
* Use apt_pkg.ActionGroup rather than apt_pkg.GetPkgActionGroup.
* Use apt_pkg.ProblemResolver rather than apt_pkg.GetPkgProblemResolver.
* Use apt_pkg.read_config_file rather than apt_pkg.ReadConfigFile.
* Use new spelling of apt_pkg.DepCache methods.
* Rename several local cache methods to PEP-8 style to avoid showing up in
  the output of /usr/share/python-apt/migrate-0.8.py.
* Use apt_pkg.size_to_str rather than apt_pkg.SizeToStr.
* Use apt_pkg.PackageManager.get_archives rather than
  apt_pkg.PackageManager.GetArchives.
* Use apt_pkg.Acquire.fetch_needed rather than
  apt_pkg.Acquire.FetchNeeded.
* Use new spelling of apt_pkg.Package/Version/Dependency methods.
* Use apt_pkg.pkgsystem_lock rather than apt_pkg.PkgSystemLock.
* Use new spelling of apt_pkg dependency parsing methods.
* Use new spelling of apt_pkg.SourceList methods.
* Bump python-apt (build-)dependency to >= 0.8.0.
* Add a scheme for excluding false positives from the pyflakes test, and
  enable it by default.
* Rearrange the OptionParser workaround from 1:0.154.5 to work with Python
  3, using gettext or ugettext as appropriate.
* Always pass bytes to hashlib.md5.update.
* Fix DistUpgradeAptCdrom to account for gzip files being opened in binary
  mode.
* Convert the last use of os.popen to subprocess.check_output, which makes
  it easier to read str rather than bytes. (This requires Python 2.7.)
* Decode bytes read from urlopened file objects.
* UpdateManager/backend/InstallBackendSynaptic.py
  - Keep a reference to the data tuple passed to GObject.child_watch_add
    to avoid attempts to destroy it without a thread context
    (LP: #724687).
  - Open temporary synaptic selections file in text mode.
* Define __bool__ rather than __nonzero__ method in Python 3.
* sort(cmp=) and sorted(cmp=) no longer work in Python 3. Use appropriate
  key= arguments instead.
* Fix ResourceWarning while reading /proc/mounts.
* Make update-manager-kde depend on psmisc, for killall.
* DistUpgrade/DistUpgradeView.py:
  - Use floor division in FuzzyTimeToStr.
* DistUpgrade/DistUpgradeViewText.py:
  - Flush stdout after printing confirmation message, since it doesn't
    have a trailing newline.
* Use the appropriate Unicode gettext methods in both Python 2 and 3, and
  drop lots of Python-3-unfriendly Unicode mangling as a result.
* DistUpgrade/DistUpgradeViewKDE.py:
  - Open the terminal log in binary mode.
* data/do-release-upgrade.8:
  - Provide a more useful NAME section.
* DistUpgrade/DistUpgradeCache.py:
  - Tolerate SyntaxError from attempting to import NvidiaDetector, until
    such time as a complete ubuntu-drivers-common Python 3 port is in the
    archive.
* Switch #! lines over to python3, apart from dist-upgrader which needs to
  stay as Python 2 for a while longer (and have some special arrangement
  for running with Python 3 for upgrades from >= quantal).
* Run tests under both Python 2 and 3.

[ Adam Conrad ]
* Merge branch from Michael Terry to drop auto-upgrade-tester
  from update-manager and move it into its own source package

[ Barry Warsaw ]
* Begin refactoring of Computer Janitor code by renaming and
  re-situating all of it to janitor/plugincore. This will eventually be
  removed from here into its own separate branch.
* Merge the temporary Python 3 sprint branch back into trunk, and close
  the py3 sprint branch.
* Moved UpdateManager/backend and UpdateManager/UnitySupport.py to the
  python*-update-manager packages for apturl.

[ Michael Vogt ]
* UpdateManager/GtkProgress.py:
  - fix python-apt 0.8 API crash

[ Stéphane Graber ]
* Drop fdsend as it's not used and doesn't build with python3.
* Make update-manager-core a binary all packages (everything is python).
* Split update-manager-core into python-update-manager,
  python3-update-manager and update-manager-core.
* Build-depend and depend on python-apt >= 0.8.5~ as we need proper
  python3 support.

[ Steve Langasek ]
* tests/test_country_mirror.py: the test suite shouldn't fail if $LANG
  isn't set in the environment.
* update-manager is now using python3 as an interpreter, so fix these up
  to actually be python3 packages.

393. By Michael Vogt

* DistUpgrade/build-tarball.sh:
  - include "DistUpgrade" symlink in tarball to ensure relative
    imports keep working

392. By Colin Watson

/usr/share/nvidia-common/obsolete was renamed to
/usr/share/ubuntu-drivers-common/obsolete and moved packages. Cope with
this.

391. By Michael Vogt

[ Colin Watson ]
* Use Python 3-style print functions.
* Use "except Exception as e" syntax rather than the old-style "except
  Exception, e".
* Fix a few assorted pyflakes warnings.
* Use string methods rather than functions from the string module.
* Replace most uses of filter and map with list comprehensions or for
  loops.
* Use open() rather than file().
* Use Python 3 renaming of ConfigParser if available.
* Use "raise Exception(value)" syntax rather than the old-style "raise
  Exception, value".
* Remove duplicate imports of os.path; 'import os' is enough.
* Use Python 3 renamings of urllib, urllib2, and urlparse if available.
* Remove all hard tabs from Python code. Python 3 no longer tolerates
  mixing tabs and spaces for indentation.
* Use Python 3 renaming of httplib if available.
* Use email.utils.parsedate (with a DST handling correction) rather than
  the long-deprecated rfc822.parsedate.
* Use the threading module instead of thread (renamed to _thread in Python
  3).
* Tell Python to use absolute imports by default, and annotate cases where
  we need relative imports.
* Update test_proxy to use gsettings and the python-apt 0.8 API.
* Use new-style octal literals.
* Drop use of deprecated statvfs module.
* Use Python 3 renamings of BaseHTTPServer and SocketServer if available.
* Modernise use of unittest methods.
* Use python-apt 0.8 API spellings of apt_pkg.config methods.
* Fix several ResourceWarnings with Python 3.
* Port to python-apt 0.8 progress classes.
* Since python-gnupginterface is not likely to be ported to Python 3, and
  since it's almost just as easy to call gpg directly via subprocess, do
  so.
* Use gettext if ugettext does not exist (as in Python 3).
* Ignore __pycache__ directories, and exclude them from dist-upgrader
  tarballs.
* Fix up module path when running AutoUpgradeTester/auto-install-tester.py
  from the build tree.
* Add a DistUpgrade -> . symlink in DistUpgrade/, to make it possible to
  have compatible imports both in update-manager proper and in
  dist-upgrader tarballs.
* Use only absolute imports in AutoUpgradeTester/auto-install-tester.py
  and DistUpgrade/dist-upgrade.py; these have no __package__ and so cannot
  use relative imports.
* Open subprocesses with universal_newlines=True when expecting to read
  text from them. On Python 2, this only enables \r\n conversion and the
  like, but on Python 3 this also causes subprocess-related file objects
  to read str rather than bytes.
* Use "key in dict" rather than "dict.has_key(key)".
* Pass globals() to __import__ so that relative imports work.

[ Michael Vogt ]
* DistUpgrade/*.py:
  - update for the 12.04 -> 12.10 upgrade
* AutoUpgradeTester/profile/defaults.cfg.d/defaults.cfg:
  - update for precise->quantal
* fix some remaining python-apt 0.8+ API issues

[ Brian Murray ]
* DistUpgrade/DistUpgradeApport.py
  - check errormsg for the English version of the dependency problems error
    first (LP: #999890)

[ Michael Terry ]
* Rename to Software Updater and fix some other strings to match mpt's
  spec.
* lp:~mterry/update-manager/move-changelogs:
  - implement new app layout

390. By Michael Vogt

* DistUpgrade/ReleaseAnnouncement:
  - add "LTS" to the name

389. By Michael Vogt

* debian/control:
  - fix description for update-manager-kde (LP: #984906),
    thanks to Scott Kitterman
* DistUpgrade/DistUpgradeController.py:
  - do not set PYCENTRAL_NO_DPKG_QUERY (LP: #986233)

388. By Barry Warsaw

Improve the error message used when a package cannot be located after
updating, probably caused by an overloaded mirror. (LP: #873468)

Branch metadata

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

Subscribers