Liam Whalen [Wed, 28 Oct 2015 21:41:18 +0000 (14:41 -0700)]
[RT17143] Fixed pubdate scrub and authtoken error
The pubdate should not be exactly 4 digits form 260 or 264 $c. If it is
not then it is set to 0011, so the record can be easily identified.
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Liam Whalen [Tue, 27 Oct 2015 23:40:07 +0000 (16:40 -0700)]
[RT17143] Added bogus date values for bad data
If the MARC has bad data even after filtering by regex, we now use two
different intentionally bad dates to help us locate this bad data after
the update. In this case we use 000123 for 008/00-05 and 0011 for
008/07-10. It is possible that our SQL that returns bade date1 values
returns a value with a valid 260 $c but an invalid $264 $c. In this
case, the code will use the invalid $264 $c. However, the checks
required to filter out this invalid $264 $c is too complex, so we add
sanity checks after our new dates are created to ensure they are the
correct length, and we use the bogus dates if they are not. In the case
of bad 008/00-05 there might be a biblio.record_entry item with a bad
create_date, so we use 000123 to identify that.
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Liam Whalen [Tue, 27 Oct 2015 23:21:06 +0000 (16:21 -0700)]
[RT17143] Tighted up regex
The regex used to find bad date1 valus in the 008 needed to be more
specific.[RT17143] Tighted up regex
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Liam Whalen [Tue, 27 Oct 2015 23:11:02 +0000 (16:11 -0700)]
[RT17143] Restriced selection of fixable MARC records
The code was selecting MARC records with a 260 or 264 $c that had 1 to 4
characters. However, we only want 4 character dates. On the off chance
that a record with a 3 year date has a bad 008 date1, we can update that
record manually.
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Liam Whalen [Tue, 27 Oct 2015 23:06:35 +0000 (16:06 -0700)]
[RT17143] Fixed create_date parsing
The value used to fill 008/00-05 is taken from bre.create_date.
However, the code parsing the bre.create_date was selecting a four digit
year when it should have been selecting a two digit year. This is now
corrected.
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Liam Whalen [Wed, 30 Sep 2015 23:41:09 +0000 (16:41 -0700)]
[RT17143] Added 008 date entered and date type cleanup
The 00-05 and 06 fields of 008 needed to be populated when empty.
Liam Whalen [Wed, 30 Sep 2015 22:45:48 +0000 (15:45 -0700)]
[RT17143] Editing of date1 complete
The date1 value of 008 is now being replace by 264 $c or 260 $c if there
is no $264 $c available.
Liam Whalen [Wed, 30 Sep 2015 19:19:41 +0000 (12:19 -0700)]
[RT17143] Retrieving relevant record ids
This code now retrieves record ids of records with bad date1 values and
proper 260 $c or 264 $c that can replace them. Next up, retrieve MARC
via OpenSRF, edit it via MARC::Record and save the updated MARC record
via OpenSRF.
Liam Whalen [Wed, 30 Sep 2015 18:47:02 +0000 (11:47 -0700)]
[RT17143] Syntax errors fixed
Liam Whalen [Wed, 30 Sep 2015 18:26:35 +0000 (11:26 -0700)]
[RT17143] First go at date1 cleanup settings
This commit adds the ability to check the database for connectivity.
This will allow us to query the database for records with bad date1
values. Once we have those record ids, we will be able use the Perl
EG code to update the MARC with new date1 values.
Jeff Davis [Fri, 25 Sep 2015 19:51:38 +0000 (12:51 -0700)]
deployfile.sh: be smarter about file ownership etc when deploying with rsync
Jeff Davis [Fri, 25 Sep 2015 19:50:46 +0000 (12:50 -0700)]
install-eg.sh: install custom dojo build from upstream
Jeff Davis [Tue, 15 Sep 2015 18:16:25 +0000 (11:16 -0700)]
EG install scripts: nonprod-28 -> nonprod
Jeff Davis [Fri, 24 Jul 2015 18:23:55 +0000 (11:23 -0700)]
install-eg.sh: install mobile PAC
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Liam Whalen [Fri, 24 Jul 2015 18:14:00 +0000 (11:14 -0700)]
Revert "Added file to create ejabberd passwords"
This reverts commit
b0770c73c404c4d449bda3d6dd31c418a20632d3.
Liam Whalen [Tue, 21 Jul 2015 22:10:26 +0000 (15:10 -0700)]
Added file to create ejabberd passwords
When updating a server with ejabberd already installed, but the other
components of evergreen are not installed, the scripts that install
OpenSRF expect the ejabberd passwords to be set as shell variables.
This fill can be sourced to add those passwords to the shell executing
the OpenSRF install vi install-osrf.sh
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Liam Whalen [Tue, 21 Jul 2015 21:50:19 +0000 (14:50 -0700)]
Silence websockets install echo
The script echoes that web sockets are installed, but the code that does
so is commented out. So, I have commented out the echo indicating that
websockets is installed.
Robin H. Johnson [Sat, 18 Jul 2015 21:06:31 +0000 (14:06 -0700)]
Missing one dir arg.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Robin H. Johnson [Sat, 18 Jul 2015 21:03:24 +0000 (14:03 -0700)]
Refactor export scripts and take my email address off them.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Jeff Davis [Thu, 16 Jul 2015 22:53:42 +0000 (15:53 -0700)]
install-eg.sh: specify PATH on configure
Jeff Davis [Wed, 15 Jul 2015 22:41:04 +0000 (15:41 -0700)]
some paper overdues require unifont pkg
Jeff Davis [Wed, 15 Jul 2015 20:38:36 +0000 (13:38 -0700)]
install-eg.sh: oils_header.pl is required by generate_circ_notices.pl
Jeff Davis [Wed, 15 Jul 2015 20:37:36 +0000 (13:37 -0700)]
correct hostname for BibC server
Liam Whalen [Mon, 13 Jul 2015 05:29:55 +0000 (22:29 -0700)]
Modified list of production servers to 2.8 EG version
Jeff Davis [Sun, 12 Jul 2015 23:31:42 +0000 (16:31 -0700)]
EG install scripts: production branches
Jeff Davis [Sun, 12 Jul 2015 21:17:17 +0000 (14:17 -0700)]
install-eg.sh: support scripts setup: EDI, generate_circ_notices.pl
Jeff Davis [Fri, 10 Jul 2015 20:04:44 +0000 (13:04 -0700)]
install-eg.sh: loop through skin dirs; create skin dir if it does not exist
Jeff Davis [Thu, 9 Jul 2015 20:46:37 +0000 (13:46 -0700)]
install-eg.sh: skin folders should be sitkastaff-owned for now to facilitate deployment
Jeff Davis [Thu, 9 Jul 2015 18:52:27 +0000 (11:52 -0700)]
install-eg.sh: tweaks to deletepatron, skin folders, etc
Jeff Davis [Thu, 9 Jul 2015 18:38:36 +0000 (11:38 -0700)]
install-eg.sh: use correct name for config repo
Jeff Davis [Thu, 9 Jul 2015 18:29:30 +0000 (11:29 -0700)]
install-eg.sh: deploy compiled JS for overdrive-eg-opac
Jeff Davis [Thu, 9 Jul 2015 18:11:40 +0000 (11:11 -0700)]
overdrive-eg-opac: initial commit of compiled JS
Jeff Davis [Wed, 8 Jul 2015 20:09:34 +0000 (13:09 -0700)]
install-eg.sh: do not set up local log rotation on prod
Jeff Davis [Wed, 8 Jul 2015 19:57:48 +0000 (12:57 -0700)]
install-eg.sh: allow variance in production vs non-production installs
Jeff Davis [Mon, 6 Jul 2015 22:49:34 +0000 (15:49 -0700)]
install-eg.sh: use final upgrade branch
Jeff Davis [Wed, 24 Jun 2015 22:08:21 +0000 (15:08 -0700)]
x
Jeff Davis [Wed, 24 Jun 2015 22:05:32 +0000 (15:05 -0700)]
install-osrf.sh: more tweaks
Jeff Davis [Wed, 24 Jun 2015 21:58:17 +0000 (14:58 -0700)]
install-osrf.sh: ensure EG bin path is in $PATH for default user
Jeff Davis [Wed, 24 Jun 2015 21:55:55 +0000 (14:55 -0700)]
EG install scripts: typo fix
Jeff Davis [Wed, 24 Jun 2015 21:49:40 +0000 (14:49 -0700)]
EG install scripts: more tweaks
Jeff Davis [Tue, 23 Jun 2015 23:38:51 +0000 (16:38 -0700)]
EG install scripts: drop -l argument from su to preserve environment (for ssh agent forwarding)
Jeff Davis [Tue, 23 Jun 2015 20:25:38 +0000 (13:25 -0700)]
install-osrf.sh: be smarter about adding opensrf bin directory to path
Jeff Davis [Tue, 23 Jun 2015 20:03:41 +0000 (13:03 -0700)]
EG install scripts: specify git branch for sysadmin.git
Jeff Davis [Tue, 23 Jun 2015 20:03:11 +0000 (13:03 -0700)]
install-osrf.sh: do not install web client stuff by default
Jeff Davis [Mon, 22 Jun 2015 22:05:14 +0000 (15:05 -0700)]
install-eg.sh: Use latest upgrade branch; specify EG version; do not install web client stuff by default
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Jeff Davis [Tue, 16 Jun 2015 19:16:58 +0000 (12:16 -0700)]
install-eg.sh: offline blocked patron list
Jeff Davis [Tue, 16 Jun 2015 19:14:50 +0000 (12:14 -0700)]
Merge branch 'master' into eg28
Jeff Davis [Tue, 16 Jun 2015 18:27:07 +0000 (11:27 -0700)]
wrapper script for generating offline blocked patron list
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Jeff Davis [Wed, 3 Jun 2015 21:25:40 +0000 (14:25 -0700)]
fix 404 and 500 errors with XUL locale stuff
Jeff Davis [Fri, 15 May 2015 18:34:56 +0000 (11:34 -0700)]
install-eg.sh: we are installing 2.8.1, so stamp IDs etc should reflect that
Jeff Davis [Wed, 13 May 2015 18:26:19 +0000 (11:26 -0700)]
install-eg.sh: update to latest EG upgrade branch
Robin H. Johnson [Fri, 1 May 2015 20:48:29 +0000 (13:48 -0700)]
Update EBSCO export per email from jcarmody@EBSCO.COM, must turn off compression.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Robin H. Johnson [Fri, 1 May 2015 20:47:21 +0000 (13:47 -0700)]
Add jessica to ebsco output.
Robin H. Johnson [Fri, 1 May 2015 20:47:07 +0000 (13:47 -0700)]
Only delete if DELETE != 0.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Jeff Davis [Thu, 30 Apr 2015 19:05:02 +0000 (12:05 -0700)]
deployfile.sh: update Perl version for EG2.8/Ubuntu Trusty
Jeff Davis [Thu, 30 Apr 2015 18:39:10 +0000 (11:39 -0700)]
pathmap.ini: use correct Perl version
With EG 2.8 on Ubuntu Trusty, we use Perl 5.18.2, so the path for
OpenSRF and OpenILS Perl modules has changed.
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Jeff Davis [Wed, 22 Apr 2015 22:27:29 +0000 (15:27 -0700)]
install-osrf.sh: need placeholder apache2.conf before installing prereqs
Jeff Davis [Wed, 22 Apr 2015 22:10:07 +0000 (15:10 -0700)]
install-eg.sh: tweaks for Sitka-customized EG2.8 install
Jeff Davis [Thu, 12 Mar 2015 17:42:25 +0000 (10:42 -0700)]
install-eg.sh: updates for EG2.8
- do not specify dbd libs or install will fail
- correct name of Apache 2.4 default site
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Jeff Davis [Thu, 5 Mar 2015 23:30:35 +0000 (15:30 -0800)]
install-eg.sh: update for Evergreen 2.8 beta
Jeff Davis [Thu, 5 Mar 2015 22:39:44 +0000 (14:39 -0800)]
install-osrf.sh: update for OpenSRF 2.4/Evergreen 2.8
Jeff Davis [Thu, 5 Mar 2015 20:44:09 +0000 (12:44 -0800)]
install-eg.sh and install-osrf.sh: use correct base name for config files
Jeff Davis [Wed, 5 Nov 2014 21:43:10 +0000 (13:43 -0800)]
deployfile.sh: update list of prod hosts (add utility0, remove stanns)
Jeff Davis [Mon, 3 Nov 2014 19:26:30 +0000 (11:26 -0800)]
install-eg.sh: install production branch
Jeff Davis [Thu, 16 Oct 2014 16:24:09 +0000 (09:24 -0700)]
install-eg.sh: add Python Reportlab packages for paper notices
Jeff Davis [Thu, 9 Oct 2014 19:02:59 +0000 (12:02 -0700)]
age-circs.sql: ensure sitka.aged_circs is populated with xact_finish
Jeff Davis [Thu, 9 Oct 2014 18:34:50 +0000 (11:34 -0700)]
age-circs.sql: fix a few bugs found during testing
Liam Whalen [Fri, 3 Oct 2014 22:54:34 +0000 (15:54 -0700)]
Added Encode decode_utf8 use statement
Liam Whalen [Fri, 3 Oct 2014 22:39:20 +0000 (15:39 -0700)]
Fixed syntax error
Liam Whalen [Thu, 28 Aug 2014 06:28:18 +0000 (23:28 -0700)]
Updated produciton servers
Changed app1-1, app1-2, etc to app4, app5, and app6
Jeff Davis [Wed, 27 Aug 2014 22:22:09 +0000 (15:22 -0700)]
age-circs.sql: a script to age circs/anonymize patron circ history
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Mark Bucholtz [Wed, 13 Aug 2014 14:03:14 +0000 (07:03 -0700)]
update cotr marc export ini and runscript files
Robin H. Johnson [Tue, 12 Aug 2014 22:47:58 +0000 (15:47 -0700)]
Implement control over which 852 4b value is used for BCREK/COTR export as needed by MLB
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Mark Bucholtz [Tue, 12 Aug 2014 19:33:08 +0000 (12:33 -0700)]
use marc_export_custom in cotr runscript
Mark Bucholtz [Tue, 12 Aug 2014 19:27:18 +0000 (12:27 -0700)]
Merge branch 'master' of git+ssh://git.sitka.bclibraries.ca/sitka/sitka-tools
Mark Bucholtz [Tue, 12 Aug 2014 19:26:21 +0000 (12:26 -0700)]
use db1.sitka.bclibraries.ca in cotr runscript
Robin H. Johnson [Tue, 12 Aug 2014 18:46:57 +0000 (11:46 -0700)]
Apply patch from
c6520c9179834915910d8c294b3078b3f5114e17:marc_export_custom to marc_export_custom_ms.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Robin H. Johnson [Tue, 12 Aug 2014 18:46:18 +0000 (11:46 -0700)]
Apply patch from
0cb635749fd8aca004879850b2b9f456e9921b91:marc_export_custom to marc_export_custom_ms.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Robin H. Johnson [Tue, 12 Aug 2014 18:45:12 +0000 (11:45 -0700)]
Apply patch
dd134fdd181664e285e935371c92e03c9a2c065b from marc_export_custom to marc_export_custom_ms.
Mark Bucholtz [Tue, 12 Aug 2014 14:19:04 +0000 (07:19 -0700)]
add marc export scripts for cotr
Robin H. Johnson [Sat, 2 Aug 2014 17:15:21 +0000 (10:15 -0700)]
Postfix sendmail binary needs an extra option.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Robin H. Johnson [Sat, 2 Aug 2014 17:11:28 +0000 (10:11 -0700)]
Fix syntax.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Robin H. Johnson [Sat, 2 Aug 2014 17:09:03 +0000 (10:09 -0700)]
More PerlOPT.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Robin H. Johnson [Sat, 2 Aug 2014 17:07:19 +0000 (10:07 -0700)]
Document scripts better, and squelch output.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Robin H. Johnson [Sat, 2 Aug 2014 17:02:27 +0000 (10:02 -0700)]
Fix grep fail.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Robin H. Johnson [Sat, 2 Aug 2014 17:02:18 +0000 (10:02 -0700)]
Make it possible to get a quiet perl.
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
Jeff Davis [Tue, 29 Jul 2014 19:29:00 +0000 (12:29 -0700)]
integrity-checker.pl: strip newline from hash-file input
Jeff Davis [Tue, 29 Jul 2014 19:00:07 +0000 (12:00 -0700)]
integrity-checker.pl: fix command-line options for printing git hashes
Liam Whalen [Sun, 20 Jul 2014 00:29:58 +0000 (17:29 -0700)]
Fetch from the REMOTE
Currently, you need to manually keep your git repo fetched before any
changes exist to be deployed.
This commit adds a git fetch to pull any changes before deploying.
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Liam Whalen [Sun, 20 Jul 2014 00:18:17 +0000 (17:18 -0700)]
Create relative paths for local file storage
Currently, when deploying, the local files used to deploy to the server
are stored in the same directory. When there are files that have the
same name, the last file to be deployed is the only one present in the
directory because it overwrites the previous files with the same name.
This commit creates a temporary directory with the relative path of the
filename appended to the end of the temporary directory.
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Jeff Davis [Wed, 16 Jul 2014 19:40:48 +0000 (12:40 -0700)]
Merge branch 'eg26'
Jeff Davis [Wed, 16 Jul 2014 18:52:07 +0000 (11:52 -0700)]
RT21793: BTR outlook profile - exclude On Order records
Jeff Davis [Fri, 27 Jun 2014 00:53:29 +0000 (17:53 -0700)]
install-drone.sh: it is important to correctly copy the specially built Perl libs to their proper home
Jeff Davis [Wed, 25 Jun 2014 23:27:13 +0000 (16:27 -0700)]
install-drone.sh: update for EG2.6
Jeff Davis [Mon, 23 Jun 2014 22:49:56 +0000 (15:49 -0700)]
Deploy latest EG branch (upgrade/eg26/rc1-tpac)
Jeff Davis [Fri, 6 Jun 2014 22:44:14 +0000 (15:44 -0700)]
install-eg.sh: hack to use already-localized fm_IDL.xml (see RT19953)
Jeff Davis [Fri, 6 Jun 2014 22:43:13 +0000 (15:43 -0700)]
install-eg.sh: install Sitka's version of 2.6.1 from git
Jeff Davis [Fri, 6 Jun 2014 22:39:35 +0000 (15:39 -0700)]
Revert "update install-eg.sh to install EG 2.6 beta1 from tarball"
This reverts commit
6f940e4f50cb3d1b4420cc28d7ae5838f0404691.
Jeff Davis [Tue, 4 Mar 2014 21:36:46 +0000 (13:36 -0800)]
install-eg.sh: fix incorrect test for whether files exist
Robin H. Johnson [Wed, 9 Apr 2014 18:11:06 +0000 (11:11 -0700)]
Drop BKCT in config