[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Update debian package search



Hi Katsumi,

The attached small patch updates the URL for searching debian packages.

It also illustrates the output of 'cvs diff -u w3m-search.el Changelog'.
If, on the project side, this is an easy format to accept, I would add
the obvious comment that it was much easier than my former method of
manually keeping a copy of each file being changed, and manually
diff-ing each.

Regards,

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
Index: w3m-search.el
===================================================================
RCS file: /storage/cvsroot/emacs-w3m/w3m-search.el,v
retrieving revision 1.81
diff -u -r1.81 w3m-search.el
--- w3m-search.el	28 Jun 2017 00:53:11 -0000	1.81
+++ w3m-search.el	2 Aug 2017 06:24:08 -0000
@@ -166,8 +166,7 @@
        "https://rpmfind.net/linux/rpm2html/search.php?query=%s";
        nil)
       ("debian-pkg"
-       "https://packages.debian.org/cgi-bin/search_contents.pl\
-?directories=yes&arch=i386&version=unstable&case=insensitive&word=%s")
+       "https://packages.debian.org/search?&searchon=names&suite=stable&section=all&arch=amd64&keywords=%s";)
       ("debian-bts"
        "https://bugs.debian.org/cgi-bin/pkgreport.cgi?archive=yes&pkg=%s";)
       ("freebsd-users-jp"
Index: ChangeLog
===================================================================
RCS file: /storage/cvsroot/emacs-w3m/ChangeLog,v
retrieving revision 1.3604
diff -u -r1.3604 ChangeLog
--- ChangeLog	28 Jul 2017 01:42:20 -0000	1.3604
+++ ChangeLog	2 Aug 2017 06:24:11 -0000
@@ -1,3 +1,9 @@
+2017-08-02  Boruch Baum  <boruch_baum@xxxxxxx>
+
+	* w3m-search.el (w3m-search-engine-alist): Update URL for debian
+	package search, and change its default parameters from i386
+	architecture to amd64.
+
 2017-07-28  defanor  <defanor@xxxxxxxxxxxxx>
 
 	"google feeling lucky" to "feeling searchy" ([emacs-w3m:12774])