| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
Avoid misclassifying additional alphabetical characters from
certain locales as alpha and then sort them by ASCII...
|
| |\
| |
| |
| |
| | |
Fix incorrect SIGWINCH handling
See merge request apt-team/apt!204
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| | |
| | |
| | |
| | | |
Spelling fixes
See merge request apt-team/apt!194
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | | |
Use short options for cmp
See merge request apt-team/apt!203
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \
| | |
| | |
| | |
| | | |
Improve documentation and tests for the Package pinning field
See merge request apt-team/apt!207
|
| | | | |
|
| |/ /
| |
| |
| | |
Package: field
|
| | |
| |
| |
| | |
Closes: #1002476
|
| |\ \
| |/
|/|
| |
| | |
add pattern to select packages by codename (closes: #1002646)
See merge request apt-team/apt!205
|
| |/ |
|
| |
|
|
| |
Closes: #1000537
|
| | |
|
| |\
| |
| |
| |
| | |
basehttp: Rename HaveContent's Tristate
See merge request apt-team/apt!202
|
| |/
|
|
|
|
| |
Darwin systems define TRUE and FALSE as preprocessor macros for use with
bool. This conflicts with the enum values causing the compilation to
fail.
|
| |\
| |
| |
| |
| | |
Support more than exact release matches in 'source'
See merge request apt-team/apt!201
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Closes: #1000424
|
| |\
| |
| |
| |
| | |
apt-pkg/contrib/srvrec.h: Explicitly include sys/types.h
See merge request apt-team/apt!200
|
| |/
|
|
| |
This avoids type errors with musl C library.
|
| |
|
|
| |
This release is dedicated to Linus Tech Tips.
|
| | |
|
| |\
| |
| |
| |
| | |
Do not remove Essential/Protected due to dependencies
See merge request apt-team/apt!198
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | |
| | | |
Require argument to remove essential packages, do not prompt
See merge request apt-team/apt!199
|
| | |/
| |
| |
| | |
Let's make this one step harder.
|
| |\ \
| | |
| | |
| | |
| | | |
bash completion: use `grep -E` instead of `egrep`
See merge request apt-team/apt!197
|
| |/ /
| |
| |
| |
| |
| | |
`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
|
| | |
| |
| |
| | |
Closes: #998830
|
| |\ \
| | |
| | |
| | |
| | | |
Don't print every inline PGP key in Signed-By
See merge request apt-team/apt!195
|
| |/ /
| |
| |
| | |
It looks like a debug line was left in accidentally.
|
| |\ \
| |/
|/|
| |
| | |
Use `command -v` instead of `which`
See merge request apt-team/apt!193
|
| |/
|
|
|
|
|
|
|
|
| |
`which` has been deprecated in debianutils 5.0+. The recommended
replacement, `command -v`, is mandated by Debian policy these days, in
addition to being required by POSIX and its predecessor specs at least
since 1994.
Not found commands cause no output from `command -v` per POSIX, so
remove the redundant 2>&1's while at it.
|
| | |
|
| |
|
|
|
|
|
|
| |
Fix a regression in python-apt where switching the architectures
in the config between cache invocations regressed.
Regression-Of: 8ff4e226af55a9feb168477a2b1a99f9c5152e54
Gbp-Dch: full
|
| |\
| |
| |
| |
| | |
Allow =version and /release selectors on virtual packages
See merge request apt-team/apt!121
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We already have code for figuring out if a virtual package is only
provided by a single provider (and otherwise show a list) we can
auto-select for the user, so we can adapt that to work with versioned
provides as well and while at it also release selectors.
The code tries to keep ABI backward compatible and hence turns
relatively ugly as we need a parameter (the selector) to be passed
around without adding a parameter or new virtual methods.
|
| | |
| |
| |
| |
| | |
Edgecase of an edgecase at best, but it works just fine as a dependency,
so it should really work on the commandline as well.
|
| | |
| |
| |
| |
| | |
When color has not been turned on explictly in the configuration
file or options, only turn it on if NO_COLOR is not set.
|
| |\ \
| | |
| | |
| | |
| | | |
apt-pkg/deb/dpkgpm.cc: make DPkg::Chroot-Directory work under fakechroot
See merge request apt-team/apt!189
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Add support for embedding PGP keys into Signed-By in deb822 sources
See merge request apt-team/apt!176
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rename the argument to Introducer and generalize it to anything
that introduces new keys into the trusted vector, like file names
and full keys.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Extend the Signed-By field to handle embedded public key blocks,
this allows shipping self-contained .sources files, making it
substantially easier to provide third party repositories.
|
| |/ / /
| | |
| | |
| | |
| | |
| | | |
This currently has no effect, as there are no quotable characters
inside it, but it will allow us to send embedded keys through to
the method.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
basehttp: Turn HaveContent into a TriState
See merge request apt-team/apt!179
|