irspy-moved-to-github.git
14 years agoGetting ready to model the irspy xml into zeerex using xslt.
Anders S. Mortensen [Thu, 26 Oct 2006 13:39:13 +0000 (13:39 +0000)]
Getting ready to model the irspy xml into zeerex using xslt.

14 years agoSet databaseName only temporarily within task.
Mike Taylor [Thu, 26 Oct 2006 12:55:35 +0000 (12:55 +0000)]
Set databaseName only temporarily within task.

14 years agoRun correct sequence of tests
Mike Taylor [Thu, 26 Oct 2006 12:50:17 +0000 (12:50 +0000)]
Run correct sequence of tests

14 years agoRemoving dublicated code.
Anders S. Mortensen [Thu, 26 Oct 2006 10:24:20 +0000 (10:24 +0000)]
Removing dublicated code.

14 years agoPreparing test case.
Anders S. Mortensen [Thu, 26 Oct 2006 10:24:05 +0000 (10:24 +0000)]
Preparing test case.

14 years agoNicer rendering
Mike Taylor [Wed, 25 Oct 2006 17:16:14 +0000 (17:16 +0000)]
Nicer rendering

14 years agoNew
Mike Taylor [Wed, 25 Oct 2006 15:45:29 +0000 (15:45 +0000)]
New

14 years agoReinstate full list of record syntaxes.
Mike Taylor [Wed, 25 Oct 2006 15:45:07 +0000 (15:45 +0000)]
Reinstate full list of record syntaxes.

14 years agoAfter an initial search (not using piggy-back), records are fetched by
Mike Taylor [Wed, 25 Oct 2006 15:44:50 +0000 (15:44 +0000)]
After an initial search (not using piggy-back), records are fetched by
subsequent, separate tasks.

14 years agoAdd irspy_rs_record(), which queues a new Task::Retrieve
Mike Taylor [Wed, 25 Oct 2006 15:43:43 +0000 (15:43 +0000)]
Add irspy_rs_record(), which queues a new Task::Retrieve

14 years agoDie if a callback returns an unknown value. This is important, since
Mike Taylor [Wed, 25 Oct 2006 15:42:47 +0000 (15:42 +0000)]
Die if a callback returns an unknown value.  This is important, since
otherwise if you forget to explicitly return something, the loop will
just fall through and the whole run will quietly end.

14 years agoTypo.
Anders S. Mortensen [Wed, 25 Oct 2006 13:38:10 +0000 (13:38 +0000)]
Typo.

14 years agorun() calls set_otions() again at the end to restore old values.
Mike Taylor [Wed, 25 Oct 2006 13:36:02 +0000 (13:36 +0000)]
run() calls set_otions() again at the end to restore old values.

14 years agoset_options() now stores the old values in the stored options hash
Mike Taylor [Wed, 25 Oct 2006 13:34:56 +0000 (13:34 +0000)]
set_options() now stores the old values in the stored options hash
that the new values were taken from, so that calling it for a second
time restores the old values.  (Well, nearly.  Because there is no way
to unset an option once it's been set, the best we can do is set such
an option to the empty string.  That seems to be good enough.)

14 years agoImplemented ExplainCategory probing.
Anders S. Mortensen [Wed, 25 Oct 2006 12:44:55 +0000 (12:44 +0000)]
Implemented ExplainCategory probing.

14 years agoAdded some extra debugging.
Anders S. Mortensen [Wed, 25 Oct 2006 11:44:35 +0000 (11:44 +0000)]
Added some extra debugging.

14 years agoAdding empty hash ref to respect Mike's new api.
Anders S. Mortensen [Wed, 25 Oct 2006 11:25:36 +0000 (11:25 +0000)]
Adding empty hash ref to respect Mike's new api.

14 years agoCall ->set_options()
Mike Taylor [Wed, 25 Oct 2006 10:54:43 +0000 (10:54 +0000)]
Call ->set_options()

14 years agoConstructor now takes an options-hash argument.
Mike Taylor [Wed, 25 Oct 2006 10:52:53 +0000 (10:52 +0000)]
Constructor now takes an options-hash argument.
New method set_options() applies these to the connection.

