Switch from Pagure to Forge for blocker review discussions #296
Labels
No labels
Closed As
Duplicate
Closed As
Fixed
Closed As
Invalid
discussions
easyfix
enhancement
task
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
#300 Set up CI and AI pull request review via Forgejo actions
quality/blockerbugs
#299 WIP: Blockerbot for Forge
quality/blockerbugs
#3195 quality: Update blockerbugs app env variables
infra/ansible
Reference
quality/blockerbugs#296
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we support only Pagure for doing async blocker review discussions. For production, we use the blocker-review repo.
Since we're migrating from Pagure to Forge, we would need a change in blockerbugs that would drop Pagure support and introduce Forge support for blocker discussions.
This means:
a) implementing reading, creating and editing a Forge ticket through its API
b) figuring out how to get notified when a Forge ticket is updated (in Pagure, we do this through a webhook)
c) figuring out authentication with Forge, and testing for privileged members
d) fixing ticket formatting if needed
Don't forget that most of the changes can be tested through staging instances - https://stg.pagure.io , https://bugzilla.stage.redhat.com and https://forge.stg.fedoraproject.org .
fix/296-blocker-review-voting-on-forgeFORGEJO_prefix inconfig.py, there is also newDISCUSSION_SYSTEMoption, which needs to be changed from "pagure" to "forgejo"FORGEJO_ADMIN_TEAM(unfortunate name, needs refactoring :) )Some thoughts during my quick inspection today:
Also, let's create a PR so that I can put some direct comments on particular lines?
I was just playing it safe and keeping backwards compatibility with Pagure just in case. If that is not really required we can remove Pagure specific code for sure.
Let's create PR after possible Actions upgrade is evaluated (#298) since that would change required code considerably.
I wouldn't delay this with that ticket. It might take a long time to evaluate it and it might be a complete rewrite of the process. We can be much quicker if we finalize this and push to production, because you have it almost all written already, as it seems. We can consider #298 as a possible future improvement.
In our today's team call, we agreed that it makes no sense to carry forward Pagure integration as well. Jaroslav, could you please adjust the PR to drop Pagure support? It should make some code paths simpler. Thanks!
Ack, will do.