I am not sure if this is the correct place to ask. If not, my apologies for the noise.
For a couple of months now, the fedora-review-service https://github.com/FrostyX/fedora-review-service is submitting Bugzilla comments under my name, using my personal API key.
Is it possible, and if so, can you please create some kind of Bugzilla service account and generate an API key that I could use?
Currently, my .bugzillarc config looks like this:
.bugzillarc
[bugzilla.redhat.com] api_key = 123secretrandomhash456andsuch
so the ideal solution for me would be a key, that I can use here.
At your convenience
So, the api key will need renewing from time to time. It's best if you can self service this IMHO.
So, I'd suggest:
Sound reasonable? anything I missed? Does the bot need any special perms?
Sounds very reasonable, thank you @kevin :-)
I create a fedora-review-bot@fedoraproject.org alias that points to your email?
jkadlcik at redhat please
It needs to submit comments, upload attachments, and modify ticket's ... uhm ... properties?. On the other hand, it can be restricted only to bugs with Product: Fedora, Component: Package Review.
Product: Fedora, Component: Package Review
Metadata Update from @phsmoura: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: low-gain, low-trouble, ops
ok, the alias should be live.
If you need any permissions, re-open this or file a new ticket and we can get it sorted. ;)
Metadata Update from @kevin: - Issue close_status updated to: Fixed with Explanation - Issue status updated to: Closed (was: Open)
Thank you very much @kevin, everything worked as expected, I was able to create the Bugzilla account and generate an API key. I haven't tested the key yet but I am sure, it will be alright.
FTR, the wiki page is here https://fedoraproject.org/wiki/User:Fedora-review-bot
@kevin, I found out that the bot account doesn't have permissions to edit a ticket URL, Whiteboard, and so on. Did I forget to add permissions somewhere or do you need to boost them for me?
@kevin, I found out that the bot account doesn't have permissions to edit a ticket URL, Whiteboard, and so on
For both production and STG Bugzilla accounts
I've added the fedora-review-bot user to fedorabugs/fedora_contrib.
Whats the staging user? and which staging bugzilla? I might not have privs there, but can try.
Whats the staging user? and which staging bugzilla?
At this Bugzilla - https://bugzilla.stage.redhat.com/ It has the same email address and same real name as the production one.
Done
Perfect, it works now. Thank you :-)
Log in to comment on this ticket.