irspy-moved-to-github.git
11 years agocleanup
Wolfram Schneider [Tue, 3 Sep 2013 09:45:11 +0000 (09:45 +0000)]
cleanup

11 years agoignore *.bak and *.old files
Wolfram Schneider [Wed, 14 Aug 2013 13:19:13 +0000 (13:19 +0000)]
ignore *.bak and *.old files

11 years agocorrect test definition order
Wolfram Schneider [Wed, 14 Aug 2013 13:18:33 +0000 (13:18 +0000)]
correct test definition order

11 years agoperl syntax error. Argh!
Wolfram Schneider [Wed, 14 Aug 2013 13:17:14 +0000 (13:17 +0000)]
perl syntax error. Argh!

11 years agopermissions
Wolfram Schneider [Wed, 14 Aug 2013 11:12:15 +0000 (13:12 +0200)]
permissions

11 years agovery basic test
Wolfram Schneider [Wed, 14 Aug 2013 11:11:24 +0000 (13:11 +0200)]
very basic test

11 years agoskip test if no zebra is running on localhost:8018
Wolfram Schneider [Wed, 14 Aug 2013 11:07:08 +0000 (13:07 +0200)]
skip test if no zebra is running on localhost:8018

We need this for jenkins regression tests

11 years agoif ZOOM::IRSpy was not installed yet, use the version from ./lib
Wolfram Schneider [Wed, 14 Aug 2013 11:02:23 +0000 (13:02 +0200)]
if ZOOM::IRSpy was not installed yet, use the version from ./lib

11 years agorebuild with `make manifest'
Wolfram Schneider [Wed, 14 Aug 2013 08:21:18 +0000 (08:21 +0000)]
rebuild with `make manifest'

11 years agoallow bin/setrlimit.c
Wolfram Schneider [Wed, 14 Aug 2013 08:20:59 +0000 (08:20 +0000)]
allow bin/setrlimit.c

11 years agoignore *.bak files and generated ./Makefile
Wolfram Schneider [Wed, 14 Aug 2013 08:16:11 +0000 (08:16 +0000)]
ignore *.bak files and generated ./Makefile

11 years agoadd to MANIFEST: bin/irspy-nagios.pl
Wolfram Schneider [Wed, 14 Aug 2013 08:10:36 +0000 (08:10 +0000)]
add to MANIFEST: bin/irspy-nagios.pl

11 years agoadd to MANIFEST: etc/irspy-px
Wolfram Schneider [Wed, 14 Aug 2013 08:08:39 +0000 (08:08 +0000)]
add to MANIFEST: etc/irspy-px

11 years agoset MaxClients 32, SA-457
Wolfram Schneider [Tue, 13 Aug 2013 16:44:06 +0000 (16:44 +0000)]
set MaxClients 32, SA-457

I run a performance test and run 100 parallel requests.
The machine swapped and crashed. I set a limit of 32 running scripts.

11 years agogzip html and xml output
Wolfram Schneider [Tue, 13 Aug 2013 16:33:35 +0000 (16:33 +0000)]
gzip html and xml output

toroid output will be up to 15 times smaller

11 years agomap /toroid/world to CGI script irspy-toroid.cgi
Wolfram Schneider [Tue, 13 Aug 2013 16:09:12 +0000 (16:09 +0000)]
map /toroid/world to CGI script irspy-toroid.cgi

11 years agomove everything under /home/indexdata
Wolfram Schneider [Tue, 13 Aug 2013 15:16:12 +0000 (15:16 +0000)]
move everything under /home/indexdata

(was  /usr/local/src/git/irspy )

11 years agoshow full path of config file in ps(1) output
Wolfram Schneider [Tue, 13 Aug 2013 15:02:12 +0000 (15:02 +0000)]
show full path of config file in ps(1) output

11 years agoruns on new VM berwick
Wolfram Schneider [Tue, 13 Aug 2013 15:01:15 +0000 (15:01 +0000)]
runs on new VM berwick

11 years agonew dump import
Wolfram Schneider [Tue, 13 Aug 2013 14:51:50 +0000 (14:51 +0000)]
new dump import

11 years agoimport front-end apache config for irspy
Wolfram Schneider [Tue, 13 Aug 2013 14:48:30 +0000 (14:48 +0000)]
import front-end apache config for irspy

11 years agoDescribe IR-338 changes.
Mike Taylor [Mon, 25 Mar 2013 22:02:30 +0000 (22:02 +0000)]
Describe IR-338 changes.

