1. 29 Apr, 2019 4 commits
    • Julian Andres Klode's avatar
      Release 1.1.0~beta1ubuntu0.16.04.4 · 765fcf69
      Julian Andres Klode authored
      765fcf69
    • Julian Andres Klode's avatar
      Update mirror lists · 672bff55
      Julian Andres Klode authored
      672bff55
    • Julian Andres Klode's avatar
      apt.Cache: Use explicit, more safe locking in update() · cb29ee32
      Julian Andres Klode authored
      Instead of using apt_pkg.get_lock, use the wrapped lock
      context manager to make sure the lock is always released
      correctly at the end of the function / with block.
      
      The old code would not release the lock if slist.read_main_list()
      throws an exception.
      
      (cherry picked from commit e40d0df8)
      (cherry picked from commit 88dfb667)
      (cherry picked from commit 327d6c65)
      cb29ee32
    • Julian Andres Klode's avatar
      apt.Cache: Fix (un)locking of archives · 6f34c1bd
      Julian Andres Klode authored
      It seems that for unknown reasons, the fetcher was not
      released after commit() ended, although it should have
      been out of references.
      
      Rewrite the code to use an explicit lock context manager
      instead, this avoids the need of attaching the lock to
      the acquire object and makes the code easier to understand.
      
      We have to wrap apt_pkg.FileLock in another class to raise
      the expected exceptions, and we need to have only one instance
      of that class in the cache, as we might nest locks within each
      other (_fetch_archives called in commit), and FileLock counts
      the number of locks in its instance.
      
      Closes: #922416
      (cherry picked from commit 9de87aea)
      LP: #1826870
      (cherry picked from commit dd202745)
      (cherry picked from commit 9d58eead)
      6f34c1bd
  2. 01 Oct, 2018 7 commits
  3. 10 Jul, 2018 16 commits
  4. 26 Nov, 2015 6 commits
  5. 21 Nov, 2015 1 commit
  6. 20 Nov, 2015 1 commit
  7. 03 Nov, 2015 1 commit
  8. 27 Oct, 2015 2 commits
  9. 20 Oct, 2015 2 commits