irspy-moved-to-github.git
13 years agofix validation tests
Wolfram Schneider [Wed, 28 Apr 2010 15:47:26 +0000 (17:47 +0200)]
fix validation tests

13 years agotypo in last commit
Wolfram Schneider [Wed, 28 Apr 2010 15:42:12 +0000 (17:42 +0200)]
typo in last commit

13 years agotypo in last commit
Wolfram Schneider [Wed, 28 Apr 2010 15:42:12 +0000 (17:42 +0200)]
typo in last commit

13 years agoadd more tests for validate_record()
Wolfram Schneider [Wed, 28 Apr 2010 15:30:22 +0000 (17:30 +0200)]
add more tests for validate_record()

13 years agoadd more tests for validate_record()
Wolfram Schneider [Wed, 28 Apr 2010 15:30:22 +0000 (17:30 +0200)]
add more tests for validate_record()

13 years agofor debug=2 validate records and print a warning in case of problems.
Wolfram Schneider [Wed, 28 Apr 2010 15:21:30 +0000 (17:21 +0200)]
for debug=2 validate records and print a warning in case of problems.

13 years agofor debug=2 validate records and print a warning in case of problems.
Wolfram Schneider [Wed, 28 Apr 2010 15:21:30 +0000 (17:21 +0200)]
for debug=2 validate records and print a warning in case of problems.

13 years agoadd disabled mapping
Wolfram Schneider [Wed, 28 Apr 2010 15:19:11 +0000 (17:19 +0200)]
add disabled mapping

13 years agoadd disabled mapping
Wolfram Schneider [Wed, 28 Apr 2010 15:19:11 +0000 (17:19 +0200)]
add disabled mapping

13 years agostore disabled value in zebra
Wolfram Schneider [Wed, 28 Apr 2010 15:16:30 +0000 (17:16 +0200)]
store disabled value in zebra

13 years agostore disabled value in zebra
Wolfram Schneider [Wed, 28 Apr 2010 15:16:30 +0000 (17:16 +0200)]
store disabled value in zebra

13 years agoadd the field disabled:
Wolfram Schneider [Wed, 28 Apr 2010 15:15:14 +0000 (17:15 +0200)]
add the field disabled:

The target will not be tested automatically if set and is not zero.
This option is mainly for the administrator of IRSpy in case of trouble.

13 years agoadd the field disabled:
Wolfram Schneider [Wed, 28 Apr 2010 15:15:14 +0000 (17:15 +0200)]
add the field disabled:

The target will not be tested automatically if set and is not zero.
This option is mainly for the administrator of IRSpy in case of trouble.

13 years agodocument flag "disabled"
Wolfram Schneider [Wed, 28 Apr 2010 15:14:47 +0000 (17:14 +0200)]
document flag "disabled"

13 years agodocument flag "disabled"
Wolfram Schneider [Wed, 28 Apr 2010 15:14:47 +0000 (17:14 +0200)]
document flag "disabled"

13 years agonew function validate_record()
Wolfram Schneider [Wed, 28 Apr 2010 12:37:34 +0000 (14:37 +0200)]
new function validate_record()

13 years agonew function validate_record()
Wolfram Schneider [Wed, 28 Apr 2010 12:37:34 +0000 (14:37 +0200)]
new function validate_record()

13 years agorewritten to support more options
Wolfram Schneider [Tue, 27 Apr 2010 16:55:34 +0000 (18:55 +0200)]
rewritten to support more options

usage ./irspy-rewrite-records.pl [ options ] database

--xslt=../xsl/irspy2zeerex.xsl set xslt sheet
--debug=0..2               verbose level
--query=cql.allRecords=1

13 years agorewritten to support more options
Wolfram Schneider [Tue, 27 Apr 2010 16:55:34 +0000 (18:55 +0200)]
rewritten to support more options

usage ./irspy-rewrite-records.pl [ options ] database

--xslt=../xsl/irspy2zeerex.xsl set xslt sheet
--debug=0..2               verbose level
--query=cql.allRecords=1

13 years agouse lib '../lib';
Wolfram Schneider [Tue, 27 Apr 2010 16:39:33 +0000 (18:39 +0200)]
use lib '../lib';

13 years agouse lib '../lib';
Wolfram Schneider [Tue, 27 Apr 2010 16:39:33 +0000 (18:39 +0200)]
use lib '../lib';

13 years agoZero is a valid value for an tag. bug #3399
Wolfram Schneider [Tue, 27 Apr 2010 16:33:47 +0000 (18:33 +0200)]
Zero is a valid value for an tag. bug #3399

13 years agoZero is a valid value for an tag. bug #3399
Wolfram Schneider [Tue, 27 Apr 2010 16:33:47 +0000 (18:33 +0200)]
Zero is a valid value for an tag. bug #3399

