A man with a mission...

Bugzilla Helper Add-on

I’ve been a bit frustrated at how often I switch from my e-mail client to my browser when I’m reading bugmail to reply to some comment. Then I saw Gerv’s Bugzilla REST API, and I decided it was time to write an add-on.

Without further ado, I present the add-on. Feel free to give me feedback by leaving a comment on this post.

comments

17 Responses to “Bugzilla Helper Add-on”

  1. Robert Kaiser on October 23rd, 2009

    Could/Would it work with SeaMonkey 2.0 as well?

  2. Shawn Wilsher on October 23rd, 2009

    Probably. I’d accept patches. The source code is at http://hg.mozilla.org/users/sdwilsh_shawnwilsher.com/bugzilla-helper/.

  3. Jeff Walden on October 23rd, 2009

    Hum. So what exactly does it do?

    …er, ignore that! I was trying the Reply functionality on a change without a comment, silly me.

    This add-on intrigues me and is likely to make me motivated enough to add things I wish I could do from Thunderbird (CC to bugs, for example). Expect patches soon for various things (like perhaps the Reply bug above).

  4. Shawn Wilsher on October 23rd, 2009

    Yeah, known issue. It’s a very crude add-on now, but it will be getting better in time!

  5. Jeff Walden on October 23rd, 2009

    http://whereswalden.com/files/temp/reply-not-comment.diff to fix the bug where replying to a non-comment does nothing

  6. Jeff Walden on October 23rd, 2009

    http://whereswalden.com/files/temp/private-comment.diff to style the private-comment interface the same way Bugzilla does

  7. Jeff Walden on October 23rd, 2009
  8. Fabrice Desré on October 24th, 2009

    Cool ! This is someting I was planning to add to the Bugmail add-on (https://addons.mozilla.org/ed/thunderbird/addon/9584). Maybe we could merge ?

    [edit: fixed link to point to en site since readers here speak English. -sdwilsh]

  9. Shawn Wilsher on October 24th, 2009

    @Waldo
    You have hg access – go ahead and land those. Thanks!

    @Fabrice
    I had thought about it, but your add-on is more generic and supports all Bugzilla installs, and Trac, and another one I think. The REST API is only available for bugzilla.mozilla.org, so I’m not sure it’s a good fit with your add-on. FWIW, I use your add-on too!

  10. Robert Kaiser on October 24th, 2009

    Hmm, I pulled the repo, just added SeaMonkey as compatible app in the install.rdf and everything works, I just get a message back on replying that complains about an empty response from the server, is that normal?
    And also, is it normal that it requests my login and password on _every single_ reply?

  11. Shawn Wilsher on October 24th, 2009

    @Kairo

    It will save your password if it gets the expected response (201), but it won’t if it gets any other. Sounds like gerv’s API is misbehaving because you shouldn’t be getting an empty response.

  12. Robert Kaiser on October 24th, 2009

    Shawn:
    OK, sounds like the problem is not with a SeaMonkey incompatibility then – I wonder if it might get confused as I’m already logged into bugzilla in the same suite session.
    So the compat patch is just this one: http://pastebin.mozilla.org/678828 :)

  13. Jeff Walden on October 24th, 2009

    WIN! Fixes landed, more to come I hope.

  14. Shawn Wilsher on October 24th, 2009

    @Kairo
    Land that in the repo. I’ll probably upload a new version Monday with yours and Waldo’s fixes.

  15. Robert Kaiser on October 24th, 2009

    Shawn, thanks, landed this patch!

  16. Shawn Wilsher on October 25th, 2009

    Your changes have been pushed out to AMO in version 0.1.2. Thanks guys!

  17. Bugzilla Helper 0.2.0 : Shawn Wilsher on November 5th, 2009

    [...] just uploaded Bugzilla Helper 0.2.0. This improves on the last release by making making the submission of comments an asynchronous operation. It also uses the activity [...]