~ubuntu-branches/ubuntu/maverick/update-manager/maverick-updates

« back to all changes in this revision

Viewing changes to UpdateManager/backend/InstallBackend.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2010-05-31 15:14:22 UTC
  • Revision ID: james.westby@ubuntu.com-20100531151422-786kv380tl20cmqx
Tags: 1:0.141
* UpdateManager/backend/__init__.py:
  - switch to aptdaemon as install backend by default (unless
    the user has UPDATE_MANAGER_FORCE_BACKEND_SYNAPTIC in his
    environment)
  - merged lp:~glatzor/update-manager/ubuntu-glatzor (many thanks!)
* DistUpgrade/DistUpgradeController.py:
 - use pockets from DistUpgrade.cfg instead of hard-coding them
* tests/test_sources_list.py:
  - update tests
* UpdateManager/Core/utils.py:
  - fix url_downloadable and add tests, based on the patch from
    Paulo Albuquerque, many thanks (LP: #396187)
* UpdateManager/UpdateManager.py:
  - fix typo (thanks to seb128)
* DistUpgrade/mirrors.cfg:
  - support upgrades when sources.list uses the new
    mirror://mirrors.ubuntu.com/mirrors.txt 
    uri
* UpdateManager/GtkProgress.py:
  - do not open a cache open progress window, instead show the
    progress inline in the window

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# (c) 2005-2009 Canonical, GPL
2
 
#
3
 
 
4
 
class InstallBackend(object):
5
 
    """The abstract backend that can install/remove packages"""
6
 
    def __init__(self, window_main):
7
 
        """init backend
8
 
        takes a gtk main window as parameter
9
 
        """
10
 
        self.window_main = window_main
11
 
 
12
 
    def commit(self, cache):
13
 
        """Commit the cache changes """
14
 
 
15
 
    def update(self):
16
 
        """Run a update to refresh the package list"""
17
 
 
18