14 years agoirspy_connect() and irspy_seach_pqf() pass their options hashes
Mike Taylor [Wed, 25 Oct 2006 10:52:04 +0000 (10:52 +0000)]
irspy_connect() and irspy_seach_pqf() pass their options hashes
through into the Task constructors.

14 years agoTweak irspy_search_pqf() call to use new API with options hash.
Mike Taylor [Wed, 25 Oct 2006 10:49:51 +0000 (10:49 +0000)]
Tweak irspy_search_pqf() call to use new API with options hash.

14 years agoTweak irspy_connect() call to use new API with options hash.
Mike Taylor [Wed, 25 Oct 2006 10:49:37 +0000 (10:49 +0000)]
Tweak irspy_connect() call to use new API with options hash.

14 years agoTest fetching.
Mike Taylor [Wed, 25 Oct 2006 10:48:34 +0000 (10:48 +0000)]
Test fetching.

14 years agoUse new ability to pass options into irspy_search_pqf()
Mike Taylor [Wed, 25 Oct 2006 10:47:17 +0000 (10:47 +0000)]
Use new ability to pass options into irspy_search_pqf()

14 years agoWhitesapce
Mike Taylor [Wed, 25 Oct 2006 10:19:33 +0000 (10:19 +0000)]
Whitesapce

14 years agoRegistering the Boolean.pm package.
Anders S. Mortensen [Wed, 25 Oct 2006 10:09:45 +0000 (10:09 +0000)]
Registering the Boolean.pm package.

14 years agoAdded.
Anders S. Mortensen [Wed, 25 Oct 2006 10:08:50 +0000 (10:08 +0000)]
Added.

14 years agoAllow "test" parameter to specify top-level test.
Mike Taylor [Wed, 25 Oct 2006 09:54:16 +0000 (09:54 +0000)]
Allow "test" parameter to specify top-level test.

14 years agoImplemented the fetch test module.
Anders S. Mortensen [Wed, 25 Oct 2006 09:18:28 +0000 (09:18 +0000)]
Implemented the fetch test module.

14 years agoFixing uncaught exceptions.
Anders S. Mortensen [Wed, 25 Oct 2006 08:40:53 +0000 (08:40 +0000)]
Fixing uncaught exceptions.

14 years agoMust be able to wrtie Mason cache directory.
Mike Taylor [Tue, 24 Oct 2006 23:10:43 +0000 (23:10 +0000)]
Must be able to wrtie Mason cache directory.

14 years agoNote need to restart server after config changes.
Mike Taylor [Tue, 24 Oct 2006 23:08:03 +0000 (23:08 +0000)]
Note need to restart server after config changes.

14 years agoFix path
Mike Taylor [Tue, 24 Oct 2006 23:05:13 +0000 (23:05 +0000)]
Fix path

14 years agoIgnore unpacked zeerez-record-display
Mike Taylor [Tue, 24 Oct 2006 14:48:19 +0000 (14:48 +0000)]
Ignore unpacked zeerez-record-display

14 years agoNew
Mike Taylor [Tue, 24 Oct 2006 14:48:07 +0000 (14:48 +0000)]
New

14 years agoGetting ready to test available record formats.
Anders S. Mortensen [Mon, 23 Oct 2006 13:54:52 +0000 (13:54 +0000)]
Getting ready to test available record formats.

14 years agoUsing store_result method to update zebra.
Anders S. Mortensen [Mon, 23 Oct 2006 12:23:29 +0000 (12:23 +0000)]
Using store_result method to update zebra.

14 years agoIntroduced methods store_result, _isodate and _string2cdata.
Anders S. Mortensen [Mon, 23 Oct 2006 12:22:52 +0000 (12:22 +0000)]
Introduced methods store_result, _isodate and _string2cdata.

14 years agoNew
Mike Taylor [Fri, 20 Oct 2006 16:57:40 +0000 (16:57 +0000)]
New

14 years agoUse new utility function irspy_xpath_context()
Mike Taylor [Fri, 20 Oct 2006 16:57:23 +0000 (16:57 +0000)]
Use new utility function irspy_xpath_context()
Title now links to full record display.
Add link to edit record.
Test/Edit/Raw links are now in a single table column.

14 years agoGet irspy_xpath_context() and xml_encode() from ZOOM::IRSpy
Mike Taylor [Fri, 20 Oct 2006 16:56:07 +0000 (16:56 +0000)]
Get irspy_xpath_context() and xml_encode() from ZOOM::IRSpy

