1. 11 Mar, 2019 4 commits
    • Julian Andres Klode's avatar
      Release 1.8.4 · 745ce7ab
      Julian Andres Klode authored
      745ce7ab
    • Julian Andres Klode's avatar
      Update mirror lists · 58d9ae3b
      Julian Andres Klode authored
      58d9ae3b
    • Julian Andres Klode's avatar
      apt.Cache: Use explicit, more safe locking in update() · e40d0df8
      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.
      e40d0df8
    • Julian Andres Klode's avatar
      apt.Cache: Fix (un)locking of archives · 9de87aea
      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
      9de87aea
  2. 04 Feb, 2019 2 commits
  3. 01 Feb, 2019 3 commits
  4. 25 Jan, 2019 4 commits
  5. 18 Jan, 2019 1 commit
  6. 24 Dec, 2018 2 commits
  7. 23 Dec, 2018 1 commit
  8. 22 Dec, 2018 1 commit
  9. 26 Nov, 2018 2 commits
  10. 30 Oct, 2018 2 commits
  11. 10 Oct, 2018 2 commits
  12. 20 Sep, 2018 1 commit
  13. 29 Aug, 2018 1 commit
  14. 08 Aug, 2018 2 commits
  15. 04 Aug, 2018 3 commits
  16. 11 Jul, 2018 4 commits
  17. 09 Jul, 2018 5 commits