irspy-moved-to-github.git
14 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()

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

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

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

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

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

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

14 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

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

14 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

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

14 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

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

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

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

14 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

14 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

14 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

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

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

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

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

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

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

14 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

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

14 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

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

14 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

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

14 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

14 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

14 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

14 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

14 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

14 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

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

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

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

14 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

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

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

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

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

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

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

14 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!

14 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

14 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/

14 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

14 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

14 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

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

14 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

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

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

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

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

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

14 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

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

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

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

14 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

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

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

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

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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

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

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

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

14 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

14 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

14 years agosetupt test/devel config
Wolfram Schneider [Wed, 14 Apr 2010 12:32:29 +0000 (12:32 +0000)]
setupt test/devel config

14 years agocopy
Wolfram Schneider [Wed, 14 Apr 2010 12:30:45 +0000 (12:30 +0000)]
copy

14 years agoalways test if file open succeeded
Wolfram Schneider [Wed, 14 Apr 2010 12:28:54 +0000 (12:28 +0000)]
always test if file open succeeded

14 years agodifferent irspy home for devel installation
Wolfram Schneider [Wed, 14 Apr 2010 12:28:15 +0000 (12:28 +0000)]
different irspy home for devel installation

14 years agodistclean will remove the test db as well
Wolfram Schneider [Wed, 14 Apr 2010 12:15:06 +0000 (12:15 +0000)]
distclean will remove the test db as well

14 years agouse latest archive for import
Wolfram Schneider [Wed, 14 Apr 2010 12:14:14 +0000 (12:14 +0000)]
use latest archive for import

14 years agoadd a start/stop script for the test/devel server
Wolfram Schneider [Wed, 14 Apr 2010 12:08:56 +0000 (12:08 +0000)]
add a start/stop script for the test/devel server

14 years agolog files must have the extension *.log
Wolfram Schneider [Wed, 14 Apr 2010 12:08:13 +0000 (12:08 +0000)]
log files must have the extension *.log

14 years agoMerge branch 'nigiri'
Wolfram Schneider [Wed, 14 Apr 2010 11:58:10 +0000 (11:58 +0000)]
Merge branch 'nigiri'

Conflicts:

zebra/README

14 years agoimport current xml dump
Wolfram Schneider [Wed, 14 Apr 2010 11:32:27 +0000 (11:32 +0000)]
import current xml dump