14 years agoImport xml_encode() from IRSpy rather that IRSpy::Record
Mike Taylor [Fri, 20 Oct 2006 14:51:41 +0000 (14:51 +0000)]
Import xml_encode() from IRSpy rather that IRSpy::Record

14 years agoxml_encode() moved to IRSpy.pm
Mike Taylor [Fri, 20 Oct 2006 14:51:01 +0000 (14:51 +0000)]
xml_encode() moved to IRSpy.pm
Exporting structure removed.

14 years agoAdd two exportable utility functions:
Mike Taylor [Fri, 20 Oct 2006 14:49:11 +0000 (14:49 +0000)]
Add two exportable utility functions:
xml_encode() is moved here from IRSpy::Record
irspy_xpath_context() is new, factored out of found.mc

14 years agoDescribe CQL support.
Mike Taylor [Wed, 18 Oct 2006 14:25:48 +0000 (14:25 +0000)]
Describe CQL support.

14 years agoAttempt, once only, to re-open a closed zconn.
Mike Taylor [Wed, 18 Oct 2006 14:03:42 +0000 (14:03 +0000)]
Attempt, once only, to re-open a closed zconn.

14 years agoIf _query parameter is set, use that verbatim rather than assembling a
Mike Taylor [Wed, 18 Oct 2006 12:36:05 +0000 (12:36 +0000)]
If _query parameter is set, use that verbatim rather than assembling a
query from other form components.
The heading containing the query is now a resubmission box, allowing
the query to be edited.

14 years agoAdd mappings for twelve zeerex indexes (not yet supported in PQF).
Mike Taylor [Wed, 18 Oct 2006 11:42:20 +0000 (11:42 +0000)]
Add mappings for twelve zeerex indexes (not yet supported in PQF).

14 years agoRemove old-style sorting which has been superseded by sorting
Mike Taylor [Wed, 18 Oct 2006 11:34:48 +0000 (11:34 +0000)]
Remove old-style sorting which has been superseded by sorting
relation-modifiers.

14 years agoClarified logging.
Mike Taylor [Wed, 18 Oct 2006 10:22:54 +0000 (10:22 +0000)]
Clarified logging.

14 years agoTest using the "Quick" set rather than the default "Main"
Mike Taylor [Tue, 17 Oct 2006 16:24:01 +0000 (16:24 +0000)]
Test using the "Quick" set rather than the default "Main"

14 years agoSkip over sibling tests on TEST_BAD.
Mike Taylor [Tue, 17 Oct 2006 16:22:17 +0000 (16:22 +0000)]
Skip over sibling tests on TEST_BAD.

14 years agoDocumentation fix.
Mike Taylor [Tue, 17 Oct 2006 16:21:46 +0000 (16:21 +0000)]
Documentation fix.

14 years agoAdd Search::DBDate, which provokes failure in the LC server.
Mike Taylor [Tue, 17 Oct 2006 16:21:31 +0000 (16:21 +0000)]
Add Search::DBDate, which provokes failure in the LC server.

14 years agoNew
Mike Taylor [Tue, 17 Oct 2006 16:20:00 +0000 (16:20 +0000)]
New

14 years agoTask-level logging for failed tests.
Mike Taylor [Tue, 17 Oct 2006 15:46:30 +0000 (15:46 +0000)]
Task-level logging for failed tests.

14 years agoNew -- utility used for designing IRSpy tests.
Mike Taylor [Tue, 17 Oct 2006 15:25:51 +0000 (15:25 +0000)]
New -- utility used for designing IRSpy tests.

14 years agoRe-use ZOOM connection to IRSpy database.
Mike Taylor [Tue, 17 Oct 2006 14:49:58 +0000 (14:49 +0000)]
Re-use ZOOM connection to IRSpy database.

14 years agoAdd new files for:
Mike Taylor [Tue, 17 Oct 2006 13:58:30 +0000 (13:58 +0000)]
Add new files for:
- Web-accessible documentation
- Dublin Core record format
- Task-based engine architecture
- New tests

14 years agoRevise sample command-line yet again.
Mike Taylor [Tue, 17 Oct 2006 11:50:07 +0000 (11:50 +0000)]
Revise sample command-line yet again.

