Hey Simons, thanks for this addendum. Who should I get in touch with to create this IDP account?

Also, we anticipate that implementing a good caching strategy will be our main job in the short run. Are there Redis instances that SUSE or openSUSE could provide us with? Setting up our own server or using a cloud solution is not likely to cut it...

Thanks,

Adrien

Le 14/07/2021 à 08:06, Simon Lees a écrit :

On 7/12/21 10:28 PM, Neal Gompa wrote:
On Mon, Jul 12, 2021 at 8:54 AM Adrien Glauser <adrien.glauser@gmail.com> wrote:
Thank you very much Neal, this is immensely helpful!

Today, openSUSE Heroes has no bots in service beyond the bridge bots
for the Matrix server.
Indeed, it is about the bridge bots that I am asking: Can we take a look
at the code currently in production? It might be possible to use these
bots as a point of entry for allowing users to consume the future API
from any bridged channel while avoiding duplicate responses. And should
we use another bot instead, looking at the bots currently in use would
still be instructive.

Sasi knows more here, but our deployment is documented in Salt:
https://code.opensuse.org/heroes/salt/blob/production/f/pillar/role/matrix.sls

We do not have Bugzilla 5. Sasi and I had been looking at trying to
get SUSE IT to deploy a variant of the Red Hat Bugzilla 5 software[1]
as it provides a variant of Bugzilla 5 with features that would be
useful for distributions (including tracking third-party bug trackers
and multi-SSO).

Today, we have Bugzilla 4 with its XML-RPC API. I strongly recommend
using python-bugzilla[2] to interface with it.

3) Does Progress expose an API for doing queries and if yes, where's the
docs about using this feature?

Progress uses Redmine, however the project does not generally use this
much, so it's not of much use to query for the project as a whole.
That said, we *can* enable the REST API[3] if desired (if it's not
already enabled, I'm not sure). Pagure has an API, and it's
documentation is on the instance itself[4].
Duly noted about Progress. May we request API keys for both Pagure and
the openSUSE bugzilla right now? Or shall I open a ticket or something
to make it more official?

I don't know about Bugzilla, someone else on the team with more
familiarity will have to chime in here.
From memory python-bugzilla uses user auth rather then an API key, I
think we handle bots by just creating a separate IDP account for them
and logging in with that, its been a couple of years since I have used
it though. Also be warned it isn't great for handling large number of
requests at one time.