irspy-moved-to-github.git
9 years agodo not test disabled targets
Wolfram Schneider [Wed, 28 Apr 2010 16:16:22 +0000 (16:16 +0000)]
do not test disabled targets

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Wed, 28 Apr 2010 15:54:16 +0000 (15:54 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

9 years agofix debug output for debug=2
Wolfram Schneider [Wed, 28 Apr 2010 15:51:36 +0000 (17:51 +0200)]
fix debug output for debug=2

9 years agofix validation tests
Wolfram Schneider [Wed, 28 Apr 2010 15:47:26 +0000 (17:47 +0200)]
fix validation tests

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

9 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()

9 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.

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

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

9 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.

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

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

9 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

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

9 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

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

9 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

9 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

9 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

9 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.

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

9 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

9 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

9 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

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

9 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

9 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

9 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

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

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

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

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

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

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

9 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

9 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"

9 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

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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

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

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

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

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

9 years agoupload.html moved
Wolfram Schneider [Wed, 21 Apr 2010 13:22:30 +0000 (15:22 +0200)]
upload.html moved

9 years agorenamed script
Wolfram Schneider [Wed, 21 Apr 2010 13:20:59 +0000 (15:20 +0200)]
renamed script

9 years agorecommend to install debina packages yaz and libyaz4-dev
Wolfram Schneider [Wed, 21 Apr 2010 13:19:49 +0000 (15:19 +0200)]
recommend to install debina packages yaz and libyaz4-dev

9 years agoone crontab line fits all
Wolfram Schneider [Wed, 21 Apr 2010 12:55:25 +0000 (14:55 +0200)]
one crontab line fits all

9 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:49:48 +0000 (14:49 +0200)]
remove stale $Id$

9 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:46:59 +0000 (14:46 +0200)]
remove stale $Id$

9 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:43:40 +0000 (14:43 +0200)]
remove stale $Id$

9 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:38:38 +0000 (14:38 +0200)]
remove stale $Id$

9 years agoremove stale $Id$
Wolfram Schneider [Wed, 21 Apr 2010 12:38:08 +0000 (14:38 +0200)]
remove stale $Id$

9 years agoadd missing pages and reorder entries
Wolfram Schneider [Wed, 21 Apr 2010 12:20:22 +0000 (14:20 +0200)]
add missing pages and reorder entries

Google has crawled more than 10.900 pages from
irspy.indexdata.com - how stupid!

9 years agoenable robots.txt for irspy-test
Wolfram Schneider [Wed, 21 Apr 2010 12:09:58 +0000 (14:09 +0200)]
enable robots.txt for irspy-test

9 years agoa robots.txt file for the development machine http://irspy-test.indexdata.com/
Wolfram Schneider [Wed, 21 Apr 2010 12:08:10 +0000 (14:08 +0200)]
a robots.txt file for the development machine irspy-test.indexdata.com/