14 years agoCHange suggested invocation
Mike Taylor [Fri, 13 Oct 2006 15:18:11 +0000 (15:18 +0000)]
CHange suggested invocation

14 years agoRewrite each record as its target's tests complete.
Mike Taylor [Fri, 13 Oct 2006 15:17:25 +0000 (15:17 +0000)]
Rewrite each record as its target's tests complete.

14 years agoNew -- used for running tests that are on the infrastructure of IRSpy
Mike Taylor [Fri, 13 Oct 2006 15:16:29 +0000 (15:16 +0000)]
New -- used for running tests that are on the infrastructure of IRSpy
itself rather than on the targets, since this test completes much more
quickly!

14 years agoMoving the irspy namespace to the IRSpy package (to keep it in one place).
Anders S. Mortensen [Fri, 13 Oct 2006 13:41:56 +0000 (13:41 +0000)]
Moving the irspy namespace to the IRSpy package (to keep it in one place).

14 years agoGetting ready to search for Dan1 attributes.
Anders S. Mortensen [Fri, 13 Oct 2006 13:40:29 +0000 (13:40 +0000)]
Getting ready to search for Dan1 attributes.

14 years agoAdding all the Bib-1 attributes to test for.
Anders S. Mortensen [Fri, 13 Oct 2006 10:34:34 +0000 (10:34 +0000)]
Adding all the Bib-1 attributes to test for.

14 years agoRemoved again.
Anders S. Mortensen [Fri, 13 Oct 2006 10:16:45 +0000 (10:16 +0000)]
Removed again.

14 years agoAdded zspy details from Per.
Anders S. Mortensen [Fri, 13 Oct 2006 10:14:13 +0000 (10:14 +0000)]
Added zspy details from Per.

14 years agoOups, wrong file to commit.
Anders S. Mortensen [Fri, 13 Oct 2006 10:08:57 +0000 (10:08 +0000)]
Oups, wrong file to commit.

14 years ago*** empty log message ***
Anders S. Mortensen [Fri, 13 Oct 2006 10:07:36 +0000 (10:07 +0000)]
*** empty log message ***

14 years agoPassing hash ref as a test and using a more generic xml representation of the
Anders S. Mortensen [Fri, 13 Oct 2006 10:03:31 +0000 (10:03 +0000)]
Passing hash ref as a test and using a more generic xml representation of the
test result.

14 years agoLogging changed and made more coherent
Mike Taylor [Thu, 12 Oct 2006 16:54:13 +0000 (16:54 +0000)]
Logging changed and made more coherent

14 years agoAdd comments on logging levels.
Mike Taylor [Thu, 12 Oct 2006 16:53:04 +0000 (16:53 +0000)]
Add comments on logging levels.
(This should really be in the IRSpy.pm POD)

14 years agoComments.
Mike Taylor [Thu, 12 Oct 2006 15:51:37 +0000 (15:51 +0000)]
Comments.

14 years agoRemove extraneous comment.
Mike Taylor [Thu, 12 Oct 2006 14:40:33 +0000 (14:40 +0000)]
Remove extraneous comment.

14 years agoPass access-point as $udata into irspy_connect()
Mike Taylor [Thu, 12 Oct 2006 14:40:24 +0000 (14:40 +0000)]
Pass access-point as $udata into irspy_connect()
Accept it in callbacks.

14 years agoPass undefined $udata into irspy_connect()
Mike Taylor [Thu, 12 Oct 2006 14:37:24 +0000 (14:37 +0000)]
Pass undefined $udata into irspy_connect()
Accept it in callbacks.

14 years agoConstructor takes new $udata argument.
Mike Taylor [Thu, 12 Oct 2006 14:36:34 +0000 (14:36 +0000)]
Constructor takes new $udata argument.
New udata() method returns it.

14 years agoirspy_connect() and irspy_search_pqf() have new $udata parameter.
Mike Taylor [Thu, 12 Oct 2006 14:35:43 +0000 (14:35 +0000)]
irspy_connect() and irspy_search_pqf() have new $udata parameter.
This is passed into their task constructors.

14 years agoPass $udata into callbacks.
Mike Taylor [Thu, 12 Oct 2006 14:34:59 +0000 (14:34 +0000)]
Pass $udata into callbacks.

