diff options
author | Fabian Groffen <grobian@gentoo.org> | 2020-01-02 12:17:53 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2020-01-02 12:17:53 +0100 |
commit | 24e232b949803a0d650387c61eb32c95d7270647 (patch) | |
tree | ff585c3918d76d1a2390d924f4b366c3b5013fd7 /TODO.md | |
parent | libq/atom: also strip/ignore .tbz2 suffix (like .ebuild) (diff) | |
download | portage-utils-24e232b949803a0d650387c61eb32c95d7270647.tar.gz portage-utils-24e232b949803a0d650387c61eb32c95d7270647.tar.bz2 portage-utils-24e232b949803a0d650387c61eb32c95d7270647.zip |
libq/tree: have tree_foreach_pkg take a query atom
Allow to reduce the search by having a query atom. This will skip
categories and packages not matching the atom, possibly avoiding lots of
work.
This needs to be exploited from applets where necessary.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -9,8 +9,6 @@ `ACCEPT_LICENSE="${ACCEPT_LICENSE} bar"`<br> we end up getting just:<br> `ACCEPT_LICENSE=" bar"` -- tree\_foreach\_pkg should have variant that takes an atom (or just - cat?) to reduce search space - tree\_get\_atoms should return atoms iso string set, needs a rewrite to use foreach\_pkg and get\_atom -- set is ready for storing objects now |