Last commit made on 2019-04-29
Get this branch:
git clone -b 1.7.y

Branch merges

Branch information


Recent commits

a86f4a3... by Julian Andres Klode

Release 1.7.1

b151adf... by Julian Andres Klode

Update mirror lists

88dfb66... by Julian Andres Klode

apt.Cache: Use explicit, more safe locking in update()

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 e40d0df8c01ff098574252d08b1a6bc7e4f3bedd)

dd20274... by Julian Andres Klode

apt.Cache: Fix (un)locking of archives

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 9de87aea78562aba5eae556ff795ae11e984f7e2)
LP: #1826870

0169023... by Julian Andres Klode

release 1.7.0

034ea98... by Julian Andres Klode

Fix escaping in regular expressions and ignore some pep8 warnings

This makes pep8 work again.

e3d1420... by Julian Andres Klode

Release 1.7.0~rc1

09d2069... by Julian Andres Klode

Release 1.7.0~alpha3

7064f1d... by Julian Andres Klode

Convert apt.Cache.commit and apt_pkg.DepCache.commit to FE lock

This should fix most problems with locking.

bb995b1... by Julian Andres Klode

Introduce frontend locking