diff options
author | John Helmert III <ajak@gentoo.org> | 2023-11-15 19:45:14 -0800 |
---|---|---|
committer | John Helmert III <ajak@gentoo.org> | 2023-12-15 10:30:59 -0800 |
commit | b7e35beaa4168b315ad3ae294b71706d24c795b0 (patch) | |
tree | 545399a942ca535d3aaf23fbdc3f0df251c0445c /NEWS | |
parent | sync: git: include signing key and git revision in log output (diff) | |
download | portage-b7e35beaa4168b315ad3ae294b71706d24c795b0.tar.gz portage-b7e35beaa4168b315ad3ae294b71706d24c795b0.tar.bz2 portage-b7e35beaa4168b315ad3ae294b71706d24c795b0.zip |
depclean: return failure when no packages are selected for depclean
Based on the preceding writemsg, one might think that this function
could be used for more than depcleans, but there's no other reference
to it in the codebase.
With this patch:
$ sudo ./bin/emerge --debug --verbose --depclean foo; echo $?
myaction depclean
myopts {'--debug': True, '--binpkg-respect-use': 'y', '--quiet-build': 'y', '--regex-search-auto': 'y', '--verbose': True}
[DEBUG] Using selector: EpollSelector
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6,6 +6,12 @@ Release notes take the form of the following optional categories: * Bug fixes * Cleanups +portage-3.0.59 (UNRELEASED) + +Features: +* emerge: depclean now returns with failure if no packages are matched + (bug #917120) + portage-3.0.58 (2023-12-14) -------------- |