Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rob-bugson: webextension for attaching GitHub PRs to Bugzilla bugs

20 views
Skip to first unread message

William Kahn-Greene

unread,
Oct 27, 2017, 4:20:47 PM10/27/17
to dev-webdev
I work on Socorro and we use Bugzilla for bug management and GitHub
for code management. That's great, except there are some flows between
GitHub and Bugzilla that require manual bookkeeping.

Back in the early days of FirefoxOS, Dietrich wrote Github Bugzilla
Tweaks (https://addons.mozilla.org/en-US/firefox/addon/github-tweaks-for-bugzilla/).
That allowed you to create a GitHub PR and easily attach it to the
relevant bug. That was super! But it's a legacy addon and doesn't work
with Firefox anymore.

Peter solved this with PR Linker Github Bugzilla PR Linker
(https://github.com/mozilla/github-bugzilla-pr-linker). Much like the
autocloser, this is a webhook that listens for newly created PRs and
automatically attaches them to Bugzilla.

That's great, except I typo the crap out of everything, so I really
wanted a system that automated PR attaching, but in a way I could
manually verify before it happened. Plus in order for Github Bugzilla
PR Linker to work, you have to add it as a webhook to all the projects
you work on.

So then I wrote rob-bugson
(https://addons.mozilla.org/en-US/firefox/addon/rob-bugson/). It works
just like Dietrich's Github Bugzilla Tweaks except it's a web
extension. You install it and then your PR pages show Attach links.

I just released v1.2 after fixing some issues and it's probably pretty
solid now.

I know other people have had similar hankerings and work on similarly
structured projects, so I figured I'd send a notice to this list in
case anyone else was interested.

Hope it helps!

/will

Peter Bengtsson

unread,
Oct 27, 2017, 4:26:54 PM10/27/17
to William Kahn-Greene, dev-webdev
Cool!
I added a link to it from
https://mana.mozilla.org/wiki/display/WebDev/GitHub+Bugzilla+PR+Linker
(sorry, only for Mozilla staff)
Feel free to reword that blurb if you like.

On Fri, Oct 27, 2017 at 4:20 PM, William Kahn-Greene <wil...@mozilla.com>
wrote:
> _______________________________________________
> dev-webdev mailing list
> dev-w...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-webdev
>



--
Peter Bengtsson
Mozilla Storage Team

Dietrich Ayala

unread,
Oct 28, 2017, 1:17:34 AM10/28/17
to William Kahn-Greene, dev-webdev
Yay, thanks for carrying the torch forward!

On Sat, Oct 28, 2017 at 3:20 AM, William Kahn-Greene <wil...@mozilla.com>

Dylan Hardison

unread,
Oct 28, 2017, 1:22:07 AM10/28/17
to William Kahn-Greene, dev-webdev, Anthony Hughes

> On Oct 27, 2017, at 16:20, William Kahn-Greene <wil...@mozilla.com> wrote:
>
> I work on Socorro and we use Bugzilla for bug management and GitHub
> for code management. That's great, except there are some flows between
> GitHub and Bugzilla that require manual bookkeeping.
>

Speaking of Socorro and Bugzilla, as of Tuesday, Anthony Hughes' Socorro Lens will become part of a of BMO.

https://bugzilla.mozilla.org/show_bug.cgi?id=1332016



Schalk Neethling

unread,
Oct 28, 2017, 3:24:42 AM10/28/17
to Dylan Hardison, dev-webdev, William Kahn-Greene, Anthony Hughes
That's super \o/ - Installing now, thanks Will
> _______________________________________________
> dev-webdev mailing list
> dev-w...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-webdev
>



--
Kind Regards,
Schalk Neethling
Senior Front-End Engineer
Mozilla ::-::
0 new messages