9 years agounicode bug #3390: uri_escape -> uri_escape_utf8
Wolfram Schneider [Tue, 20 Apr 2010 15:38:43 +0000 (17:38 +0200)]
unicode bug #3390: uri_escape -> uri_escape_utf8

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Mike Taylor [Tue, 20 Apr 2010 15:00:24 +0000 (16:00 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

9 years agoAdd CQL->PQF mapping for index rec.lastModificationDate
Mike Taylor [Tue, 20 Apr 2010 14:58:00 +0000 (15:58 +0100)]
Add CQL->PQF mapping for index rec.lastModificationDate

9 years agoIgnore two recent dumps
mike [Tue, 20 Apr 2010 10:49:19 +0000 (10:49 +0000)]
Ignore two recent dumps

9 years agoIRSpy toroid now runs on port 12367 to avoid clashes, so irspy.conf now proxies to...
mike [Tue, 20 Apr 2010 10:45:04 +0000 (10:45 +0000)]
IRSpy toroid now runs on port 12367 to avoid clashes, so irspy.conf now proxies to that port

9 years agonew dump
Wolfram Schneider [Tue, 20 Apr 2010 08:19:06 +0000 (10:19 +0200)]
new dump

9 years agoremove redundant warning option
Wolfram Schneider [Mon, 19 Apr 2010 20:10:39 +0000 (20:10 +0000)]
remove redundant warning option

9 years agoremove stale $Id$
Wolfram Schneider [Mon, 19 Apr 2010 20:05:18 +0000 (20:05 +0000)]
remove stale $Id$

9 years agoconsistent file name for scripts
Wolfram Schneider [Mon, 19 Apr 2010 19:58:51 +0000 (19:58 +0000)]
consistent file name for scripts

9 years agodate(1) typo
Wolfram Schneider [Mon, 19 Apr 2010 19:58:01 +0000 (19:58 +0000)]
date(1) typo

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

9 years agouse ZOOM::IRSpy is required
Wolfram Schneider [Fri, 16 Apr 2010 13:52:00 +0000 (13:52 +0000)]
use ZOOM::IRSpy is required

9 years agoUse unencrypted password file.
Mike Taylor [Fri, 16 Apr 2010 13:12:56 +0000 (14:12 +0100)]
Use unencrypted password file.

9 years agoNew file htpasswd.unencrypted because Zebra's encrypted-password
Mike Taylor [Fri, 16 Apr 2010 13:12:42 +0000 (14:12 +0100)]
New file htpasswd.unencrypted because Zebra's encrypted-password
checking fails uninformatively on MacOS.

9 years agoComment on the apparent importance of PerlModule Apache2::Request
Mike Taylor [Fri, 16 Apr 2010 12:50:25 +0000 (13:50 +0100)]
Comment on the apparent importance of PerlModule Apache2::Request

9 years agoInclude PerlModule Apache2::Request to prevent run-time warning.
Mike Taylor [Fri, 16 Apr 2010 12:48:05 +0000 (13:48 +0100)]
Include PerlModule Apache2::Request to prevent run-time warning.

9 years agoOmit .git from distribution!
Mike Taylor [Fri, 16 Apr 2010 11:46:15 +0000 (12:46 +0100)]
Omit .git from distribution!

9 years agoprofilePath and modulePath extended to work with Zebra installed from
Mike Taylor [Fri, 16 Apr 2010 11:40:32 +0000 (12:40 +0100)]
profilePath and modulePath extended to work with Zebra installed from
a Mac port.

9 years agoFix typo in directory name
Mike Taylor [Fri, 16 Apr 2010 11:38:59 +0000 (12:38 +0100)]
Fix typo in directory name

9 years agoNew file for local development on Mac.
Mike Taylor [Fri, 16 Apr 2010 11:00:25 +0000 (12:00 +0100)]
New file for local development on Mac.

9 years agoComment says what xeno is
Mike Taylor [Fri, 16 Apr 2010 10:04:45 +0000 (11:04 +0100)]
Comment says what xeno is

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
Wolfram Schneider [Thu, 15 Apr 2010 12:26:22 +0000 (14:26 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy

9 years agoAdd instructions to proxy /toroid/ to localhost:3000
Mike Taylor [Thu, 15 Apr 2010 12:25:07 +0000 (13:25 +0100)]
Add instructions to proxy /toroid/ to localhost:3000

9 years agorename test database back to IR-Explain---1
Wolfram Schneider [Thu, 15 Apr 2010 12:24:56 +0000 (14:24 +0200)]
rename test database back to IR-Explain---1

9 years agorename test database back to IR-Explain---1
Wolfram Schneider [Thu, 15 Apr 2010 12:24:16 +0000 (14:24 +0200)]
rename test database back to IR-Explain---1

9 years agothe devel system runs on donut
Wolfram Schneider [Thu, 15 Apr 2010 12:22:53 +0000 (14:22 +0200)]
the devel system runs on donut

9 years agorename update script to irspy-update.sh
Wolfram Schneider [Thu, 15 Apr 2010 11:53:30 +0000 (11:53 +0000)]
rename update script to irspy-update.sh

9 years agouse PerlSetEnv instead PerlSetVar for IRSpyDbName configuration
Wolfram Schneider [Wed, 14 Apr 2010 14:00:12 +0000 (14:00 +0000)]
use PerlSetEnv instead PerlSetVar for IRSpyDbName configuration

9 years agoremove apache1.3/* files
Wolfram Schneider [Wed, 14 Apr 2010 13:53:53 +0000 (13:53 +0000)]
remove apache1.3/* files

9 years agoread database name from config
Wolfram Schneider [Wed, 14 Apr 2010 13:49:41 +0000 (13:49 +0000)]
read database name from config

9 years agodocument IRSpyDbName
Wolfram Schneider [Wed, 14 Apr 2010 13:40:33 +0000 (13:40 +0000)]
document IRSpyDbName

9 years agoconfigure test database
Wolfram Schneider [Wed, 14 Apr 2010 13:29:06 +0000 (13:29 +0000)]
configure test database

9 years agoadd a hint for the test database
Wolfram Schneider [Wed, 14 Apr 2010 13:25:44 +0000 (13:25 +0000)]
add a hint for the test database

9 years agoadd wrapper to read the IRSpy database name from environment variable / apache config
Wolfram Schneider [Wed, 14 Apr 2010 13:24:13 +0000 (13:24 +0000)]
add wrapper to read the IRSpy database name from environment variable / apache config