Tuesday, October 6, 2009

Bugzilla in Firefox

Something interesting I found last week: you can add the freedesktop.org bugzilla to the firefox search engines.

You may laugh now that I didn't know that already.

Anyway, since I know at least two more persons who didn't know that either there's bound to be others out there that don't know either:
  • Go to http://bugs.freedesktop.org
  • Click on the google logo in the searchbar
  • Select "Add FreeDesktop Bugzilla"
  • Go to Manage Search Engines
  • Enter a keyword (e.g. "fdo") for the new engine.
Voila, now you can just type "fdo 20500" in the address bar and it'll take you straight to the bug number. Alternatively, you can type in a searchword too.

Same works for a number of bugzilla instances. Useful.

2 comments:

riotingpacifist said...

Isn't the easiest way to do that by rightclicking in the searchbox and clicking (add keyword)

p.s once you realise how awesome keywords are you can drop the search box all together.

Anonymous said...

Once you find out that keyword searches are actually nothing else than
bookmarks with keywords, where %s string is replaced with whatever
follows the calling of the search, you can mark searches like

https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&\
short_desc_type=allwordssubstr&short_desc=&version=\
&component=&target_milestone=&query_format=advanced&bug_status=NEW\
&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=MODIFIED\
&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&\
bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&\
fixed_in_type=allwordssubstr&fixed_in=&qa_whiteboard_type=allwordssubstr&\
qa_whiteboard=&devel_whiteboard_type=allwordssubstr&devel_whiteboard=&\
keywords_type=allwords&keywords=&cust_facing=&cust_facing_type=substring&\
bugidtype=include&bug_id=&emailassigned_to1=1&emailtype1=exact&email1=&\
emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&\
emailtype2=exact&email2=&votes=&changedin=&chfieldfrom=&chfieldto=Now&\
chfieldvalue=&cmdtype=doit&order=Reuse%20same%20sort%20as%20last%20time&\
field0-0-0=component&type0-0-0=equals&value0-0-0=%s

(search all bugs with given component)

Of course, the further clearing up of unnecessary and default parts of the URL
is in order, but doing so is left as an excercise for the reader.

Matěj