This is a GitHub/Bugzilla mashup extension that eases the great divide between GitHub and Mozilla's Bugzilla instance.
Install rob-bugson on Firefox Add-ons site.
- adds View bugs links for every bug mentioned in the pull request summary on a pull request page
- adds View bugs links for every bug mentioned in commit message summaries on the compare page to create a pull request
- adds Attach this PR to bug links for every bug mentioned in the pull request summary on a pull request page
- adds Add merge comment to bug links for every bug mentioned in the pull request summary on a pull request page
- since it opens webpages in Bugzilla, it uses whatever account you're logged in as and so it works with security bugs and employee-confidential bugs
- since it doesn't save anything, you can edit attach summaries and merge comment messages before saving
- since it doesn't do anything automatically, it's less likely you'll goof and close some other bug
- best name ever
- released under the MPLv2
Gilda finishes the changes required to fix bug 123456. She commits them to her branch and creates a pull request on GitHub with the summary:
bug 123456: implement cookie baker
rob-bugson notices "bug 123456" in the PR summary and creates a link to attach the pull request to the relevant bug in Bugzilla. Gilda clicks on the link which opens a new tab on the attach page for that bug and attaches the pull request.
Henrietta is reviewing a pull request. The pull request summary is:
fix bug 123456, 456789: reticulate the splines
rob-bugson notices "fix bug 123456, 456789" and creates an open all link which opens Bugzilla with a bug list of both bugs, a 123456 link which opens Bugzilla with that specific bug, and a 456789 link which opens Bugzilla with that specific bug. Henrietta clicks on "open all" and views all the bugs.
Gilda's pull request has been reviewed and approved. She clicks on the merge button. rob-bugson creates an Add merge commit to this bug link for each bug mentioned in the pull request summary. Gilda clicks on each link which opens Bugzilla to that specific bug with pre-populated comment box summarizing the merge. Gilda clicks on Save Changes and the merge comment is saved.
- Will Kahn-Greene
- Dietrich Ayala: wrote Github-Bugzilla-Tweaks and I based the methodology on that
- Paul Maclanahan
- Mike Cooper
- Mike Kelly
- Jan-Erik Rediger
- Bianca Danforth
- you could be here!
If you have a problem, write up an issue at: https://github.com/willkg/rob-bugson/issues
If you can fix something, please submit a PR.
If you can help someone, please comment on their issue.
I'll merge PRs and do releases, but probably won't do anything else.
Use the browser extension docs on MDN.
- complete changes, update
manifest.json, updateCHANGELOG.md - land changes in main branch
git tag -s vX.Y.Z(use semver)git push origin vX.Y.Zmake zip- rename zip file to use version number; e.g.
rob-bugson-1.6.6.zip - upload zip file to AMO
This is inspired by Dietrich Ayala's Github-Bugzilla-Tweaks. Thank you!
This uses code from Paul MacLanahan's Github List Bugzilla Bugs extension thus merging the two.
Thank you to MDN contributors and webextension developers who wrote up the documentation for webextensions, related APIs, and all the code samples!