14 years agoRequire ZOOM version 1.13
Mike Taylor [Thu, 12 Oct 2006 11:06:03 +0000 (11:06 +0000)]
Require ZOOM version 1.13

14 years agoRequire ZOOM 1.13
Mike Taylor [Thu, 12 Oct 2006 11:03:55 +0000 (11:03 +0000)]
Require ZOOM 1.13

14 years agoAttempt $conn->_check() immediately after submitting search.
Mike Taylor [Wed, 11 Oct 2006 16:48:19 +0000 (16:48 +0000)]
Attempt $conn->_check() immediately after submitting search.
(Doesn't do anything, though.)

14 years agoSimplify
Mike Taylor [Wed, 11 Oct 2006 16:47:44 +0000 (16:47 +0000)]
Simplify

14 years agoAdd error()
Mike Taylor [Wed, 11 Oct 2006 16:47:23 +0000 (16:47 +0000)]
Add error()
Remove temporary variables.

14 years agoSubtests are now correct (Ping and Search::Main)
Mike Taylor [Wed, 11 Oct 2006 16:46:37 +0000 (16:46 +0000)]
Subtests are now correct (Ping and Search::Main)

14 years agonew() contructor removed, replaced by create()
Mike Taylor [Wed, 11 Oct 2006 16:46:01 +0000 (16:46 +0000)]
new() contructor removed, replaced by create()
tasks() simplified, now read-only.
Added next_task() get/set method, analogous to current_task()
Simplified add_task()
Removed start_task()

14 years agoCorrect main loop ... for the first time ever.
Mike Taylor [Wed, 11 Oct 2006 16:44:04 +0000 (16:44 +0000)]
Correct main loop ... for the first time ever.
As a bonus, the code is also simpler than it's ever been.
(Funny how often those two things go together.)

14 years agoUse check() return value.
Mike Taylor [Wed, 11 Oct 2006 16:42:50 +0000 (16:42 +0000)]
Use check() return value.

14 years agoRemove debugging print
Mike Taylor [Wed, 11 Oct 2006 16:36:03 +0000 (16:36 +0000)]
Remove debugging print

14 years agoCorrect parsing of deep paths (head ends at first, not last, colon).
Mike Taylor [Wed, 11 Oct 2006 16:35:43 +0000 (16:35 +0000)]
Correct parsing of deep paths (head ends at first, not last, colon).

14 years agoAdd missing =cut
Mike Taylor [Wed, 11 Oct 2006 14:34:21 +0000 (14:34 +0000)]
Add missing =cut

14 years agoUsing the debian location of the zebra modules.
Anders S. Mortensen [Wed, 11 Oct 2006 07:06:39 +0000 (07:06 +0000)]
Using the debian location of the zebra modules.

14 years agoUse $conn->log() instead of use option("target")
Mike Taylor [Tue, 10 Oct 2006 13:16:31 +0000 (13:16 +0000)]
Use $conn->log() instead of use option("target")

14 years agoClarify role of XSD and zeerex2index.xsl
Mike Taylor [Tue, 10 Oct 2006 12:53:29 +0000 (12:53 +0000)]
Clarify role of XSD and zeerex2index.xsl

14 years agoAdd explicit "-t test" to sample command-line
Mike Taylor [Mon, 9 Oct 2006 07:29:43 +0000 (07:29 +0000)]
Add explicit "-t test" to sample command-line

14 years agoUse the Node class's subnodes() method, was subtests()
Mike Taylor [Fri, 6 Oct 2006 16:52:50 +0000 (16:52 +0000)]
Use the Node class's subnodes() method, was subtests()

14 years agoRename subtests() method to subnodes().
Mike Taylor [Fri, 6 Oct 2006 16:51:32 +0000 (16:51 +0000)]
Rename subtests() method to subnodes().
Add POD documentation.

14 years agoMany radical changes to the IRSpy engine, enabling a far more asynchronous approach...
Mike Taylor [Fri, 6 Oct 2006 11:33:07 +0000 (11:33 +0000)]
Many radical changes to the IRSpy engine, enabling a far more asynchronous approach.  Work remains to be done on the engine, but there's enough here that test can now be written.

14 years agoAppend
Mike Taylor [Fri, 6 Oct 2006 11:30:12 +0000 (11:30 +0000)]
Append