11 years agoResolve
Mike Taylor [Mon, 25 Mar 2013 22:01:22 +0000 (22:01 +0000)]
Resolve

11 years agoDo not return TEST_BAD when diagnostic is 1 (permanent system error).
Mike Taylor [Mon, 25 Mar 2013 18:04:20 +0000 (18:04 +0000)]
Do not return TEST_BAD when diagnostic is 1 (permanent system error).
Fixes the second part of IR-338.

This probably needs some deeper thought. There seems to be some
uncertainty over whether returning TEST_BAD means "skip the rest of
this test" (which is what was intended here) or "skip this and all
sibling tests" (which is what's implemented). Do ANY instances of
TEST_BAD intend the latter? If not, we can just change the behaviour.

11 years agoBetter logging when skipping tests.
Mike Taylor [Mon, 25 Mar 2013 18:00:22 +0000 (18:00 +0000)]
Better logging when skipping tests.
Fixes part of IR-338.

11 years agoAdd comment
Mike Taylor [Mon, 25 Mar 2013 16:15:53 +0000 (16:15 +0000)]
Add comment

11 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/irspy
Mike Taylor [Fri, 22 Mar 2013 09:34:51 +0000 (09:34 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/irspy

11 years agoIgnore Wolfram's log symlink
Mike Taylor [Fri, 22 Mar 2013 09:32:58 +0000 (09:32 +0000)]
Ignore Wolfram's log symlink

11 years agoSomeone evidently commented out the ServerAlias line. But I don't know why that was...
Mike Taylor [Fri, 22 Mar 2013 09:31:43 +0000 (09:31 +0000)]
Someone evidently commented out the ServerAlias line. But I don't know why that was ever added, so I'm cool with it. CHECK IN YOUR CHANGES, PEOPLE.

11 years agoneed a nagios alert script to check irspy updates, IR-336
Wolfram Schneider [Mon, 18 Mar 2013 11:09:43 +0000 (11:09 +0000)]
need a nagios alert script to check irspy updates, IR-336

11 years agoRegister the "irspy_data" log-level.
Mike Taylor [Thu, 14 Mar 2013 13:15:54 +0000 (13:15 +0000)]
Register the "irspy_data" log-level.

11 years agoAdd comment on "irspy_data" logging level
Mike Taylor [Thu, 14 Mar 2013 13:12:18 +0000 (13:12 +0000)]
Add comment on "irspy_data" logging level

11 years agoFix typo in Explain test.
Mike Taylor [Thu, 3 Jan 2013 15:55:13 +0000 (15:55 +0000)]
Fix typo in Explain test.

11 years agoTest::Search::Explain no longer returns TEST_BAD when the IR-Explain-1
Mike Taylor [Fri, 21 Dec 2012 16:20:19 +0000 (16:20 +0000)]
Test::Search::Explain no longer returns TEST_BAD when the IR-Explain-1
database doesn't exist: the test is not "bad" in the IRSpy sense that
other tests at the same level need to be skipped, but has completed
successfully (and determined that Explain is not supported).

11 years agoLogging of sikppped tests raised from irspy_debug level to irspy_test.
Mike Taylor [Thu, 20 Dec 2012 14:20:27 +0000 (14:20 +0000)]
Logging of sikppped tests raised from irspy_debug level to irspy_test.

11 years agocql_quote() encloses strings that contain backslash in quotes.
Mike Taylor [Thu, 20 Dec 2012 12:40:23 +0000 (12:40 +0000)]
cql_quote() encloses strings that contain backslash in quotes.

11 years agoRevert last commit, I don't know WHAT I was thinking.
Mike Taylor [Thu, 20 Dec 2012 12:38:15 +0000 (12:38 +0000)]
Revert last commit, I don't know WHAT I was thinking.

11 years agoAdd PiggyBack to main test.
Mike Taylor [Wed, 19 Dec 2012 12:39:16 +0000 (12:39 +0000)]
Add PiggyBack to main test.

11 years agoFix display of piggybacking support.
Mike Taylor [Wed, 19 Dec 2012 12:07:58 +0000 (12:07 +0000)]
Fix display of piggybacking support.

11 years agoFix handling of piggybacking errors not to break on success!
Mike Taylor [Wed, 19 Dec 2012 12:07:35 +0000 (12:07 +0000)]
Fix handling of piggybacking errors not to break on success!

11 years agoRolling changes.
Mike Taylor [Wed, 19 Dec 2012 12:06:43 +0000 (12:06 +0000)]
Rolling changes.

11 years agoSupport new "irspy_data" log-level to register information written to
Mike Taylor [Wed, 19 Dec 2012 12:06:27 +0000 (12:06 +0000)]
Support new "irspy_data" log-level to register information written to
target description record.

11 years agoMove location of skipped Pod.pm
Mike Taylor [Wed, 19 Dec 2012 11:16:45 +0000 (11:16 +0000)]
Move location of skipped Pod.pm

11 years agoRolling changes.
Mike Taylor [Wed, 19 Dec 2012 11:15:27 +0000 (11:15 +0000)]
Rolling changes.

11 years agoMove aside
Mike Taylor [Wed, 19 Dec 2012 11:14:45 +0000 (11:14 +0000)]
Move aside

11 years agoResolve
Mike Taylor [Wed, 19 Dec 2012 10:04:25 +0000 (10:04 +0000)]
Resolve

11 years agoRolling changes.
Mike Taylor [Wed, 19 Dec 2012 10:03:17 +0000 (10:03 +0000)]
Rolling changes.

11 years agoIDs used in URLs for full-record links are properly CQL-quoted.
Mike Taylor [Wed, 19 Dec 2012 10:00:52 +0000 (10:00 +0000)]
IDs used in URLs for full-record links are properly CQL-quoted.
Fixes part of IR-303.

11 years agoAdd Piggyback searching line to full-record display.
Mike Taylor [Wed, 19 Dec 2012 10:00:18 +0000 (10:00 +0000)]
Add Piggyback searching line to full-record display.

11 years agoAdd XSLT rule to store piggyback result in ZeeRex record.
Mike Taylor [Mon, 17 Dec 2012 14:47:01 +0000 (14:47 +0000)]
Add XSLT rule to store piggyback result in ZeeRex record.

11 years agoRolling changes.
Mike Taylor [Mon, 17 Dec 2012 14:43:53 +0000 (14:43 +0000)]
Rolling changes.

11 years agoAdd Record::PiggyBack test to manifest.
Mike Taylor [Mon, 17 Dec 2012 14:42:01 +0000 (14:42 +0000)]
Add Record::PiggyBack test to manifest.

11 years agoIgnore generated file MYMETA.yml
Mike Taylor [Mon, 17 Dec 2012 14:41:15 +0000 (14:41 +0000)]
Ignore generated file MYMETA.yml

11 years agoChange Quick test to probe piggybacking.
Mike Taylor [Mon, 17 Dec 2012 14:40:31 +0000 (14:40 +0000)]
Change Quick test to probe piggybacking.

11 years agoNew test, Record::PiggyBack.
Mike Taylor [Mon, 17 Dec 2012 14:39:09 +0000 (14:39 +0000)]
New test, Record::PiggyBack.
Part of bug IR-333.

11 years agodependency libxml-libxml-common-perl replaced by libxml-libxml-perl
John Malconian [Fri, 14 Dec 2012 15:40:38 +0000 (15:40 +0000)]
dependency libxml-libxml-common-perl replaced by libxml-libxml-perl

11 years agoRolling changes.
Mike Taylor [Wed, 12 Dec 2012 15:17:00 +0000 (15:17 +0000)]
Rolling changes.

11 years agoCheck that record returned in piggyback after OPAC-record request
Mike Taylor [Wed, 12 Dec 2012 15:15:57 +0000 (15:15 +0000)]
Check that record returned in piggyback after OPAC-record request
really is an OPAC record. Fixes bug IR-331.

11 years agoRolling changes.
Mike Taylor [Wed, 12 Dec 2012 09:32:31 +0000 (09:32 +0000)]
Rolling changes.

11 years agoRecord::Fetch test registers a fail when the syntax actually retrieved
Mike Taylor [Wed, 12 Dec 2012 09:32:12 +0000 (09:32 +0000)]
Record::Fetch test registers a fail when the syntax actually retrieved
does not match that requested. Fixes bug IR-324.

11 years agoQuick test now runs only Ping and Record::Fetch.
Mike Taylor [Wed, 12 Dec 2012 09:30:50 +0000 (09:30 +0000)]
Quick test now runs only Ping and Record::Fetch.

11 years agoWrite up not-recent changes.
Mike Taylor [Fri, 7 Dec 2012 16:04:43 +0000 (17:04 +0100)]
Write up not-recent changes.

11 years agoAdd bin/irspy-xpath.pl and etc/dallas.rules to MANIFEST.
Mike Taylor [Fri, 7 Dec 2012 16:03:31 +0000 (17:03 +0100)]
Add bin/irspy-xpath.pl and etc/dallas.rules to MANIFEST.

12 years agoblock bot rogerbot for all URLs
Wolfram Schneider [Fri, 27 Jan 2012 11:58:48 +0000 (11:58 +0000)]
block bot rogerbot for all URLs

13 years agoDescribe xslt_max_depth hack.
Mike Taylor [Tue, 4 Jan 2011 13:33:55 +0000 (13:33 +0000)]
Describe xslt_max_depth hack.

13 years agoSet $ZOOM::IRSpy::xslt_max_depth to 3500 ... ugh.
Mike Taylor [Tue, 4 Jan 2011 13:31:39 +0000 (13:31 +0000)]
Set $ZOOM::IRSpy::xslt_max_depth to 3500 ... ugh.

13 years agoRemoved zoom-delete-records.pl -- use zoom-delete-records from the ZOOM-Perl distribu...
Mike Taylor [Thu, 16 Dec 2010 23:22:08 +0000 (23:22 +0000)]
Removed zoom-delete-records.pl -- use zoom-delete-records from the ZOOM-Perl distribution instead

13 years agoFix hashbang
Mike Taylor [Thu, 16 Dec 2010 22:39:11 +0000 (22:39 +0000)]
Fix hashbang

13 years agoChange sample command-line.
Mike Taylor [Thu, 16 Dec 2010 22:28:16 +0000 (22:28 +0000)]
Change sample command-line.

13 years agoRename
Mike Taylor [Thu, 16 Dec 2010 22:27:52 +0000 (22:27 +0000)]
Rename

13 years agoAdd $deleteXPath and useful sample command-line.
Mike Taylor [Thu, 16 Dec 2010 22:26:22 +0000 (22:26 +0000)]
Add $deleteXPath and useful sample command-line.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Mike Taylor [Thu, 16 Dec 2010 17:36:30 +0000 (17:36 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

13 years agoNew
Mike Taylor [Thu, 16 Dec 2010 17:35:34 +0000 (17:35 +0000)]
New

14 years agoWeb-based tests now apply configured rule-sets before running. At
Mike Taylor [Thu, 30 Sep 2010 13:18:01 +0000 (14:18 +0100)]
Web-based tests now apply configured rule-sets before running.  At
present there is only one rule-set.

14 years agoCount skipped tests.
Mike Taylor [Thu, 30 Sep 2010 13:17:17 +0000 (14:17 +0100)]
Count skipped tests.

14 years agoWhen skipping a test due to a rule, note this with the proper logging
Mike Taylor [Thu, 30 Sep 2010 13:15:53 +0000 (14:15 +0100)]
When skipping a test due to a rule, note this with the proper logging
mechanism, not just a warn() that goes to the server log.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Mike Taylor [Thu, 30 Sep 2010 12:53:47 +0000 (13:53 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

14 years agoUse dallas.rule.
Mike Taylor [Thu, 30 Sep 2010 12:53:19 +0000 (13:53 +0100)]
Use dallas.rule.

14 years agoComment is out of date
Wolfram Schneider [Thu, 30 Sep 2010 12:51:20 +0000 (12:51 +0000)]
Comment is out of date

14 years agoRolling.
Mike Taylor [Mon, 6 Sep 2010 16:45:02 +0000 (17:45 +0100)]
Rolling.

14 years agoSet variables in the IRSpy object for the implementation name, ID and
Mike Taylor [Mon, 6 Sep 2010 16:43:27 +0000 (17:43 +0100)]
Set variables in the IRSpy object for the implementation name, ID and
version.  These can subsequently be checked by rules.

14 years agoSupport for rules files, and specifically for the "skip" rule:
Mike Taylor [Mon, 6 Sep 2010 16:42:44 +0000 (17:42 +0100)]
Support for rules files, and specifically for the "skip" rule:

IRSpy object now has an array of 0 or more rules.
New method apply_rules() to parse rules for later application [misnamed].
IRSpy object now has a set of name=>value variables.
New method var() for setting and getting variables.
New method should_skip_test() consults rules for a named test.
Skip a named test if a rule says to do so.
Some fiddling with split() calls to avoid confusing Emacs's Perl mode.
Add die() calls to the methods _last_sibling_test() and
_next_sibling_test() which seem never to be called.  Assuming
they don't start firing, I will remove these methods soon.

14 years agoInclude Search::CQL in the "Quick" test (for now) so I can test the
Mike Taylor [Mon, 6 Sep 2010 16:39:20 +0000 (17:39 +0100)]
Include Search::CQL in the "Quick" test (for now) so I can test the
ability to skip tests dependent on rules.

14 years agoNew file dallas.rules, first example of an IRSpy rules file.
Mike Taylor [Mon, 6 Sep 2010 16:38:35 +0000 (17:38 +0100)]
New file dallas.rules, first example of an IRSpy rules file.
Include documentation of format, explained as comments.

14 years agoUpdate sample command-line comment for moved rules file.
Mike Taylor [Mon, 6 Sep 2010 16:38:09 +0000 (17:38 +0100)]
Update sample command-line comment for moved rules file.

14 years agoSupport new -r <rulesFile> option to read and apply rules file.
Mike Taylor [Mon, 6 Sep 2010 16:36:59 +0000 (17:36 +0100)]
Support new -r <rulesFile> option to read and apply rules file.
Add new sample command-line showing how to use rules files.

14 years agoX-any1017 Bath-profile search now correctly uses @attr 1=1017.
Mike Taylor [Fri, 23 Jul 2010 13:10:34 +0000 (14:10 +0100)]
X-any1017 Bath-profile search now correctly uses @attr 1=1017.

14 years agoTODOs become DONEs for next release.
Mike Taylor [Thu, 22 Jul 2010 16:03:30 +0000 (17:03 +0100)]
TODOs become DONEs for next release.

14 years agoGeneralise to handle incompletely specified searches.
Mike Taylor [Thu, 22 Jul 2010 16:02:48 +0000 (17:02 +0100)]
Generalise to handle incompletely specified searches.
Probe fallback searches for author, title, etc., for use when Bath
Profile searches don't work.

14 years agoReinstate so-called Bath search as part of Quick suite.
Mike Taylor [Thu, 22 Jul 2010 16:02:12 +0000 (17:02 +0100)]
Reinstate so-called Bath search as part of Quick suite.

14 years agocalc_reliability_stats() uses only probes within last 60 days.
Mike Taylor [Wed, 21 Jul 2010 18:13:17 +0000 (19:13 +0100)]
calc_reliability_stats() uses only probes within last 60 days.

14 years agocalc_reliability_stats() now works by inspecting each probe element.
Mike Taylor [Wed, 21 Jul 2010 18:06:09 +0000 (19:06 +0100)]
calc_reliability_stats() now works by inspecting each probe element.

14 years agoNew file, irspy-xpath.pl
Mike Taylor [Wed, 21 Jul 2010 15:29:13 +0000 (16:29 +0100)]
New file, irspy-xpath.pl

14 years agoUpdate description of reliability.
Mike Taylor [Wed, 21 Jul 2010 11:33:22 +0000 (12:33 +0100)]
Update description of reliability.

14 years agoAdd sort-index for reliability.
Mike Taylor [Wed, 21 Jul 2010 08:40:46 +0000 (09:40 +0100)]
Add sort-index for reliability.
Happily, this seems to sort numerically rather than lexicographically,
although as far as I can tell I've not put anything in the file to
indicate that that's what I wanted.

14 years agoInclude option to sort on reliability.
Mike Taylor [Wed, 21 Jul 2010 08:39:59 +0000 (09:39 +0100)]
Include option to sort on reliability.

14 years agoAdd comment showing how to set username/password.
Mike Taylor [Wed, 21 Jul 2010 08:35:01 +0000 (09:35 +0100)]
Add comment showing how to set username/password.

14 years agoNote things to do.
Mike Taylor [Tue, 20 Jul 2010 14:07:33 +0000 (15:07 +0100)]
Note things to do.

14 years agoRolling
Mike Taylor [Tue, 20 Jul 2010 13:57:52 +0000 (14:57 +0100)]
Rolling

14 years agoAdd Search::Bath to Search::Main test.
Mike Taylor [Tue, 20 Jul 2010 13:57:35 +0000 (14:57 +0100)]
Add Search::Bath to Search::Main test.