summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Unfuzzy the ::host vs host:: doc-only example changemainDavid Kalnischkies2026-06-1010-42/+42
| | | | | | | | | No need to annoy the translators with this change if we can do the flip for them and hide it as the pot wasn't regenerated so far (as the change was not part of a release yet). Gbp-Dch: Ignore Fixes: 080f2c092795382fe77591f8a41e19172ebead26
* Romanian program translation updateRemus-Gabriel Chelu2026-06-101-80/+58
| | | | Closes: #1139336
* Dutch manpages translation updateFrans Spiesschaert2026-06-101-107/+34
| | | | Closes: #1135222
* Dutch program translation updateFrans Spiesschaert2026-06-101-6/+7
| | | | Closes: #1135221
* Portuguese manpages translation updateAmérico Monteiro2026-06-101-259/+184
| | | | Closes: #1133965
* aptwebserver: Refuse client immediately on TLS handshakeDavid Kalnischkies2026-06-103-9/+34
| | | | | | | | | | | We implement a HTTP-only server here (that is wrapped by stunnel for HTTPS support), so if a TLS handshake reaches us it is always wrong and we can just close the connection immediately instead of accepting it and letting the client run into a timeout as we will never receive the message(s) we expect. This happens e.g. with browsers like Firefox that opportunistically try https first (even if you ask for http and specify a port).
* Merge branch 'https' into 'main'Julian Andres Klode2026-05-211-3/+3
|\ | | | | | | | | apt-transport-https(1): document host-specific SSLCert, SSLKey, Verify-Host with host:: instead of ::host See merge request apt-team/apt!579
| * apt-transport-https(1): document host-specific SSLCert, SSLKey, Verify-Host ↵наб2026-05-201-3/+3
|/ | | | | | | | | | | | | | with host:: instead of ::host Empirically, SSLCert and SSLKey need to be specified in the reverse order, and only Acquire::https::deb.beaverlabs.net { SSLCert ".../cert.pem"; SSLKey ".../pkey.pem"; }; , not the documented order, works Sponsored-by: https://beaverlabs.net
* Document and test combined `build-dep --arch-only --indep-only`Julian Andres Klode2026-05-202-0/+19
| | | | | This is a supported configuration to only use bare Build-Depends and Build-Conflicts.
* 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