summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.3.152.3.15Julian Andres Klode2022-02-015-6/+29
|
* Merge branch 'bash-completion-tweaks-apt-install' into 'main'Julian Andres Klode2022-02-011-9/+8
|\ | | | | | | | | Small tweaks for bash-completion after `apt install` See merge request apt-team/apt!216
| * Don’t fail bash-completion for `apt` when the nounset option is setJörn-Thorben Hinz2022-02-011-6/+4
| | | | | | | | | | Following a practice from upstream bash-completion. See for example https://github.com/scop/bash-completion/commit/b807460140aa6dda09eb2af2ecf3afa1971c84c4
| * Start bash-completing .deb file paths after the first . passed in anJörn-Thorben Hinz2022-01-261-1/+1
| | | | | | | | | | | | | | argument to `apt install` This will start by suggesting ./ and ../ which are both fine path segments for `apt install` to handle later.
| * Bash-complete either package name or .deb filename for `apt install`Jörn-Thorben Hinz2022-01-261-2/+3
| | | | | | | | | | Should provide a tiny speed-up when someone already started typing either one in the current argument.
| * Also bash-complete .deb filenames after `apt install` for paths starting with ~Jörn-Thorben Hinz2022-01-261-1/+1
| | | | | | | | | | | | At the time the bash-completion runs, the ~ (or even ~user) is not yet expanded to /home/user, so it did not match the existing comparison with `/*`.
* | Merge branch 'fix-bash-compl-cmd-comparison' into 'main'Julian Andres Klode2022-02-011-1/+1
|\ \ | | | | | | | | | | | | bash-completion: Don’t misidentify short options as commands to `apt` See merge request apt-team/apt!211
| * | bash-completion: Don’t misidentify short options as commands to `apt`Jörn-Thorben Hinz2022-02-011-1/+1
| | | | | | | | | | | | | | | | | | Previously the comparison would match `-s` with `edit-sources`, `-d` with `build-dep` etc. and the real commands would not get suggested after some of the short options.
* | | Merge branch 'bash-completion-build-dep-dsc-985899' into 'main'Julian Andres Klode2022-02-011-3/+7
|\ \ \ | |_|/ |/| | | | | | | | Bash-completion of .dsc filenames for `apt build-dep` (closes: #985899) See merge request apt-team/apt!215
| * | Provide bash-completion of .dsc filenames for `apt build-dep`Jörn-Thorben Hinz2022-01-261-3/+7
|/ / | | | | | | Closes: #985899
* | Merge branch 'chore/already-not-held-spelling' into 'main'Julian Andres Klode2022-01-2445-45/+45
|\ \ | | | | | | | | | | | | Fix "was already not hold" message grammar See merge request apt-team/apt!213
| * | Fix "was already not hold" message grammarVille Skyttä2022-01-2445-45/+45
|/ /
* | Merge branch 'pu/show-full' into 'main'Julian Andres Klode2022-01-213-8/+25
|\ \ | |/ |/| | | | | Add a --full mode to apt show See merge request apt-team/apt!212
| * Add a --full mode to apt showJulian Andres Klode2022-01-213-8/+25
|/ | | | | This adds back the missing fields that we do not show any other way.
* Merge branch 'fix-size-parsing-1004064' into 'main'Julian Andres Klode2022-01-201-1/+1
|\ | | | | | | | | Fix incorrect type when parsing Size (int to unsigned long long) See merge request apt-team/apt!210
| * Fix incorrect type when parsing Size (int to unsigned long long)Arnaud Rebillout2022-01-201-1/+1
|/ | | | | | | | | | Should have been done in 650faab016 (2011). At this time, the type of the Size parameter in the function prototype was changed to unsigned long long, however FindI was NOT changed to FindULL: git diff 650faab016^..650faab016 -- apt-pkg/indexcopy.cc Closes: #1004064
* Release 2.3.142.3.14Julian Andres Klode2022-01-0616-232/+707
|
* Introduce and use isalpha_ascii() in debversion rather than isalpha()Julian Andres Klode2022-01-062-1/+16
| | | | | Avoid misclassifying additional alphabetical characters from certain locales as alpha and then sort them by ASCII...
* Merge branch 'main' into 'main'Julian Andres Klode2022-01-062-10/+32
|\ | | | | | | | | Fix incorrect SIGWINCH handling See merge request apt-team/apt!204
| * Fix incorrect SIGWINCH handlingZhang Boyang2021-12-192-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, status line is redrawn in signal handler. However, the drawing code make heavy use of std::string and other syscalls, which may not be async-signal-safe. This will cause deadlock, overwritten errno, even silent memory corruption. This patch implemented Anders Kaseorg's idea. The signal handler will only set a flag, which is async-signal-safe, and actual redrawing will be deferred to PackageManagerFancy::Pulse(). Note that the virtual function PackageManagerFancy::Pulse() already exists in base class but newly overridden in PackageManagerFancy, so the ABI compatibility should be OK. However, existing compiled programs may not aware of this new function and continue to use old Pulse() if compiler had done heavy optimization. Fortunately this is not too harmful because this will only cause status line not redrawing, which may consider acceptable. Closes: #852757
* | Merge branch 'spelling' into 'main'Julian Andres Klode2022-01-0514-44/+44
|\ \ | | | | | | | | | | | | Spelling fixes See merge request apt-team/apt!194
| * | Spelling fixesVille Skyttä2021-11-2714-44/+44
| |/
* | Merge branch 'cmp-short-options' into 'main'Julian Andres Klode2022-01-051-3/+3
|\ \ | | | | | | | | | | | | Use short options for cmp See merge request apt-team/apt!203
| * | Use short options for cmpWalter Lozano2021-11-261-3/+3
| |/ | | | | | | | | | | | | | | In order to be consistent with other uses of cmp and to improve compatiblity with other implementations, like busybox one, change long options to short ones. Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
* | Merge branch 'preferences_package_field' into 'main'Julian Andres Klode2022-01-052-9/+80
|\ \ | | | | | | | | | | | | Improve documentation and tests for the Package pinning field See merge request apt-team/apt!207
| * | doc/apt_preferences.5.xml: document Package field syntaxJohannes Schauer Marin Rodrigues2022-01-051-9/+24
| | |
| * | test/integration/test-policy-pinning: test listing multiple package in ↵Johannes Schauer Marin Rodrigues2022-01-031-0/+56
|/ / | | | | | | Package: field
* | Dutch program translation updateFrans Spiesschaert2021-12-291-19/+4
| | | | | | | | Closes: #1002476
* | Merge branch 'bug-1002646' into 'main'Julian Andres Klode2021-12-264-0/+25
|\ \ | |/ |/| | | | | add pattern to select packages by codename (closes: #1002646) See merge request apt-team/apt!205
| * add pattern to select packages by codename (closes: #1002646)Johannes Schauer Marin Rodrigues2021-12-264-0/+25
|/
* German program translation updateHelge Kreutzmann2021-11-241-2/+5
| | | | Closes: #1000537
* Release 2.3.132.3.13Julian Andres Klode2021-11-245-6/+22
|
* Merge branch 'ck/fix-basehttp-enum' into 'main'Julian Andres Klode2021-11-232-22/+22
|\ | | | | | | | | basehttp: Rename HaveContent's Tristate See merge request apt-team/apt!202
| * basehttp: Rename HaveContent's TristateCameron Katri2021-11-232-22/+22
|/ | | | | | Darwin systems define TRUE and FALSE as preprocessor macros for use with bool. This conflicts with the enum values causing the compilation to fail.
* Merge branch 'pu/reltagmatchforsource' into 'main'Julian Andres Klode2021-11-234-48/+127
|\ | | | | | | | | Support more than exact release matches in 'source' See merge request apt-team/apt!201
| * Support more than exact release matches in 'source'David Kalnischkies2021-11-234-48/+127
|/ | | | | | | | | | | | | | | | | The Debian 11 release notes elevate matching with regex to a documented and much used feature, which it previously wasn't. For binary packages this is not a problem, but source packages are special and it turns out that matching by release is here an exact string match only. A bit of refactoring later we can reuse the code we use for Packages files also for Release files, which is what we have for Sources files as those files itself have no representation in the cache. This means that we do not support matching based on components (c=main) in source, but we didn't before and we can cross that bridge if anyone notices… Closes: #998444
* Portuguese manpages translation updateAmérico Monteiro2021-11-231-118/+92
| | | | Closes: #1000424
* Merge branch 'musl-fix' into 'main'Julian Andres Klode2021-11-221-0/+1
|\ | | | | | | | | apt-pkg/contrib/srvrec.h: Explicitly include sys/types.h See merge request apt-team/apt!200
| * apt-pkg/contrib/srvrec.h: Explicitly include sys/types.hAlexander Kanavin2021-11-221-0/+1
|/ | | | This avoids type errors with musl C library.
* Release 2.3.122.3.12Julian Andres Klode2021-11-1747-791/+856
| | | | This release is dedicated to Linus Tech Tips.
* Release 2.3.12Julian Andres Klode2021-11-172-0/+34
|
* Merge branch 'pu/essential-removal' into 'main'Julian Andres Klode2021-11-175-3/+46
|\ | | | | | | | | Do not remove Essential/Protected due to dependencies See merge request apt-team/apt!198
| * Do not remove Essential/Protected due to dependenciesJulian Andres Klode2021-11-175-3/+46
| | | | | | | | | | | | | | | | Suggesting the removal of Essential and Protected packages as a solution leads to situations where YouTubers end up removing their desktop. Let's not remove such packages ourselves.
* | Merge branch 'pu/no-prompt-essential-removal' into 'main'Julian Andres Klode2021-11-173-32/+1
|\ \ | | | | | | | | | | | | Require argument to remove essential packages, do not prompt See merge request apt-team/apt!199
| * | Require argument to remove essential packages, do not promptJulian Andres Klode2021-11-173-32/+1
| |/ | | | | | | Let's make this one step harder.
* | Merge branch 'egrep' into 'main'Julian Andres Klode2021-11-131-1/+1
|\ \ | | | | | | | | | | | | bash completion: use `grep -E` instead of `egrep` See merge request apt-team/apt!197
| * | bash completion: use `grep -E` instead of `egrep`Ville Skyttä2021-11-131-1/+1
|/ / | | | | | | | | | | `egrep` has been deprecated in GNU grep since 2007, and in current post 3.7 Git it has been made to emit obsolescence warnings: https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1
* | Dutch manpages translation updateFrans Spiesschaert2021-11-091-36/+25
| | | | | | | | Closes: #998830
* | Merge branch 'fix-debug-output-from-signed-by' into 'main'Julian Andres Klode2021-11-051-1/+0
|\ \ | | | | | | | | | | | | Don't print every inline PGP key in Signed-By See merge request apt-team/apt!195
| * | Don't print every inline PGP key in Signed-ByVictor Westerhuis2021-11-051-1/+0
|/ / | | | | | | It looks like a debug line was left in accidentally.