You are not logged in.
Not exactly a contribution, but I didn't know where else to put it.
I modified arch-bugs.src from arch-firefox-search package to search the Arch bugtracker for a given string instead of a ticket number.
<search
name="ArchBugs (by name)"
description="ArchBugs (by name)"
method="GET"
action="http://bugs.archlinux.org/index.php"
queryCharset="utf-8"
>
<input name="string" user>
<input name="project" value="0">
<input name="do" value="index">
<interpret
browserResultType="result"
charset = "UTF-8"
resultListStart="<!--a-->"
resultListEnd="<!--z-->"
resultItemStart="<!--m-->"
resultItemEnd="<!--n-->"
>
</search>
<browser
update="arch-bugs-name.src"
updateIcon="arch-bugs-name.gif"
updateCheckDays="0"
>
This is the result:
http://bugs.archlinux.org/index.php?string=kernel&project=0&search_name=&type[]=&sev[]=&pri[]=&due[]=&reported[]=&cat[]=&status[]=open&percent[]=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=&do=index
'string=kernel' means I want to search for tickets with 'kernel' in their summary. 'project=0' means I want to search in all projects as opposed to e.g. pacman-only.
Is there a way to specify other variables from the commandline? I would like to enter e.g. 'kernel 3' and limit my search to pacman project (project=3). I understand that it may be difficult to accommodate 'kernel intel 3'-type searches, but maybe sth like'"kernel intel" 3' or 'kernel intel #3'?
Is there a way of specifying different fields of user input?
I know I can create a bunch of different search-engine plugins w/ different values
<input name="project" value="0">
and name them bug0, bug3 etc.
Last edited by karol (2010-07-22 19:19:17)
Offline