pagure2discourse

Created 2 years ago
Maintained by mattdm
A bridge script connecting pagure ticket trackers to discourse conversations
Members 1
Matthew Miller committed 2 years ago

This is a script that:

  1. listens to the Fedora Message bus for new Pagure tickets in configured repositories, then

  2. creates a new topic for discussion of that ticket on Fedora Discussion, and then

  3. posts a link to that discussion back to the Pagure ticket.

It does not, currently, do any further updating. For example, it could post ticket comments to the Discourse discussion (either as the bot user or as actually the user who posted). And it could keep track of the open / closed state of the ticket and mark the conversations closed or solved.

Enhancements that make it do this stuff would be welcome!

Also, as currently implemented, it takes time to do stuff. It's not made to keep up with a bunch of tickets coming in at once. That should be handled by making this spawn multiple listeners — via Toddlers or my knative idea.

Other features:

  • For teams that do want to allow discussion in the ticket, two-way comment sync would be nice.

  • Extend to work with GitLab and Github too — that way we can bring more conversations to a central place.