chiark / gitweb /
add redhat
[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     redhat)
23         ROOT='http://bugzilla.redhat.com/bugzilla'
24         ;;
25     *)
26         echo "Unknown Bugzilla installation '$1'. Recognized are:" >&2
27         echo '  subversion' >&2
28         echo '  openssh' >&2
29         echo '  warthogs' >&2
30         echo '  ubuntu' >&2
31         echo '  gnome' >&2
32         echo '  mozilla' >&2
33         echo '  redhat' >&2
34         exit 1
35         ;;
36 esac
37
38 ${BROWSER:-w3m} "$ROOT/show_bug.cgi?id=$2"