wip: skip maintainer review if sub by one #90

Manually merged
adamm merged 9 commits from no-package-review-for-submitter into main 2025-12-05 16:36:10 +01:00
Owner
  • do not assign maintainer for review if maintainer is one of them
  • remove pkg/prj maintainer from requested reviews when not needed
  • add option to require maintainer review even if submitter is maintainer -- this is to remove the "merge ok" option in devel projects as it's confusing for many there.
* do not assign maintainer for review if maintainer is one of them * remove pkg/prj maintainer from requested reviews when not needed * add option to require maintainer review even if submitter is maintainer -- this is to remove the "merge ok" option in devel projects as it's confusing for many there.
adamm added 1 commit 2025-11-03 17:53:31 +01:00
Author
Owner

so, we can only remove pkg/prj maintainer once and then we need to verify on the timeline if we are the ones that added these for request. Otherwise there's a risk of stepping on other tools' review requests.

so, we can *only* remove pkg/prj maintainer once and then we need to verify on the timeline if we are the ones that added these for request. Otherwise there's a risk of stepping on other tools' review requests.
adamm added 1 commit 2025-11-27 20:08:52 +01:00
adamm added 1 commit 2025-12-03 18:55:59 +01:00
Move the function to request and unrequest reviewers to a different
function. This will allow later simplification of the function
that determines if all reviews are complete.

Unrequesting of reviews is only possible in case of bot issued
review requests. The rest are left as-is.
adamm added 5 commits 2025-12-05 10:16:21 +01:00
If we have case where reviews are already there, for whatever reason
(eg. upgrade from older bot), remove the pending reviews if they
are not needed
Yes, gitea marks these as stale too, but we should just ignore this
flag in case of requests. Stale requests are still pending.
adamm manually merged commit 3a6009a5a3 into main 2025-12-05 16:36:10 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: git-workflow/autogits#90