chiark / gitweb /
--ignore-missing-release for non-US, due to missing
[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     *)
20         echo "Unknown Bugzilla installation '$1'. Recognized are:" >&2
21         echo '  subversion' >&2
22         echo '  openssh' >&2
23         echo '  warthogs' >&2
24         echo '  ubuntu' >&2
25         echo '  gnome' >&2
26         exit 1
27         ;;
28 esac
29
30 ${BROWSER:-w3m} "$ROOT/show_bug.cgi?id=$2"