[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 9bb060092ea3b358366e229a6cbd102af09ac8b5

Evergreen Git git at git.evergreen-ils.org
Tue Aug 5 11:30:11 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  9bb060092ea3b358366e229a6cbd102af09ac8b5 (commit)
      from  a4d4a9eba08f73296d17dcd62ecc1800c6c532fa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9bb060092ea3b358366e229a6cbd102af09ac8b5
Author: Remington Steed <rjs7 at calvin.edu>
Date:   Tue Aug 5 11:23:20 2014 -0400

    Docs: Update commands for authority importing script
    
    The tools used for importing authority records from the command line have
    been modified since the original docs were written. Testing revealed these
    changes, which are reflected in this commit.
    
    Signed-off-by: Remington Steed <rjs7 at calvin.edu>

diff --git a/docs/development/support_scripts.txt b/docs/development/support_scripts.txt
index 229d7d2..eb7a7b6 100644
--- a/docs/development/support_scripts.txt
+++ b/docs/development/support_scripts.txt
@@ -151,15 +151,20 @@ perl marc2are.pl --user admin --pass open-ils --marctype XML auth_small.xml > au
 [NOTE]
 The MARC type will default to USMARC if the `--marctype` option is not specified.
 
- . Run *pg_loader.pl* to generate the SQL necessary for importing the
-authority records into your system. To save time for very large batches
-of records, you could simply pipe the output of *marc2are.pl* directly
-into *pg_loader.pl*.
+ . Run *parallel_pg_loader.pl* to generate the SQL necessary for importing the
+authority records into your system. This script will create files in your
+current directory with filenames like `pg_loader-output.are.sql` and
+`pg_loader-output.sql` (which runs the previous SQL file). To continue with the
+previous example by processing our new `auth.are` file:
 +
 ----
 cd Open-ILS/src/extras/import/
-perl pg_loader.pl --auto are --order are auth.are > auth_load.sql
+perl parallel_pg_loader.pl --auto are --order are auth.are
 ----
++
+[TIP]
+To save time for very large batches of records, you could simply pipe the
+output of *marc2are.pl* directly into *parallel_pg_loader.pl*.
 
  . Load the authority records from the SQL file that you generated in the
 last step into your Evergreen database using the psql tool. Assuming the
@@ -167,7 +172,7 @@ default user name, host name, and database name for an Evergreen instance,
 that command looks like:
 +
 ----
-psql -U evergreen -h localhost -d evergreen -f auth_load.sql
+psql -U evergreen -h localhost -d evergreen -f pg_loader-output.sql
 ----
 
 

-----------------------------------------------------------------------

Summary of changes:
 docs/development/support_scripts.txt |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list