On Wed, Aug 23, 2023 at 11:25:24AM +0100, Robie Basak wrote:
> I also posted here yesterday, having forgotten about this thread:
> https://discourse.ubuntu.com/t/improving-the-git-ubuntu-based-sponsorship-workflow/37964
Both of these threads died, and sorry again for accidentally splitting
it.
I've noticed some sponsorship entries getting lost due to the "grabbing"
of review slots as I described, so I've gone ahead to implement
~ubuntu-sponsors-reporter.
I've put a trivial MP up here:
https://code.launchpad.net/~racb/ubuntu-sponsoring/+git/ubuntu-sponsoring/+merge/460697
Once that lands, I'll change the bot to use ~ubuntu-sponsors-reporter
instead of ~ubuntu-sponsors.
I don't think this will change anything in practice for anyone except to
solve this grabbing problem. This new team is only for automation to
use; nobody need use it directly or change what they're doing already in
any way.
Bryce mentioned the difficulty of removing the slot. Unfortunately
there's no UI for this, but I did confirm today that it can be done by
API. I wrote a quick script so that we can do it easily if needed:
https://git.launchpad.net/~ubuntu-server/+git/ubuntu-helpers/tree/rbasak/clear-review-slot.py
Example of use:
$ python3 clear-review-slot.py ubuntu-sponsors-reporter <mp-url>
(for convenience, the URL is the one you see in your browser)
I don't know who has permission to do this. Is it because I currently
have some more permission over git-ubuntu repositories? Feedback
appreciated. If it turns out that we need to give more people access to
do this, perhaps we can arrange for a bot to watch for instructions in
the MP or something similar.
Robie