Make forge fedora-messaging better #569
Labels
No labels
Backlog Status
Needs Review
Backlog Status
Ready
Chore
points
01
points
02
points
03
points
05
points
08
points
13
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
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forge/forge#569
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?
Summary
Emit messages for all the repository/organization event messages to fedora-messaging
Details
No response
One option would be to mirror the event types that forgejo provides
Either the overall ones
repository/issue/pull_request/action, or the more granular ones e.g.repository.create.Keeping all of the schemas in sync might be a maintenance chore, and I could not find a reference for where (or even if) the webhook schema is defined in the source. If we make the schema be a generic
objectand say it's not fedora-messaging place to define it, then that could also simplify things.@lecris we can add more event triggers, and the schema package can be found here. As this is a different package entirely for the schema, I do not think this would be a difficult thing to do, but we need to be sure that there is indeed a good case for request granularity. I do not want to create sub objects per repository or organization, as that breaks the established format that we have so far only for the sake of easier management. The dashboard anyway clearly describes the webhook event type as well on the listing.