-
2f564b8...
by
Dave Jones
on 2019-12-10
-
Don't duplicate disabled sources during add()
When calling SourcesList.add don't duplicate disabled sources. Continue
to permit enabling disabled sources during addition, but not disabling
enabled sources.
Tests are included for both duplicate suppression and the enabling
functionality (which didn't seem to be covered by the existing tests),
as well as tests for pos.
LP: #1311056
-
aafe883...
by
Marc Deslauriers
on 2020-01-22
-
Import patches-unapplied version 1.6.5ubuntu0.2 to ubuntu/bionic-security
Imported using git-ubuntu import.
Changelog parent: 33b582e3e562924ddb7b327b383526f253662748
New changelog entries:
* SECURITY REGRESSION: crash with ubuntu-release-upgrader (LP: #1860606)
- apt/cache.py: make allow_unauthenticated argument to
fetch_archives() optional.
-
33b582e...
by
Julian Andres Klode
on 2020-01-15
-
Import patches-unapplied version 1.6.5ubuntu0.1 to ubuntu/bionic-security
Imported using git-ubuntu import.
Changelog parent: c18c5991efa8eb3c01da95c5c963134c8ab7b09e
New changelog entries:
* SECURITY UPDATE: Check that repository is trusted before downloading
files from it (LP: #1858973)
- apt/cache.py: Add checks to fetch_archives() and commit()
- apt/package.py: Add checks to fetch_binary() and fetch_source()
- CVE-2019-15796
* SECURITY UPDATE: Do not use MD5 for verifying downloadeds
(Closes: #944696) (#LP: #1858972)
- apt/package.py: Use all hashes when fetching packages, and
check that we have trusted hashes when downloading
- CVE-2019-15795
* To work around the new checks, the parameter allow_unauthenticated=True
can be passed to the functions. It defaults to the value of the
APT::Get::AllowUnauthenticated option.
- Bump Breaks aptdaemon (<< 1.1.1+bzr982-0ubuntu21.2), as it will have
to set that parameter after having done validation.
* Automatic changes and fixes for external regressions:
- Adjustments to test suite and CI to fix CI regressions
- Automatic mirror list update
-
c18c599...
by
Julian Andres Klode
on 2019-04-29
-
Import patches-unapplied version 1.6.4 to ubuntu/bionic-proposed
Imported using git-ubuntu import.
Changelog parent: ed19ca7ef3e1382f89fec4c26e09d15f920b7617
New changelog entries:
* apt.Cache: Fix (un)locking of archives (Closes: #922416) (LP: #1826870)
* apt.Cache: Use explicit, more safe locking in update()
* Update mirror lists
-
ed19ca7...
by
Julian Andres Klode
on 2018-10-01
-
Import patches-unapplied version 1.6.3 to ubuntu/bionic-proposed
Imported using git-ubuntu import.
Changelog parent: dcf925fb2992477efddbad94853abd788c094659
New changelog entries:
* Frontend locking and related locking improvements (LP: #1795407)
- apt.Cache: Keep / Re-establish the system lock in commit()
- apt.Cache: Keep archive locked during commit()/ in fetch_archives()
- apt.Cache: Reinstate locks in a finally / run dpkg inside try
- Introduce frontend locking
- Convert apt.Cache.commit and apt_pkg.DepCache.commit to FE lock
* Other changes to make that work:
- Cherry-pick apt_pkg.Error type hint from 1.7
- travis CI: bionic only; stretch does not have FE locking nor PPA
* As always, updated mirror lists
-
dcf925f...
by
Julian Andres Klode
on 2018-07-09
-
Import patches-unapplied version 1.6.2 to debian/sid
Imported using git-ubuntu import.
Changelog parent: f2178474a96ee25fd51e8e60ed7779b648ee3c7f
New changelog entries:
* Introduce gitlab ci
* Document whatsnew in 1.6.y
* Add more extensive test cases for cache remapping
* Do not override __hash__ in apt.package.Package (LP: #1780099)
* debian/python-apt.docs: README is README.md since some time
* debian/control: Point to salsa instead of anonscm
-
f217847...
by
Julian Andres Klode
on 2018-06-06
-
Import patches-unapplied version 1.6.1 to debian/sid
Imported using git-ubuntu import.
Changelog parent: 0ec71712441d83b5212655f560eb3d794efe77de
New changelog entries:
* apt: Fix typing errors to get CI pass again
* apt.Cache: Remap objects when reopening cache (LP: #1773316)
* apt_pkg.DepCache: Raise CacheMismatchError if argument belongs to diff. cache
* Set branch to 1.6.y and adjust travis CI to run against stable releases
* travis CI / Dockerfile: Pin mypy to 0.600 to prevent future changes breaking CI
* utils/get_debian_mirrors.py: Get data from salsa
-
0ec7171...
by
Julian Andres Klode
on 2018-04-18
-
Import patches-unapplied version 1.6.0 to debian/sid
Imported using git-ubuntu import.
Changelog parent: 9f74ce49295e36ed5944ab80035187b296f7a028
New changelog entries:
* Final release, no further changes.
-
9f74ce4...
by
Julian Andres Klode
on 2018-04-13
-
Import patches-unapplied version 1.6.0~rc3 to debian/sid
Imported using git-ubuntu import.
Changelog parent: f1ae55fd7d9443eedf0149cbbbf17109416e43c3
New changelog entries:
* Revert change to make apt.Cache subclass of dict
* Fix get_changelog() to correctly decode non-unicode changelogs
* Try to work around memory corruption in PackageRecords.*_hash
* apt/auth.py: Protect against race with gpg when removing tmpdir
(Closes: #871585)
* Document Architecture: all handling in Package.{fullname,architecture()}
(Closes: #863193)
* python/tag.cc: Fix invalid read in TagFileNext
* Raise ValueError if objects passed to DepCache are from different cache
(LP: #1737441)
* DepCache: Check that candidate we are setting belongs to package
* debian/gbp.conf: Default branch is master now
-
f1ae55f...
by
Julian Andres Klode
on 2018-03-23
-
Import patches-unapplied version 1.6.0~rc2 to debian/sid
Imported using git-ubuntu import.
Changelog parent: 3f54f63a186a5b3ba51f696aa7bbff3fc0f1b482
New changelog entries:
* Add some weird python3-distutils build-depends (Closes: #893837)
* Document apt_pkg.SourceRecordsFile