chiark / gitweb /
ubuntu-daily: flip -a semantics to mean --authenticated, not --anonymous
[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     kernel)
26         ROOT='http://bugzilla.kernel.org'
27         ;;
28     freedesktop)
29         ROOT='http://bugs.freedesktop.org'
30         ;;
31     *)
32         echo "Unknown Bugzilla installation '$1'. Recognized are:" >&2
33         echo '  subversion' >&2
34         echo '  openssh' >&2
35         echo '  warthogs' >&2
36         echo '  ubuntu' >&2
37         echo '  gnome' >&2
38         echo '  mozilla' >&2
39         echo '  redhat' >&2
40         echo '  kernel' >&2
41         echo '  freedesktop' >&2
42         exit 1
43         ;;
44 esac
45
46 ${BROWSER:-w3m} "$ROOT/show_bug.cgi?id=$2"