projects: be able to use multiple maintainers in the advanced search
Hi,
I'd like to know if it's possible to search projects using a list of multiple maintainers in the advanced mode.
From the API spec, we can see:
{
"repo": "freebsd",
"srcname": "www/firefox",
"binname": "firefox",
"visiblename": "www/firefox",
"version": "50.1.0",
"origversion": "50.1.0_4,1",
"status": "newest",
"summary": "Widely used web browser",
"categories": ["www"],
"licenses": ["GPLv2+"],
"maintainers": ["[email protected]"],
"www": ["http://www.mozilla.com/firefox"],
"downloads": ["http://download.cdn.mozilla.net/pub/firefox/releases/50.1.0/source/firefox-50.1.0.source.tar.xz"]
}
which means maintainers is a list so it seems to be supported API side.
I'm using repology as a package maintainer and I have multiple accounts: my email address and the AUR pseudonyme. Which means, I need to perform 2 requests to fetch all the packages I maintain.
(maybe it already exists but I did not find any documentation :) )
Thanks for developing this useful tool !
This is unlikely to be implemented. This would imply doing a large project query two times under the hood, which is slow and require code complication, while the same thing can be done by requesting two projects sets explicitly. Also, from the UI viewpoint, all advanced search conditions assume AND logic, while this one requires OR logic, which would introduce extra confusion.
Hey @AMDmi3,
Ok I understand, it was just a random question in my mind. I let you close the issue if you won't dig further !
I'll think this over a bit more. Btw, you could also push AUR devs to publish more complete package metadata which contains maintainer emails, this would fix your original problem too.