[open-ils-commits] r7502 - in trunk: Evergreen/src/extras/import
Evergreen/src/support-scripts Open-ILS/examples
Open-ILS/src/extras Open-ILS/src/extras/import
Open-ILS/src/perlmods/OpenILS/WWW Open-ILS/src/reporter
Open-ILS/src/support-scripts
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jul 2 10:36:06 EDT 2007
Author: miker
Date: 2007-07-02 10:32:40 -0400 (Mon, 02 Jul 2007)
New Revision: 7502
Modified:
trunk/Evergreen/src/extras/import/object_dumper.pl
trunk/Evergreen/src/extras/import/parse_patron_xml.pl
trunk/Evergreen/src/support-scripts/eg_gen_overdue.sh
trunk/Open-ILS/examples/json-request-test.pl
trunk/Open-ILS/src/extras/Perl2REST.pl
trunk/Open-ILS/src/extras/import/direct_ingest.pl
trunk/Open-ILS/src/extras/import/direct_loader.pl
trunk/Open-ILS/src/extras/import/marc2are.pl
trunk/Open-ILS/src/extras/import/marc2bre.pl
trunk/Open-ILS/src/extras/import/pg_loader.pl
trunk/Open-ILS/src/extras/opensearch.ttk
trunk/Open-ILS/src/perlmods/OpenILS/WWW/Method.pm
trunk/Open-ILS/src/perlmods/OpenILS/WWW/Web.pm
trunk/Open-ILS/src/reporter/clark-kent.pl
trunk/Open-ILS/src/support-scripts/fine_generator.pl
trunk/Open-ILS/src/support-scripts/long-overdue-status-update.pl
trunk/Open-ILS/src/support-scripts/marc_export
Log:
Patch from Dan Scott to finish up the removal of bootstrap.conf:
Attached are patches that complete the work that I should have done in
my first patch.
Modified: trunk/Evergreen/src/extras/import/object_dumper.pl
===================================================================
--- trunk/Evergreen/src/extras/import/object_dumper.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Evergreen/src/extras/import/object_dumper.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -2,7 +2,7 @@
# ---------------------------------------------------------------------
# Generic databse object dumper.
# ./object_dumper.pl <bootstrap_config> <type>, <type>, ...
-# ./object_dumper.pl /openils/conf/bootstrap.conf permission.grp_tree
+# ./object_dumper.pl /openils/conf/opensrf_core.xml permission.grp_tree
# ---------------------------------------------------------------------
use strict;
Modified: trunk/Evergreen/src/extras/import/parse_patron_xml.pl
===================================================================
--- trunk/Evergreen/src/extras/import/parse_patron_xml.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Evergreen/src/extras/import/parse_patron_xml.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -17,7 +17,7 @@
use XML::LibXML;
my ($file,$config,$profileid,$identtypeid,$default_profile,$profile_map,$seenmap,$nosaveseen,$usermap) =
- ('return_file_0623-2.xml', '/openils/conf/bootstrap.conf', 1, 3, 'User', 'profile.map','/tmp/patron-import.seen');
+ ('return_file_0623-2.xml', '/openils/conf/opensrf_core.xml', 1, 3, 'User', 'profile.map','/tmp/patron-import.seen');
GetOptions(
'usermap=s' => \$usermap,
Modified: trunk/Evergreen/src/support-scripts/eg_gen_overdue.sh
===================================================================
--- trunk/Evergreen/src/support-scripts/eg_gen_overdue.sh 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Evergreen/src/support-scripts/eg_gen_overdue.sh 2007-07-02 14:32:40 UTC (rev 7502)
@@ -12,7 +12,7 @@
RECIPIENT=$2;
DATE=$(date +%Y-%m-%d);
DAY=$(date +%u);
-BSCONFIG="/openils/conf/bootstrap.conf"
+BSCONFIG="/openils/conf/opensrf_core.xml"
ODDIR="/openils/var/data/overdue";
export EG_OVERDUE_EMAIL_TEMPLATE="../extras/overdue_notice_email";
Modified: trunk/Open-ILS/examples/json-request-test.pl
===================================================================
--- trunk/Open-ILS/examples/json-request-test.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/examples/json-request-test.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -20,7 +20,7 @@
my $root = shift(@ARGV);
-OpenSRF::System->bootstrap_client( config_file => $root.'/conf/bootstrap.conf');
+OpenSRF::System->bootstrap_client( config_file => $root.'/conf/opensrf_core.xml');
try {
OpenILS::Utils::ScriptRunner->add_path($root.'/var/web/opac/common/js/');
Modified: trunk/Open-ILS/src/extras/Perl2REST.pl
===================================================================
--- trunk/Open-ILS/src/extras/Perl2REST.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/extras/Perl2REST.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -22,7 +22,7 @@
exit;
}
-OpenSRF::System->bootstrap_client( config_file => '/pines/conf/bootstrap.conf' );
+OpenSRF::System->bootstrap_client( config_file => '/openils/conf/opensrf_core.xml' );
print "Content-Type: text/xml\n\n";
my $val = '';
Modified: trunk/Open-ILS/src/extras/import/direct_ingest.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/direct_ingest.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/extras/import/direct_ingest.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -27,7 +27,7 @@
MARC::Charset->ignore_errors(1);
my ($auth, $config) =
- (0, '/openils/conf/bootstrap.conf');
+ (0, '/openils/conf/opensrf_core.xml');
GetOptions(
'config=s' => \$config,
Modified: trunk/Open-ILS/src/extras/import/direct_loader.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/direct_loader.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/extras/import/direct_loader.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -28,7 +28,7 @@
my @files;
my ($type, $config, $autoprimary) =
- ('biblio.record_entry', '/openils/conf/bootstrap.conf', 0);
+ ('biblio.record_entry', '/openils/conf/opensrf_core.xml', 0);
GetOptions(
'type=s' => \$type,
Modified: trunk/Open-ILS/src/extras/import/marc2are.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/marc2are.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/extras/import/marc2are.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -26,7 +26,7 @@
MARC::Charset->ignore_errors(1);
my ($utf8, $id_field, $count, $user, $password, $config, $marctype, $keyfile, @files, @trash_fields) =
- (0, '998', 1, 'admin', 'open-ils', '/openils/conf/bootstrap.conf', 'USMARC');
+ (0, '998', 1, 'admin', 'open-ils', '/openils/conf/opensrf_core.xml', 'USMARC');
GetOptions(
'startid=i' => \$count,
Modified: trunk/Open-ILS/src/extras/import/marc2bre.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/marc2bre.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/extras/import/marc2bre.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -22,7 +22,7 @@
#MARC::Charset->ignore_errors(1);
my ($id_field, $recid, $user, $config, $idlfile, $marctype, $keyfile, $dontuse_file, $enc, $force_enc, @files, @trash_fields) =
- ('', 1, 1, '/openils/conf/bootstrap.conf', '/openils/conf/fm_IDL.xml', 'USMARC');
+ ('', 1, 1, '/openils/conf/opensrf_core.xml', '/openils/conf/fm_IDL.xml', 'USMARC');
GetOptions(
'marctype=s' => \$marctype,
Modified: trunk/Open-ILS/src/extras/import/pg_loader.pl
===================================================================
--- trunk/Open-ILS/src/extras/import/pg_loader.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/extras/import/pg_loader.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -15,7 +15,7 @@
my @files;
my ($config, $output, @auto, @order, @wipe) =
- ('/openils/conf/bootstrap.conf');
+ ('/openils/conf/opensrf_core.xml');
GetOptions(
'config=s' => \$config,
Modified: trunk/Open-ILS/src/extras/opensearch.ttk
===================================================================
--- trunk/Open-ILS/src/extras/opensearch.ttk 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/extras/opensearch.ttk 2007-07-02 14:32:40 UTC (rev 7502)
@@ -1,7 +1,7 @@
[%-
USE CGI;
USE ws = WebSession;
-j = ws.bootstrap_client("/pines/conf/bootstrap.conf");
+j = ws.bootstrap_client("/openils/conf/opensrf_core.xml");
rank_threshold = 5000;
base_url = 'http://dev.gapines.org/';
Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/Method.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/Method.pm 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/Method.pm 2007-07-02 14:32:40 UTC (rev 7502)
@@ -79,7 +79,7 @@
sub child_init_handler {
OpenSRF::System->bootstrap_client(
- config_file => "/pines/conf/web_bootstrap.conf" );
+ config_file => "/openils/conf/opensrf_core.xml" );
}
Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/Web.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/Web.pm 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/Web.pm 2007-07-02 14:32:40 UTC (rev 7502)
@@ -18,7 +18,7 @@
my $main_ttk = "opac/logic/page_router.ttk";
my $error_ttk = "opac/pages/error.ttk";
my $init_ttk = "opac/logic/page_init.ttk";
-my $bootstrap = "/pines/conf/bootstrap.conf";
+my $bootstrap = "/openils/conf/opensrf_core.xml";
my $child_init_ttk = "opac/logic/child_init.ttk";
my $includes = []; # [ '/pines/cvs/ILS/Open-ILS/src/templates' ];
Modified: trunk/Open-ILS/src/reporter/clark-kent.pl
===================================================================
--- trunk/Open-ILS/src/reporter/clark-kent.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/reporter/clark-kent.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -29,7 +29,7 @@
use open ':utf8';
-my ($count, $config, $sleep_interval, $lockfile, $daemon) = (1, '/openils/conf/bootstrap.conf', 10, '/tmp/reporter-LOCK');
+my ($count, $config, $sleep_interval, $lockfile, $daemon) = (1, '/openils/conf/opensrf_core.xml', 10, '/tmp/reporter-LOCK');
GetOptions(
"daemon" => \$daemon,
Modified: trunk/Open-ILS/src/support-scripts/fine_generator.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/fine_generator.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/support-scripts/fine_generator.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -2,7 +2,7 @@
# ---------------------------------------------------------------------
# Generic databse object dumper.
# ./object_dumper.pl <bootstrap_config> <type>, <type>, ...
-# ./object_dumper.pl /openils/conf/bootstrap.conf permission.grp_tree
+# ./object_dumper.pl /openils/conf/opensrf_core.xml permission.grp_tree
# ---------------------------------------------------------------------
use strict;
Modified: trunk/Open-ILS/src/support-scripts/long-overdue-status-update.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/long-overdue-status-update.pl 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/support-scripts/long-overdue-status-update.pl 2007-07-02 14:32:40 UTC (rev 7502)
@@ -16,7 +16,7 @@
use Getopt::Long;
my ($od_length, $user, $password, $config) =
- ('180 days', 'admin', 'open-ils', '/openils/conf/bootstrap.conf');
+ ('180 days', 'admin', 'open-ils', '/openils/conf/opensrf_core.xml');
GetOptions(
'overdue=s' => \$od_length,
Modified: trunk/Open-ILS/src/support-scripts/marc_export
===================================================================
--- trunk/Open-ILS/src/support-scripts/marc_export 2007-07-02 13:47:23 UTC (rev 7501)
+++ trunk/Open-ILS/src/support-scripts/marc_export 2007-07-02 14:32:40 UTC (rev 7502)
@@ -20,7 +20,7 @@
my @formats = qw/USMARC UNIMARC XML BRE/;
-my ($config,$format,$encoding,$location,$dollarsign,$idl,$help,$holdings) = ('/openils/conf/bootstrap.conf','USMARC','MARC8','','$');
+my ($config,$format,$encoding,$location,$dollarsign,$idl,$help,$holdings) = ('/openils/conf/opensrf_core.xml','USMARC','MARC8','','$');
GetOptions(
'help' => \$help,
@@ -37,7 +37,7 @@
print <<" HELP";
Usage: $0 [options]
--help or -h This screen.
- --config or -c Configuration file [/openils/conf/bootstrap.conf]
+ --config or -c Configuration file [/openils/conf/opensrf_core.xml]
--format or -f Output format (USMARC, UNIMARC, XML) [USMARC]
--encoding or -e Output Encoding (UTF-8, ISO-8859-?, MARC8) [MARC8]
--items or -i Include items (holdings) in the output
More information about the open-ils-commits
mailing list