1. 29 Apr, 2019 4 commits
    • Julian Andres Klode's avatar
      Release 1.7.1 · a86f4a3f
      Julian Andres Klode authored
      a86f4a3f
    • Julian Andres Klode's avatar
      Update mirror lists · b151adf4
      Julian Andres Klode authored
      b151adf4
    • Julian Andres Klode's avatar
      apt.Cache: Use explicit, more safe locking in update() · 88dfb667
      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)
      88dfb667
    • Julian Andres Klode's avatar
      apt.Cache: Fix (un)locking of archives · dd202745
      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
      dd202745
  2. 10 Oct, 2018 2 commits
  3. 20 Sep, 2018 1 commit
  4. 29 Aug, 2018 1 commit
  5. 08 Aug, 2018 2 commits
  6. 04 Aug, 2018 3 commits
  7. 11 Jul, 2018 4 commits
  8. 09 Jul, 2018 5 commits
  9. 06 Jul, 2018 3 commits
  10. 05 Jul, 2018 2 commits
  11. 25 Jun, 2018 2 commits
  12. 22 Jun, 2018 1 commit
  13. 19 Jun, 2018 7 commits
  14. 14 Jun, 2018 1 commit
  15. 06 Jun, 2018 2 commits