[Surfraw-commits] [surfraw] 03/03: removed codesearch and scitopia, both services shutdown
Ian Beckwith
ianb at moszumanska.debian.org
Mon Dec 9 15:07:08 UTC 2013
This is an automated email from the git hooks/post-receive script.
ianb pushed a commit to branch 2.2.9_release_candidate
in repository surfraw.
commit df2e907d280d62e4cd260c770412ee5322a88fd0
Author: Ian Beckwith <ianb at erislabs.net>
Date: Mon Dec 9 15:07:02 2013 +0000
removed codesearch and scitopia, both services shutdown
---
ChangeLog | 8 ++++
NEWS | 1 +
elvi/codesearch | 105 ---------------------------------------------------
elvi/scitopia | 23 -----------
test/codesearch.test | 1 -
test/scitopia.test | 1 -
6 files changed, 9 insertions(+), 130 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 10b9002..730fdd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-12-09 Ian Beckwith <ianb at erislabs.net>
+
+ * deja: disable tests, google groups now requires javascript.
+ * gmane: fix test.
+ * codesearch: removed, service shut down.
+ * scitopia: removed, service shut down.
+ * scicom: down, status unknown, made note in NEWS.
+
2013-12-08 Ian Beckwith <ianb at erislabs.net>
* new elvi: gmane
diff --git a/NEWS b/NEWS
index 30436d8..b689c72 100644
--- a/NEWS
+++ b/NEWS
@@ -59,6 +59,7 @@ Sun Oct 6 02:17:09 BST 2013 - surfraw 2.2.9
* Known problems at time of release
+ deblogs - down (hopefully) temporarily
+ yacy - demo portal down, ScienceNet still up
+ + scicom - down, status unknown
Tue Jul 12 00:46:02 BST 2011 - surfraw 2.2.8
diff --git a/elvi/codesearch b/elvi/codesearch
deleted file mode 100755
index 3daa8c4..0000000
--- a/elvi/codesearch
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-# elvis: codesearch -- Search source code using Google Code Search (www.google.fr/codesearch)
-. surfraw || exit 1
-
-w3_config_hook () {
-def SURFRAW_codesearch_lang any
-def SURFRAW_codesearch_package ""
-def SURFRAW_codesearch_files ""
-def SURFRAW_codesearch_license any
-def SURFRAW_codesearch_class ""
-def SURFRAW_codesearch_function ""
-defyn SURFRAW_codesearch_case 0
-}
-
-w3_usage_hook () {
- cat <<EOF
-Usage: $w3_argv0 [options] [search words or regular expressions]...
-Description:
- Surfraw search source code using Google Code Search (www.google.fr/codesearch)
-Local options:
- -lang=LANG Limit search to programming language LANG
- Options:
- any (default), actionscript, ada applescript,
- asp, assembly, autoconf automake, awk, basic,
- bat, c, c++, c#, caja, cobol, coldfusion,
- configure, css, d, eiffel, erlang, fortran, go,
- haskell, inform, java, javascript, jsp, lex,
- limbo, lisp, lolcode, lua, m4, makefile, maple,
- mathematica, matlab, messagecatalog, modula2,
- modula3, objectivec, ocaml, pascal, perl, php,
- pod, prolog, proto, python, r, rebol, ruby,
- sas, scheme, scilab, shell, sgml, smalltalk,
- sql, sml, svg, swig, tcl, tex, texinfo, troff,
- verilog, vhdl, vim, xslt, xul, yacc
- -package=REGEXP Find code in packages matching REGEXP
- -files=REGEXP Find code in files matching REGEXP
- -license=LICENSE Find code with the specified license
- Options:
- any (default),aladdin, artistic, apache, apple,
- bsd, cpl, epl, agpl, gpl, lgpl, disclaimer,
- ibm, lucent, mit, mozilla, nasa, python, qpl,
- sleepycat, zope
- -class=CLASS Find code in a class matching CLASS
- -function=FUNC Find code in a function matching FUNC
- -case Case Sensitive matching
-EOF
- w3_global_usage
-}
-
-w3_parse_option_hook () {
- opt="$1"
- optarg="$2"
- case "$opt" in
- -pack*=*) setopt SURFRAW_codesearch_package $optarg ;;
- -fi*=*) setopt SURFRAW_codesearch_files $optarg ;;
- -ca*) setoptyn SURFRAW_codesearch_case 1 ;;
- -lan*=*) setopt SURFRAW_codesearch_lang $optarg ;;
- -li*=*) setopt SURFRAW_codesearch_license $optarg ;;
- -cl*=*) setopt SURFRAW_codesearch_class $optarg ;;
- -fu*=*) setopt SURFRAW_codesearch_function $optarg ;;
- *) return 1 ;;
- esac
- return 0
-}
-
-add_if_set()
-{
- if test -n "$1"; then
- echo "+$2:$1"
- fi
-}
-
-w3_config
-w3_parse_args "$@"
-# w3_args now contains a list of arguments
-if test -z "$w3_args"; then
- w3_browse_url "http://www.google.fr/codesearch"
-else
- escaped_args=`w3_url_of_arg $w3_args`
- case "$SURFRAW_codesearch_lang" in
- any) setopt SURFRAW_codesearch_lang "" ;;
- cplusplus) SURFRAW_codesearch_lang="%22c%2B%2B%22" ;;
- csharp) SURFRAW_codesearch_lang="c%23" ;;
- esac
-
- if [ "$SURFRAW_codesearch_license" = "any" ]; then
- setopt SURFRAW_codesearch_license ""
- else
- setopt SURFRAW_codesearch_license "^${SURFRAW_codesearch_license}\$"
- fi
-
- query="${escaped_args}"
- query="${query}$(add_if_set "$SURFRAW_codesearch_package" "package")"
- query="${query}$(add_if_set "$SURFRAW_codesearch_lang" "lang")"
- query="${query}$(add_if_set "$SURFRAW_codesearch_file" "file")"
- query="${query}$(add_if_set "$SURFRAW_codesearch_class" "class")"
- query="${query}$(add_if_set "$SURFRAW_codesearch_function" "function")"
- query="${query}$(add_if_set "$SURFRAW_codesearch_license" "license")"
- if ifyes SURFRAW_codesearch_case; then
- query="${query} case:yes"
- fi
-
- url="http://www.google.fr/codesearch#search/&q=${query}&type=cs"
- w3_browse_url "$url"
-fi
diff --git a/elvi/scitopia b/elvi/scitopia
deleted file mode 100755
index e77c4fb..0000000
--- a/elvi/scitopia
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-# elvis: scitopia -- Search for science with scitopia.org
-. surfraw || exit 1
-
-w3_usage_hook () {
- cat <<EOF
-Usage: $w3_argv0 [options] [search words]...
-Description:
- Surfraw search for science with scitopia.org
-EOF
- w3_global_usage
-}
-
-w3_config
-w3_parse_args "$@"
-# w3_args now contains a list of arguments
-
-if test -z "$w3_args"; then
- w3_browse_url "http://www.scitopia.org/scitopia/"
-else
- escaped_args=`w3_url_of_arg $w3_args`
- w3_browse_url "http://www.scitopia.org/scitopia/result-list/fullRecord:${escaped_args}"
-fi
diff --git a/test/codesearch.test b/test/codesearch.test
deleted file mode 100644
index 97bc447..0000000
--- a/test/codesearch.test
+++ /dev/null
@@ -1 +0,0 @@
-SKIP needs javascript
diff --git a/test/scitopia.test b/test/scitopia.test
deleted file mode 100644
index 97bc447..0000000
--- a/test/scitopia.test
+++ /dev/null
@@ -1 +0,0 @@
-SKIP needs javascript
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/surfraw/surfraw.git
More information about the Surfraw-commits
mailing list