On Montag, 13. September 2021, 21:41:22 CEST Henne Vogelsang wrote:
Hey,
On 13.09.21 18:19, Adrien Glauser wrote:
For any package <Pack> under *openSUSE:Factory*, I can get the entire set of <person userid> entries answering to the concept *the maintainers and packagers of <Pack>* if I do: 1. `/source/openSUSE:Factory/<Pack>/_meta`, where I extract the attribute $Proj from the entry <devel project=$Proj>; and then 2. `/source/<Proj>/_meta, where I extract the <person userid> entries
3. `/group/<Group>` where you expand the <group groupid> entries from above which contain <person userids>
BTW you can also look at what osc does with the API
osc -H maintainer openSUSE:Factory 4store|grep send
please do not try to emulate obs code, it may work in some cases,
but there can be different configs in the OBS instances which leads
to different results.
For owner search use the owner search I mentioned this morning already.
Emulating via multiple api queries instead and trying to rebuild
the server side logic will always leave wrong cases.
--
Adrian Schroeter