summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 3.3.13.3.1Julian Andres Klode2026-05-1749-50/+378
|
* Merge branch 'fix-gcc' into 'main'Julian Andres Klode2026-05-173-8/+7
|\ | | | | | | | | fix gcc warnings and other regressions See merge request apt-team/apt!582
| * Fix regression in dirstreamJulian Andres Klode2026-05-171-1/+0
| | | | | | | | | | | | | | | | We added a close(iFd) after assigning iFd to Fd which is wrong. Regression-Of: e79f9bb22375fd72330b534e17dcd3ceace432e8 Closes: #1136441
| * Fix wrongful std::make_unique conversionJulian Andres Klode2026-05-171-5/+5
| | | | | | | | | | | | | | We inadvertently changed a CreateDynamicMMap call. Fix that function instead. Regression-of: 23dba65f031954df896bc3c6dfb1a9705574886b
| * Fix `noexcept` as pointed out by gccJulian Andres Klode2026-05-171-2/+2
|/
* Merge branch 'lp2150631' into 'main'Julian Andres Klode2026-05-173-0/+64
|\ | | | | | | | | Warn if auth.conf is unreadable (LP: #2150631) See merge request apt-team/apt!580
| * Warn if auth.conf is unreadable (LP: #2150631)Varun Varma2026-05-173-0/+64
|/ | | | LP: #2150631 is a bug where trying to access an authentication-locked repo without root sends a 401 error, which is misleading since the authentication information could be in auth.conf.d, but just inaccessible without root. This adds a warning in that scenario, as well as an integration test.
* Merge branch 'solver3-fix-suggests' into 'main'Julian Andres Klode2026-05-172-5/+10
|\ | | | | | | | | solver3: Follow installed Suggests earlier See merge request apt-team/apt!581
| * solver3: Follow installed Suggests earlierJulian Andres Klode2026-05-172-5/+10
|/ | | | | | | We accidentally followed "keepauto" and friends earlier, breaking `apt why` for suggested packages. Reported-By: uau on IRC
* Release 3.3.03.3.0Julian Andres Klode2026-05-0160-275/+741
|
* Merge branch 'avoid-abi' into 'main'Julian Andres Klode2026-05-012-3/+5
|\ | | | | | | | | Avoid ABI break for transaction cancellation See merge request apt-team/apt!578
| * Avoid ABI break for transaction cancellationJulian Andres Klode2026-05-012-3/+5
|/
* Merge branch 'force-sqv' into 'main'Julian Andres Klode2026-05-011-1/+2
|\ | | | | | | | | Require sqv for builds on supported archs and !pkg.apt.nosqv See merge request apt-team/apt!577
| * Require sqv for builds on supported archs and !pkg.apt.nosqvJulian Andres Klode2026-05-011-1/+2
|/ | | | | | This forces dependency solvers to install sqv, avoiding builds with gpgv instead (which we did intentionally before to hack Ubuntu buildd setup).
* Merge branch 'fix-memleak' into 'main'Julian Andres Klode2026-05-015-1/+10
|\ | | | | | | | | apt-pkg: methods: fixed many minor memleaks See merge request apt-team/apt!568
| * apt-pkg: methods: fixed many minor memleaksHerman Semenoff2026-05-015-1/+10
|/ | | | Static analysis has shown that there are many minor memleaks.
* Merge branch 'main' into 'main'Julian Andres Klode2026-05-011-1/+1
|\ | | | | | | | | Fix bug reference in changelog See merge request apt-team/apt!569
| * Fix bug referenceDaniel Lewart2026-05-011-1/+1
|/
* Merge branch 'apt-update-stuck' into 'main'Julian Andres Klode2026-05-013-2/+24
|\ | | | | | | | | Fix issues that can lead to "apt update" being stuck with outdated lists See merge request apt-team/apt!559
| * pkgAcqMetaBase: Commit InRelease after other transaction itemsSebastian Krzyszkowiak2026-05-011-1/+5
| | | | | | | | | | | | | | | | | | If apt update is interrupted during transaction commit, the system may end up with updated InRelease that does not match the other list files, which can cause apt to believe that the lists are already up-to-date when they are in fact not. Closes: #1078608
| * pkgAcqMetaClearSig: Abort transaction when pkgAcquire::Run has been cancelledSebastian Krzyszkowiak2026-05-013-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | Ongoing Run can be cancelled by returning false from ::Pulse(). In this case the items would still be called pkgAcquire::Item::Finished() as usual, causing pkgAcqMetaClearSig to commit the incomplete transaction anyway as at that point it's still Started and has no errors. Add a pkgAcquire::Item::Cancelled() method and use it in pkgAcqMetaClearSig to abort the transaction. Closes: #1078608
| * acquire-item: Fix up the error message on committing aborted transactionSebastian Krzyszkowiak2026-05-011-1/+1
|/
* Merge branch 'deb822-contact-description' into 'main'Julian Andres Klode2026-05-011-0/+24
|\ | | | | | | | | sources.list(5): Document Contact/Bugs/Description fields See merge request apt-team/apt!572
| * sources.list(5): Document Contact/Bugs/Description fieldsJulian Andres Klode2026-05-011-0/+24
|/ | | | | | | Document Contact, Bugs, and Description fields as the recommended way to inform users about a repository and how to contact upstream. Thanks: josch for the suggestion
* Merge branch 'sl5' into 'main'Julian Andres Klode2026-05-011-1/+1
|\ | | | | | | | | sources.list(5): th[r]ough typo See merge request apt-team/apt!576
| * sources.list(5): th[r]ough typoнаб2026-04-241-1/+1
|/
* Merge branch 'make-unique' into 'main'Julian Andres Klode2026-04-088-15/+15
|\ | | | | | | | | apt: modernize to make_unique C++17 See merge request apt-team/apt!567
| * apt: modernize to make_unique C++17Herman Semenoff2026-04-088-15/+15
|/ | | | | | | References: - https://stackoverflow.com/questions/79700634/pros-and-cons-of-make-unique-vs-direct-constructor-call-in-c17 - https://towardsdev.com/why-std-make-unique-beats-new-in-modern-c-7e2ba653737e - https://www.sololearn.com/en/Discuss/3334779/where-make_unique-is-better-than-unique_ptrraw-pointer
* Merge branch 'push-to-emplace-C++11' into 'main'Julian Andres Klode2026-04-087-27/+27
|\ | | | | | | | | apt: push to emplace C++11 if possible See merge request apt-team/apt!566
| * apt: push to emplace C++11 if possibleHerman Semenoff2026-04-087-27/+27
|/ | | | | | References: - https://www.reddit.com/r/cpp_questions/comments/pm63yx/why_clangtidy_says_use_emplace_back_instead_of/ - https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-emplace.html
* Merge branch 'range-loop-acquire' into 'main'Julian Andres Klode2026-04-081-14/+14
|\ | | | | | | | | apt-pkg/acquire: use range based for loop C++17 See merge request apt-team/apt!564
| * apt-pkg/acquire: use range based for loop C++17Herman Semenoff2026-04-081-14/+14
|/
* Merge branch 'str-to-chars' into 'main'Julian Andres Klode2026-04-0814-28/+28
|\ | | | | | | | | apt: funcs called with a string literal consisting of a single character See merge request apt-team/apt!563
| * apt: funcs called with a string literal consisting of a single characterHerman Semenoff2026-04-0814-28/+28
|/ | | | | | | | Benchmark: - https://stackoverflow.com/questions/62058906/why-my-performance-benchmark-gives-me-wrong-results References: - https://clang.llvm.org/extra/clang-tidy/checks/performance/prefer-single-char-overloads.html
* Merge branch 'no-basic-string-view' into 'main'Julian Andres Klode2026-04-071-2/+2
|\ | | | | | | | | hashes: Use std::span instead of std::basic_string_view See merge request apt-team/apt!562
| * hashes: Use std::span instead of std::basic_string_viewJulian Andres Klode2026-04-071-2/+2
|/ | | | | | | | | std::basic_string_view should not be initialized locally, only in the std library. Replace it with a simple span instead. This should fix compilation with LLVM 18+. Supersedes: https://salsa.debian.org/apt-team/apt/-/merge_requests/511
* Merge branch 'zheyushen/predepends-fix' into 'main'Julian Andres Klode2026-04-072-3/+5
|\ | | | | | | | | fix apt patterns parsing bug for pre-depends See merge request apt-team/apt!549
| * fix apt patterns parsing bug for pre-dependsZheyu Shen2026-04-072-3/+5
|/
* Merge branch 'drop-apt-warning' into 'main'Julian Andres Klode2026-04-076-28/+0
|\ | | | | | | | | Drop warning about unstable CLI interface See merge request apt-team/apt!556
| * Drop warning about unstable CLI interfaceJulian Andres Klode2026-04-076-28/+0
|/ | | | | | | | A specific CLI version can now be requested using the --cli-version flag, and old versions can be deprecated on a reasonable cadence. Therefore, a warning is no longer necessary. Gbp-Dch: full
* Merge branch 'history-command-list-width-scaling' into 'main'Julian Andres Klode2026-04-072-53/+136
|\ | | | | | | | | Scale `apt history-list` to the screen width See merge request apt-team/apt!555
| * Change GetKindString to not use .data() callSimon Johnsson2026-04-071-1/+1
| |
| * Optimize ShortenCommandSimon Johnsson2026-04-071-9/+13
| |
| * Scale history-list to screen widthSimon Johnsson2026-04-072-46/+125
|/
* Merge branch 'phased-update-probability' into 'main'Julian Andres Klode2026-04-072-4/+4
|\ | | | | | | | | Fix Phased-Update-Percentage probability mistake See merge request apt-team/apt!560
| * Fix Phased-Update-Percentage probability mistakeAnders Kaseorg2026-04-072-4/+4
|/ | | | | | | | | | | | | | | | | | Previously a package with Phased-Update-Percentage: n would be updated with probability (n + 1)/101 instead of n/100. For example, a package with Phased-Update-Percentage: 0 could still be updated even though it shouldn’t, and a package with Phased-Update-Percentage: 1 would be installed almost twice as much as it should be. Correct the erroneous math. Note that libstdc++ implements std::uniform_int_distribution in such a way that for a given seed, changing dist(0, 100) to dist(0, 99) has the effect of decreasing each sample by 0 or 1; therefore, this patch will not randomly trigger extra phased updates that had previously been excluded. Fixes: c5bc86d45e003905ef411146e66b414d26fb1ff8 Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* Release 3.2.03.2.0Julian Andres Klode2026-04-0713-14/+271
|
* Do not use unexpected operator in test-apt-get-satisfyDavid Kalnischkies2026-03-191-1/+1
| | | | | | | | | | | | | Observing a testrun carefully included: ./test-apt-get-satisfy: 101: [: unexpected operator Yes, == is not a valid operator here, should just be =. The result is that we unconditionally skip a single check, hardly so much the end of the world that we need to tell everyone as no tests were failed, but no good anyhow. Fixes: 5e8e69cdd6b512480f3208298725e1e44c80f06e Gbp-Dch: Ignore
* Portuguese program translation updateAmérico Monteiro2026-03-191-670/+670
| | | | Closes: #1127086
* Portuguese manpages translation updateAmérico Monteiro2026-03-191-4/+116
| | | | Closes: #1119827