13 years agoround reliability stats
Wolfram Schneider [Tue, 27 Apr 2010 16:13:54 +0000 (18:13 +0200)]
round reliability stats

13 years agoround reliability stats
Wolfram Schneider [Tue, 27 Apr 2010 16:13:54 +0000 (18:13 +0200)]
round reliability stats

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Tue, 27 Apr 2010 15:46:47 +0000 (15:46 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Tue, 27 Apr 2010 15:46:47 +0000 (15:46 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

13 years agoenable OPAC record syntax test again, see 8e8489f6c6191b3335adb1f1b285d9c7ad724023
Wolfram Schneider [Tue, 27 Apr 2010 15:46:19 +0000 (17:46 +0200)]
enable OPAC record syntax test again, see 8e8489f6c6191b3335adb1f1b285d9c7ad724023

13 years agoenable OPAC record syntax test again, see 8e8489f6c6191b3335adb1f1b285d9c7ad724023
Wolfram Schneider [Tue, 27 Apr 2010 15:46:19 +0000 (17:46 +0200)]
enable OPAC record syntax test again, see 8e8489f6c6191b3335adb1f1b285d9c7ad724023

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Tue, 27 Apr 2010 15:44:59 +0000 (15:44 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Tue, 27 Apr 2010 15:44:59 +0000 (15:44 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

13 years agoRequire a title (Name) for the target.
Wolfram Schneider [Tue, 27 Apr 2010 12:40:43 +0000 (14:40 +0200)]
Require a title (Name) for the target.

trim values before checking for id creation.

13 years agoRequire a title (Name) for the target.
Wolfram Schneider [Tue, 27 Apr 2010 12:40:43 +0000 (14:40 +0200)]
Require a title (Name) for the target.

trim values before checking for id creation.

13 years agonew function utf8paramTrim()
Wolfram Schneider [Tue, 27 Apr 2010 12:34:12 +0000 (14:34 +0200)]
new function utf8paramTrim()

13 years agonew function utf8paramTrim()
Wolfram Schneider [Tue, 27 Apr 2010 12:34:12 +0000 (14:34 +0200)]
new function utf8paramTrim()

13 years agocatch ctr-c before compressing the log
Wolfram Schneider [Tue, 27 Apr 2010 10:46:34 +0000 (10:46 +0000)]
catch ctr-c before compressing the log

13 years agocatch ctr-c before compressing the log
Wolfram Schneider [Tue, 27 Apr 2010 10:46:34 +0000 (10:46 +0000)]
catch ctr-c before compressing the log

13 years agoallow to override the test on the command line:
Wolfram Schneider [Tue, 27 Apr 2010 10:43:02 +0000 (10:43 +0000)]
allow to override the test on the command line:

env irspy_test=Quick ./irspy-update.sh

13 years agoallow to override the test on the command line:
Wolfram Schneider [Tue, 27 Apr 2010 10:43:02 +0000 (10:43 +0000)]
allow to override the test on the command line:

env irspy_test=Quick ./irspy-update.sh

13 years agouse the same weekday for all runs
Wolfram Schneider [Tue, 27 Apr 2010 10:39:50 +0000 (10:39 +0000)]
use the same weekday for all runs

otherwise the suffix may change for a overnight run

13 years agouse the same weekday for all runs
Wolfram Schneider [Tue, 27 Apr 2010 10:39:50 +0000 (10:39 +0000)]
use the same weekday for all runs

otherwise the suffix may change for a overnight run

13 years agono redundant timeouts logs
Wolfram Schneider [Mon, 26 Apr 2010 15:45:32 +0000 (15:45 +0000)]
no redundant timeouts logs

13 years agono redundant timeouts logs
Wolfram Schneider [Mon, 26 Apr 2010 15:45:32 +0000 (15:45 +0000)]
no redundant timeouts logs

13 years agocomplete error timeout handling for all tests
Wolfram Schneider [Mon, 26 Apr 2010 15:20:33 +0000 (17:20 +0200)]
complete error timeout handling for all tests

13 years agocomplete error timeout handling for all tests
Wolfram Schneider [Mon, 26 Apr 2010 15:20:33 +0000 (17:20 +0200)]
complete error timeout handling for all tests

13 years agocleanup debuging code from last commit
Wolfram Schneider [Mon, 26 Apr 2010 13:08:10 +0000 (15:08 +0200)]
cleanup debuging code from last commit

13 years agocleanup debuging code from last commit
Wolfram Schneider [Mon, 26 Apr 2010 13:08:10 +0000 (15:08 +0200)]
cleanup debuging code from last commit

13 years agoStop testing a target if we got to many timeouts (>= 3). See bug #3382
Wolfram Schneider [Mon, 26 Apr 2010 13:03:36 +0000 (15:03 +0200)]
Stop testing a target if we got to many timeouts (>= 3). See bug #3382

13 years agoStop testing a target if we got to many timeouts (>= 3). See bug #3382
Wolfram Schneider [Mon, 26 Apr 2010 13:03:36 +0000 (15:03 +0200)]
Stop testing a target if we got to many timeouts (>= 3). See bug #3382

13 years agotest
Wolfram Schneider [Fri, 23 Apr 2010 20:45:04 +0000 (22:45 +0200)]
test

13 years agotest
Wolfram Schneider [Fri, 23 Apr 2010 20:45:04 +0000 (22:45 +0200)]
test

13 years agotest
Wolfram Schneider [Fri, 23 Apr 2010 20:44:53 +0000 (22:44 +0200)]
test

13 years agotest
Wolfram Schneider [Fri, 23 Apr 2010 20:44:53 +0000 (22:44 +0200)]
test

13 years agotest
Wolfram Schneider [Fri, 23 Apr 2010 20:44:46 +0000 (22:44 +0200)]
test

13 years agotest
Wolfram Schneider [Fri, 23 Apr 2010 20:44:46 +0000 (22:44 +0200)]
test

13 years agoanother test
Wolfram Schneider [Fri, 23 Apr 2010 20:43:39 +0000 (22:43 +0200)]
another test

13 years agoanother test
Wolfram Schneider [Fri, 23 Apr 2010 20:43:39 +0000 (22:43 +0200)]
another test

13 years agospace
Wolfram Schneider [Fri, 23 Apr 2010 20:31:14 +0000 (22:31 +0200)]
space

13 years agospace
Wolfram Schneider [Fri, 23 Apr 2010 20:31:14 +0000 (22:31 +0200)]
space

13 years agospaces
Wolfram Schneider [Fri, 23 Apr 2010 20:30:39 +0000 (22:30 +0200)]
spaces

13 years agospaces
Wolfram Schneider [Fri, 23 Apr 2010 20:30:39 +0000 (22:30 +0200)]
spaces

13 years agodo not try to print more rows than available
Wolfram Schneider [Fri, 23 Apr 2010 15:42:08 +0000 (17:42 +0200)]
do not try to print more rows than available

13 years agodo not try to print more rows than available
Wolfram Schneider [Fri, 23 Apr 2010 15:42:08 +0000 (17:42 +0200)]
do not try to print more rows than available

13 years agoindex zeerex2index.xsl as words
Wolfram Schneider [Fri, 23 Apr 2010 15:36:09 +0000 (17:36 +0200)]
index zeerex2index.xsl as words

This solves the problem that you cannot search for record syntax "USmarc" if the
server response was in lowercase "usmarc"

13 years agoindex zeerex2index.xsl as words
Wolfram Schneider [Fri, 23 Apr 2010 15:36:09 +0000 (17:36 +0200)]
index zeerex2index.xsl as words

This solves the problem that you cannot search for record syntax "USmarc" if the
server response was in lowercase "usmarc"

13 years agoallow to set xslt sheet on commandline
Wolfram Schneider [Fri, 23 Apr 2010 15:35:37 +0000 (17:35 +0200)]
allow to set xslt sheet on commandline

13 years agoallow to set xslt sheet on commandline
Wolfram Schneider [Fri, 23 Apr 2010 15:35:37 +0000 (17:35 +0200)]
allow to set xslt sheet on commandline

13 years agofix permissions
Wolfram Schneider [Fri, 23 Apr 2010 15:25:39 +0000 (17:25 +0200)]
fix permissions

13 years agofix permissions
Wolfram Schneider [Fri, 23 Apr 2010 15:25:39 +0000 (17:25 +0200)]
fix permissions

13 years agosupport the system-wide env IRSpyDbName
Wolfram Schneider [Fri, 23 Apr 2010 15:24:24 +0000 (17:24 +0200)]
support the system-wide env IRSpyDbName

13 years agosupport the system-wide env IRSpyDbName
Wolfram Schneider [Fri, 23 Apr 2010 15:24:24 +0000 (17:24 +0200)]
support the system-wide env IRSpyDbName

13 years agonormalize recordSyntaxes and domains
Wolfram Schneider [Fri, 23 Apr 2010 15:20:24 +0000 (17:20 +0200)]
normalize recordSyntaxes and domains

13 years agonormalize recordSyntaxes and domains
Wolfram Schneider [Fri, 23 Apr 2010 15:20:24 +0000 (17:20 +0200)]
normalize recordSyntaxes and domains

13 years agodisplay more rows
Wolfram Schneider [Fri, 23 Apr 2010 15:11:54 +0000 (17:11 +0200)]
display more rows

- up to twenty most commonly supported Bib-1 Use attributes
- up to 30 'Record syntax' support by database, which means in practice all available

13 years agodisplay more rows
Wolfram Schneider [Fri, 23 Apr 2010 15:11:54 +0000 (17:11 +0200)]
display more rows

- up to twenty most commonly supported Bib-1 Use attributes
- up to 30 'Record syntax' support by database, which means in practice all available

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Fri, 23 Apr 2010 13:01:18 +0000 (15:01 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Fri, 23 Apr 2010 13:01:18 +0000 (15:01 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Fri, 23 Apr 2010 13:00:54 +0000 (13:00 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Fri, 23 Apr 2010 13:00:54 +0000 (13:00 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

13 years agorun only one instance of this script at a time
Wolfram Schneider [Fri, 23 Apr 2010 12:57:43 +0000 (12:57 +0000)]
run only one instance of this script at a time

implemented by a simple self-written lockfile. Do not use lockfile(1)
due a bug in debian packages, for details see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565613

13 years agorun only one instance of this script at a time
Wolfram Schneider [Fri, 23 Apr 2010 12:57:43 +0000 (12:57 +0000)]
run only one instance of this script at a time

implemented by a simple self-written lockfile. Do not use lockfile(1)
due a bug in debian packages, for details see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565613

13 years agodisable 'Test all targets', see bug #3386
Wolfram Schneider [Fri, 23 Apr 2010 12:21:12 +0000 (14:21 +0200)]
disable 'Test all targets', see bug #3386

13 years agodisable 'Test all targets', see bug #3386
Wolfram Schneider [Fri, 23 Apr 2010 12:21:12 +0000 (14:21 +0200)]
disable 'Test all targets', see bug #3386

13 years agoallow to override the irspy database on the command line
Wolfram Schneider [Fri, 23 Apr 2010 12:17:32 +0000 (14:17 +0200)]
allow to override the irspy database on the command line

e.g.: make IRSPY_DATABASE=localhost:8019/IR-Explain---1 dump

13 years agoallow to override the irspy database on the command line
Wolfram Schneider [Fri, 23 Apr 2010 12:17:32 +0000 (14:17 +0200)]
allow to override the irspy database on the command line

e.g.: make IRSPY_DATABASE=localhost:8019/IR-Explain---1 dump

13 years agorename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401
Wolfram Schneider [Fri, 23 Apr 2010 11:48:09 +0000 (13:48 +0200)]
rename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401

13 years agorename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401
Wolfram Schneider [Fri, 23 Apr 2010 11:48:09 +0000 (13:48 +0200)]
rename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401

14 years agomod_perl works only safe without threads
Wolfram Schneider [Wed, 21 Apr 2010 13:49:00 +0000 (15:49 +0200)]
mod_perl works only safe without threads

14 years agomod_perl works only safe without threads
Wolfram Schneider [Wed, 21 Apr 2010 13:49:00 +0000 (15:49 +0200)]
mod_perl works only safe without threads

14 years agodocumentation typo
Wolfram Schneider [Wed, 21 Apr 2010 13:33:10 +0000 (15:33 +0200)]
documentation typo

14 years agodocumentation typo
Wolfram Schneider [Wed, 21 Apr 2010 13:33:10 +0000 (15:33 +0200)]
documentation typo

14 years agostrips whitespaces at start and ends of fields: bug #3369
Wolfram Schneider [Wed, 21 Apr 2010 13:31:38 +0000 (15:31 +0200)]
strips whitespaces at start and ends of fields: bug #3369

14 years agostrips whitespaces at start and ends of fields: bug #3369
Wolfram Schneider [Wed, 21 Apr 2010 13:31:38 +0000 (15:31 +0200)]
strips whitespaces at start and ends of fields: bug #3369

14 years agoimport trimField
Wolfram Schneider [Wed, 21 Apr 2010 13:28:55 +0000 (15:28 +0200)]
import trimField

14 years agoimport trimField
Wolfram Schneider [Wed, 21 Apr 2010 13:28:55 +0000 (15:28 +0200)]
import trimField

14 years agoexport trimField
Wolfram Schneider [Wed, 21 Apr 2010 13:27:56 +0000 (15:27 +0200)]
export trimField

14 years agoexport trimField
Wolfram Schneider [Wed, 21 Apr 2010 13:27:56 +0000 (15:27 +0200)]
export trimField

14 years agorename function trimFields to trimField
Wolfram Schneider [Wed, 21 Apr 2010 13:26:41 +0000 (15:26 +0200)]
rename function trimFields to trimField

14 years agorename function trimFields to trimField
Wolfram Schneider [Wed, 21 Apr 2010 13:26:41 +0000 (15:26 +0200)]
rename function trimFields to trimField

14 years agonew helper function trimFields()
Wolfram Schneider [Wed, 21 Apr 2010 13:22:51 +0000 (15:22 +0200)]
new helper function trimFields()