Skip to content

“Open in Bugzilla” w/ keyboard shortcut

Copy/paste seems to be the best method for viewing unlinked bug numbers in bugzilla right now. Given how tedious that can be, I’ve thrown together a small OS X service that allows you to select a block of text in an app and directly open or list the included bug #s on bugzilla.mozilla.org. Note that bug #s <101 and between 1990-2020 are ignored for correctness and convenience. The download, source, and install info is after the break.

 

Download Bug ParserSource on GitHub

To Install the Service

  1. Open Finder
  2. Shift+cmd+g to ~/Library/
  3. Go to Services (create the folder if necessary)
  4. Unzip “BugParser.zip” into that folder (you should now see BugParser.service in that directory)
  5. Log-out and back in or run the following at the commandline
    /System/Library/CoreServices/pbs
  6. Go to System Preferences, the Keyboard Pane, Services and find “Open in Bugzilla”
  7. Click the checkbox to enable the service, and double-click to the right of the label to set a keyboard shortcutSysPrefs Screenshot
  8. Now select some text and hit your keyboard shortcut to launch Bugzilla in the default web browser. Here’s a random copy/paste for you to try it out on:
    Page 1 | Sep 27, 2011
    649234     nor     --     Wind     nobody@mozilla.org     UNCO     ---
    652021     nor     --     All     nobody@mozilla.org     NEW     ---
    652023     nor     --     All     nobody@mozilla.org     NEW     ---
    652024     nor     --     All     nobody@mozilla.org     NEW     ---
    652026     nor     --     All     nobody@mozilla.org     NEW     ---
    657697     nor     --     All     ddahl@mozilla.com     NEW     ---
    657699     nor     --     All     ddahl@mozilla.com     NEW     ---
    657700     nor     --     All     ddahl@mozilla.com     NEW     ---
    660091     nor     --     All     ddahl@mozilla.com     NEW     ---
    661052     nor     --     All     nobody@mozilla.org     NEW     ---
    661701     nor     --     Linu     nobody@mozilla.org     UNCO     ---
    666147     nor     --     Wind     nobody@mozilla.org     UNCO     ---
    673621     enh     --     All     nobody@mozilla.org     NEW     ---
    673955     min     --     Mac     nobody@mozilla.org     UNCO     ---
    686290     nor     --     Wind     nobody@mozilla.org     UNCO     ---

Categories: Firefox, Mozilla, Planet.

  • Ehsan Akhgari

    This is awesome, thanks for doing this, Alex!