[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-175-g7688649
Ian Beckwith
ianb at erislabs.net
Thu Mar 3 23:40:50 UTC 2011
The following commit has been merged in the master branch:
commit 2f36459831bc644e156035040491faa948b5426e
Author: Ian Beckwith <ianb at erislabs.net>
Date: Thu Mar 3 23:04:28 2011 +0000
bugzilla: fix url, enable redhat
diff --git a/ChangeLog b/ChangeLog
index 26019d9..02da82e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -21,6 +21,9 @@
-search={images,videos,maps,news}.
* debcontents, debpackages: update docs for new arches and
distributions.
+ * bugzilla:
+ + fix url so it works with redhat & eclipse bugzillas too.
+ + enable -s=redhat.
2011-02-20 Ian Beckwith <ianb at erislabs.net>
diff --git a/elvi/bugzilla b/elvi/bugzilla
index d1622c4..97f66fd 100755
--- a/elvi/bugzilla
+++ b/elvi/bugzilla
@@ -70,8 +70,8 @@ case "$SURFRAW_bugzilla_site" in
kde) setopt SURFRAW_bugzilla_site "http://bugs.kde.org" ;;
apache) setopt SURFRAW_bugzilla_site "http://issues.apache.org/bugzilla" ;;
freedesktop) setopt SURFRAW_bugzilla_site "http://bugs.freedesktop.org" ;;
- eclipse) setopt SURFRAW_bugzilla_site "http://bugs.eclipse.org/bugs" ;;
-# redhat) setopt SURFRAW_bugzilla_site "http://bugzilla.redhat.com/bugzilla" ;;
+ eclipse) setopt SURFRAW_bugzilla_site "https://bugs.eclipse.org/bugs" ;;
+ redhat) setopt SURFRAW_bugzilla_site "http://bugzilla.redhat.com/bugzilla" ;;
mandriva) setopt SURFRAW_bugzilla_site "http://qa.mandriva.com" ;;
gentoo) setopt SURFRAW_bugzilla_site "http://bugs.gentoo.org" ;;
novell) setopt SURFRAW_bugzilla_site "https://bugzilla.novell.com" ;;
@@ -81,7 +81,8 @@ if test -z "$w3_args"; then
w3_browse_url "${SURFRAW_bugzilla_site}/query.cgi?format=advanced"
else
escaped_args=`w3_url_of_arg $w3_args`
- params="quicksearch=${escaped_args}&bug_status=${SURFRAW_bugzilla_status}"
+# params="short_desc_type=allwordssubstr&short_desc=${escaped_args}&bug_status=${SURFRAW_bugzilla_status}"
+ params="content=${escaped_args}&bug_status=${SURFRAW_bugzilla_status}"
params="${params}&product=${SURFRAW_bugzilla_product}"
w3_browse_url "${SURFRAW_bugzilla_site}/buglist.cgi?${params}"
fi
diff --git a/test/bugzilla.test b/test/bugzilla.test
index b001401..33cd491 100644
--- a/test/bugzilla.test
+++ b/test/bugzilla.test
@@ -18,3 +18,5 @@ bugzilla -s=gentoo ipv6
bugs found
bugzilla -s=novell ipv6
bugs found
+bugzilla -s=redhat ipv6
+bugs found
--
surfraw - a fast unix command line interface to WWW
More information about the Surfraw-commits
mailing list