apt (2.9.2)
[PTS] [DDPO]
COMMITS: VCS has seen 10 commits since the 2.9.2 tag
- Git: https://salsa.debian.org/apt-team/apt.git
-
- Branch: main
- Path: debian/changelog
- Repo size: 3088384
- Browser: https://salsa.debian.org/apt-team/apt
- Last scan: 2024-04-26 21:21:53+00
- Next scan: 2024-05-03 03:10:00+00
- Merge requests: 20
- CI pipeline status: success
- Debian changelog in Git:
apt (2.9.2) unstable; urgency=medium
[ Julian Andres Klode ]
* Output customization and color refactoring:
- Also respect an APT_NO_COLOR variable
- Add a --color, --no-color option
- Add APT::Configuration::color helper to colorize things
- Use APT::Configuration::color to apply color to output
- Configure individual action colors using APT::Color::Action
- apt.conf(5): Document the APT::Color scope
* Introduce the new --audit error level
- Add an "audit" error level, and change the default to notice
- Add an --audit option to switch on audit logging
- Add an audit message for missing InRelease files
* Change the rendering for notices, warnings, errors:
- i18n: Use Error:/Warning:/Notice: instead of E:/W:/N:
- Render notices without (yellow) color, just in bold
- Keep the entire error/warning/notice message bold
* Other UI changes:
- apt update: Show upgradable package count in bold
- show: Highlight field names and colorize package name
- Remove spurious newline inside `apt autoremove` message
- Insert blank line following simulation note
- Show "Upgrading:" before other sections
- Only erase OpProgress lines in output version 3.0
* Test fixes:
- test: configuration: color: reset _config after tests
- build: test: Silence warnings in GTest code
[ Miroslav Kure ]
* Czech program translation update (Closes: #1068943)
[ Boyuan Yang ]
* Simplified Chinese program translation update (Closes: #1069118)
[ David Kalnischkies ]
* Allow no spaces for the last dependency in ParseDepends, too (LP: #2061834)
-- Julian Andres Klode <jak@debian.org> Mon, 22 Apr 2024 19:36:30 +0200
- This branch is 10 commits ahead of tag 2.9.2
- Git log:
commit c98bcdf00e5366fec101dd17094d36be21872a02
Author: David Kalnischkies <david@kalnischkies.de>
Date: Fri Apr 26 18:50:49 2024 +0000
Allow parsing an empty Provides line
If dpkg-gencontrol was involved in the creation of a package we will not
usually encounter empty or otherwise useless fields, but apparently not
everyone is using it.
It isn't recommended to have these empty lines, but it isn't too hard to
ignore for Provides as we did for dependencies already and apt-ftparchive
can be convinced to produce empty files (if you feed it such a package)
as well, so lets be nice and provide users with a more accepting parser.
Closes: #1069874
commit 05a1ee0cf4d5948ec2a084629bb9712af7d9c475
Merge: edfbc38 7a1063e
Author: Julian Andres Klode <jak@debian.org>
Date: Fri Apr 26 11:01:17 2024 +0000
Merge branch 'fix/mixed' into 'main'
Split out of mostly independent fixes: cmake execute errors, removed rev-deps, protected garbage & co
See merge request apt-team/apt!345
commit 7a1063e81b855ac7ff9ee54f115843c3af6dd1bf
Author: David Kalnischkies <david@kalnischkies.de>
Date: Thu Apr 4 13:36:24 2024 +0000
Add test for dealing with unsat Suggests promoted to Recommends
Our code does the right thing currently, so lets add a test to ensure
this keeps being the case in the future.
commit 9c06578c37ff77b70b9d978d48528df13e13530f
Author: David Kalnischkies <david@kalnischkies.de>
Date: Tue Apr 23 16:13:46 2024 +0000
Drop sudo-related envvars in testing framework
Our autoremoval-advertisment is modified by SUDO_USER as if the current
apt call was made with sudo it seems a good idea to show the ad with
sudo as well. That is annoying for our tests through as normally the
tests are run locally or by autopkgtest without sudo, but in Gitlab CI
we use it (to run our tests as user… as we are already root) and so
individual tests had to deal with this.
That is annoying and really not needed as we can have our autoremove
test check that this ad gets displayed the right way and ignore it the
rest of the time.
commit d030a1041b243c45dcd41e34d3c2b21cf1a533ba
Author: David Kalnischkies <david@kalnischkies.de>
Date: Thu Mar 14 20:59:10 2024 +0000
Do not upgrade rev-deps ear-marked for removal
We schedule reverse dependencies for an upgrade, but we shouldn't do it
if we have ear-marked this package for removal later on. Usually the
solver will end up doing the right thing like it already did in the
included testcase in the end, but given that before it reaches the right
end it explored a bad path which can lead to more installs and removals
influencing later decisions or are just too hard for the resolver to
undo later on, we can just not explore this path to begin with.
References: e077370ffcb3669a50a600e80356c2002e6b176d
commit e099ee946000797f4c03b8c5075ce7ebba193337
Author: David Kalnischkies <david@kalnischkies.de>
Date: Wed Apr 3 19:12:01 2024 +0000
Match version constraints before saving garbage packages
We remove new garbage packages from the solution if we can as installing
a new package which is at the same time considered garbage looks silly,
but it could also be a new dependency of another garbage package, so we
have a second round trying to save such packages. In this round we
weren't considering versioned constraints on dependency relations through
so even an unsatisfied old recommends could save which it shouldn't.
commit 7d93bcabc3f2c47c093faae7b36b7709f287cce2
Author: David Kalnischkies <david@kalnischkies.de>
Date: Wed Apr 3 12:36:40 2024 +0000
Avoid figuring which kept pkgs are phased if we don't display it
Not all commands show kept back packages, so even if it hardly matters,
lets not crunch numbers needlessly if we don't need the info which also
reduces the lifetime of the involved variables hopefully also reducing
the mental requirements for a reader.
commit 3e24f431d9527816820e103df7db9f39062b551d
Author: David Kalnischkies <david@kalnischkies.de>
Date: Fri Apr 5 14:02:39 2024 +0000
Do not ignore if a cmake execute_process fails
Ignoring errors might lead to failures later on anyhow, but especially
with triehash it could also lead to broken builds or other crazy stuff,
so lets better be save than sorry.
commit edfbc3869361f709d70794a794199ac2076ea9f1
Author: Julian Andres Klode <julian.klode@canonical.com>
Date: Tue Apr 23 21:01:45 2024 +0200
The text of notices and audits shall not be bold
This turned out to be a bit too bold for most of them, given their
informational nature.
commit d4889a909632f38418c630f257c00ccc595ba572
Author: Julian Andres Klode <julian.klode@canonical.com>
Date: Tue Apr 23 20:32:17 2024 +0200
Highlight essential removals with action::remove color