chiark / gitweb /
add architecture comments; add hppa
[bin.git] / bugzilla-show
1 #! /bin/sh -e
2
3 case $1 in
4     subversion)
5         ROOT='http://subversion.tigris.org/issues'
6         ;;
7     openssh)
8         ROOT='http://bugzilla.mindrot.org'
9         ;;
10     warthogs)
11         ROOT='http://bugzilla.warthogs.hbd.com/bugzilla'
12         ;;
13     ubuntu)
14         ROOT='http://bugzilla.ubuntu.com'
15         ;;
16     gnome)
17         ROOT='http://bugs.gnome.org'
18         ;;
19     mozilla)
20         ROOT='http://bugzilla.mozilla.org'
21         ;;
22     *)
23         echo "Unknown Bugzilla installation '$1'. Recognized are:" >&2
24         echo '  subversion' >&2
25         echo '  openssh' >&2
26         echo '  warthogs' >&2
27         echo '  ubuntu' >&2
28         echo '  gnome' >&2
29         echo '  mozilla' >&2
30         exit 1
31         ;;
32 esac
33
34 ${BROWSER:-w3m} "$ROOT/show_bug.cgi?id=$2"