From: Colin Watson Date: Sun, 19 Oct 2003 12:21:43 +0000 (+0000) Subject: bugzilla-show: New script to read a bug in any of several Bugzilla X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=commitdiff_plain;h=5c56680aab277cc033d7bf141fb6b8259c3f5455;hp=c750295af1ae879b6aa974bd750cd101eb54fc12 bugzilla-show: New script to read a bug in any of several Bugzilla installations. --- diff --git a/bugzilla-show b/bugzilla-show new file mode 100755 index 0000000..feedded --- /dev/null +++ b/bugzilla-show @@ -0,0 +1,18 @@ +#! /bin/sh -e + +case $1 in + subversion) + ROOT='http://subversion.tigris.org/issues' + ;; + openssh) + ROOT='http://bugzilla.mindrot.org' + ;; + *) + echo "Unknown Bugzilla installation '$1'. Recognized are:" >&2 + echo ' subversion' >&2 + echo ' openssh' >&2 + exit 1 + ;; +esac + +${BROWSER:-w3m} "$ROOT/show_bug.cgi?id=$2"