Given a large number of people I imagine to want to use qkeyword will be looking at it from the perspective of "Packages I'm maintaining", it might be helpful to have a match rule against entries in metadata.xml I suspect an idiomatic approach would be for: --matchmaint foo@bar To exactly match all packages which have //pkgmetadata/maintainer/email = foo@bar I suspect there's a less common usecase for (partially?) matching //pkgmetadata/maintainer/name, and potentially a scope for partial matches against email, but I'd suspect an exact match against email will be the most globally useful.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=f4eb959a8a9f7b52d52c7842f53dccff8bea2699 commit f4eb959a8a9f7b52d52c7842f53dccff8bea2699 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2019-05-05 08:57:41 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2019-05-05 08:57:41 +0000 qkeyword: add --matchmaint/-m flag, bug #685052 Add option to match against maintainer email address listed in package metadata.xml. Closes: https://bugs.gentoo.org/685052 Signed-off-by: Fabian Groffen <grobian@gentoo.org> TODO.md | 7 +++++++ man/include/qkeyword.desc | 11 +++++++++++ man/qkeyword.1 | 14 ++++++++++++++ qkeyword.c | 21 ++++++++++++++++++++- 4 files changed, 52 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=0bbdb3f1328dcd0dd91c1ea502da3ba3e1fd364d commit 0bbdb3f1328dcd0dd91c1ea502da3ba3e1fd364d Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2019-05-05 08:46:47 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2019-05-05 08:46:47 +0000 libq/cache: add support for reading metadata.xml currently only one field is extracted: email Bug: https://bugs.gentoo.org/685052 Signed-off-by: Fabian Groffen <grobian@gentoo.org> libq/cache.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- libq/cache.h | 9 ++++++ 2 files changed, 106 insertions(+), 2 deletions(-)