summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.4.02.4.0Julian Andres Klode2022-02-2260-1169/+2370
|
* Merge branch 'pu/legacy-keyring-warning' into 'main'Julian Andres Klode2022-02-226-4/+87
|\ | | | | | | | | Warn if the legacy trusted.gpg keyring is used for verification See merge request apt-team/apt!209
| * Warn if the legacy trusted.gpg keyring is used for verificationJulian Andres Klode2022-02-224-1/+81
| | | | | | | | | | With apt-key going away, people need to manage key files, rather than keys, so they need to know if any keys are in the legacy keyring.
| * Improve the documentation for /etc/apt/keyringsJulian Andres Klode2022-02-222-3/+6
|/
* Merge branch 'readme' into 'main'Julian Andres Klode2022-02-221-1/+1
|\ | | | | | | | | Readme: Default branch is now main See merge request apt-team/apt!226
| * Readme: Default branch is now mainCroydon2022-02-171-1/+1
| |
* | Merge branch 'bugscript-dash' into 'main'Julian Andres Klode2022-02-221-12/+8
|\ \ | | | | | | | | | | | | bugscript: switch to POSIX shell, quoting, other improvements See merge request apt-team/apt!225
| * | bugscript: switch from bash to POSIX shellPaul Wise2022-02-151-1/+1
| | | | | | | | | | | | | | | | | | This means Debian is one step closer to removing bash from essential. See-also: https://salsa.debian.org/debian/grow-your-ideas/-/issues/20#note_296809
| * | bugscript: switch from `echo -e` to printfPaul Wise2022-02-151-4/+4
| | | | | | | | | | | | | | | | | | Otherwise slashes in filenames could be interpreted as newlines etc. Also makes it portable to shells that don't support `echo -e`.
| * | bugscript: quote config file namesPaul Wise2022-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | The file names could contain spaces and without quoting, the files would not be found and included in the bug reports. Suggested-by: shellcheck
| * | bugscript: switch from options in shebang to options for setPaul Wise2022-02-151-1/+2
| | | | | | | | | | | | | | | Otherwise the options won't be applied when running the script directly from a sh command instead of via the shebang.
| * | bugscript: drop workaround for long fixed issue in reportbugPaul Wise2022-02-151-5/+0
| |/ | | | | | | | | | | See-also: https://bugs.debian.org/169495 Fixed-in: reportbug 2.10 Fixed-on: 2002-12-23
* | Merge branch 'dont-bash-complete-pkgs-before-cmd' into 'main'Julian Andres Klode2022-02-221-3/+6
|\ \ | | | | | | | | | | | | Don’t bash-complete package names before the command word See merge request apt-team/apt!221
| * | Don’t bash-complete package names before the command wordJörn-Thorben Hinz2022-02-041-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Previously, package names would get suggested at the cursor position `_` for a command line like this: ``` ~# apt _ install git vim ```
| * | bash-completion: Use the correct index range when looking for the command wordJörn-Thorben Hinz2022-02-041-1/+1
| | | | | | | | | | | | | | | | | | $words[0] contains the first word on the command-line, the name of the program: apt. Also, the last word already typed on the command-line might be the command, don’t ignore it.
* | | Merge branch 'bash-complete-autopurge-reinstall-930295' into 'main'Julian Andres Klode2022-02-221-4/+4
|\ \ \ | | | | | | | | | | | | | | | | Add bash-completion for autopurge and reinstall (closes: #930295) See merge request apt-team/apt!214
| * | | Provide bash-completions for reinstall (same as for install)Jörn-Thorben Hinz2022-02-011-3/+3
| | | | | | | | | | | | | | | | Closes: #930295
| * | | Provide the same bash-completions for autopurge as for autoremoveJörn-Thorben Hinz2022-02-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 8ebb95805 missed some places to really bash-complete the autopurge command. Partially closes #930295
* | | | doc/apt-key.8.xml: document alternatives to apt-key add (closes: #1002820)Johannes Schauer Marin Rodrigues2022-02-222-0/+32
| | | | | | | | | | | | | | | | [jak@ Also document /etc/apt/keyrings]
* | | | Install an empty /etc/apt/keyrings directoryJulian Andres Klode2022-02-141-0/+1
| |_|/ |/| | | | | | | | | | | | | | | | | This directory is intended to provide an alternative to /usr/share/keyrings for placing keys used with signed-by. Gbp-Dch: full
* | | Merge branch 'fix/externalsatisfy' into 'main'Julian Andres Klode2022-02-102-28/+63
|\ \ \ | | | | | | | | | | | | | | | | Allow --solver apt to work on apt satisfy See merge request apt-team/apt!224
| * | | Allow --solver apt to work on apt satisfyDavid Kalnischkies2022-02-102-28/+63
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Our EDSP code is confused by the spaces in the package name, so we adopt a naming scheme similar to build-dep here instead of trying to teach EDSP to somehow encode the spaces as that is probably even more confusing for onlookers than this invalid package name is. Reported-By: Johannes Schauer Marin Rodrigues on IRC
* | | Simplified Chinese program translation updateBoyuan Yang2022-02-071-10/+9
| | | | | | | | | | | | Closes: #1004931
* | | Silence ar by warping it in a testsuccess callDavid Kalnischkies2022-02-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The -q flag isn't quiet – it means quick – so ar happily prints an "ar: creating test.deb" which is harmless, but also pointless and it is the only testcase who produces output. Gbp-Dch: Ignore
* | | Enable tests commented out with no longer true fixmeDavid Kalnischkies2022-02-021-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | Pinning and its display was reworked years ago, but the test and especially the comment never got the memo. References: a91aae406112df1d8fe16d00212333a20210f674 Gbp-Dch: Ignore
* | | Remove useless use of awkDavid Kalnischkies2022-02-021-6/+6
| | | | | | | | | | | | | | | | | | I have no idea what I was thinking 12 years ago. Gbp-Dch: Ignore
* | | Use moreutils parallel even if GNU parallel is installedDavid Kalnischkies2022-02-021-0/+2
| |/ |/| | | | | | | | | | | | | GNU parallel diverts moreutils implementation away. As we us moreutils features just installing parallel breaks the test runner hence. We have this already for another naming scheme, so fixing this is easy enough. Gbp-Dch: Ignore
* | 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