sitka/sitka-tools.git
6 years agoCheck that deployed EG code matches the code in git.
Jeff Davis [Wed, 4 Dec 2013 22:32:20 +0000 (14:32 -0800)]
Check that deployed EG code matches the code in git.

In a multi-server environment, it can easily become confusing to track
what changes have been made to which servers.  This commit adds a script
to compare parts of the evergreen.git source tree to the corresponding
parts of the file tree on an Evergreen server, using git's internal
hashing mechanism to calculate checksums for various deployed files
which can be compared with the hashes stored by the git repo.

A sample configuration file, pathmap.ini, demonstrates how to (a) map a
directory in the git source tree to the corresponding directory on an
Evergreen server, and (b) group multiple directories together into
"components" so that you can, for example, audit all OpenILS Perl
modules with a single command.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
6 years agoImprove error checking before export actually triggers the FTP upload.
Robin H. Johnson [Mon, 2 Dec 2013 16:57:34 +0000 (08:57 -0800)]
Improve error checking before export actually triggers the FTP upload.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
7 years agoAdd more patch points to patching tool
Steven Chan [Thu, 28 Nov 2013 23:17:04 +0000 (15:17 -0800)]
Add more patch points to patching tool

The new patch points will allow more deployed software to be patched.  The
issue is that these patch points are located in paths different from their
resident paths in the software repository.

7 years agoinstall-eg.sh: log rotation
Jeff Davis [Fri, 11 Oct 2013 20:37:54 +0000 (13:37 -0700)]
install-eg.sh: log rotation

7 years agoadding export scripts for MWPL
Jeff Davis [Thu, 26 Sep 2013 05:32:46 +0000 (22:32 -0700)]
adding export scripts for MWPL

7 years agoImprove strings.
Robin H. Johnson [Wed, 18 Sep 2013 14:08:38 +0000 (07:08 -0700)]
Improve strings.

7 years agoFinal code for MUCN EBSCO upload.
Robin H. Johnson [Tue, 17 Sep 2013 22:22:06 +0000 (15:22 -0700)]
Final code for MUCN EBSCO upload.

7 years agoClarify Outlook vs UCN EBSCO scripts.
Robin H. Johnson [Tue, 17 Sep 2013 20:27:44 +0000 (13:27 -0700)]
Clarify Outlook vs UCN EBSCO scripts.

7 years agoUpdate Outlook email notification addresses per Mari Martin.
Robin H. Johnson [Tue, 17 Sep 2013 17:13:24 +0000 (10:13 -0700)]
Update Outlook email notification addresses per Mari Martin.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
7 years agoAnita replaces Heather, added Bob.
Robin H. Johnson [Wed, 4 Sep 2013 03:17:13 +0000 (03:17 +0000)]
Anita replaces Heather, added Bob.

7 years agoinstall-eg.sh: only install a few locales; create offline circ stuff AFTER setting...
Jeff Davis [Fri, 23 Aug 2013 22:45:18 +0000 (15:45 -0700)]
install-eg.sh: only install a few locales; create offline circ stuff AFTER setting up opensrf.xml

7 years agoinstall-eg.sh: a few minor improvements
Jeff Davis [Wed, 31 Jul 2013 18:22:17 +0000 (11:22 -0700)]
install-eg.sh: a few minor improvements

7 years ago[RT16904] Exclude BMB-LS reading room books from Outlook per request.
Robin H. Johnson [Tue, 30 Jul 2013 20:44:12 +0000 (13:44 -0700)]
[RT16904] Exclude BMB-LS reading room books from Outlook per request.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
7 years agoupdated install scripts for production 2.4 environment
Jeff Davis [Wed, 24 Jul 2013 21:21:19 +0000 (14:21 -0700)]
updated install scripts for production 2.4 environment

7 years agoinstall-eg.sh: eg.conf is renamed to 000-evergreen.conf
Jeff Davis [Wed, 26 Jun 2013 18:09:19 +0000 (11:09 -0700)]
install-eg.sh: eg.conf is renamed to 000-evergreen.conf

7 years agodeployfile.sh: fix bug with -u option
Jeff Davis [Wed, 26 Jun 2013 18:08:49 +0000 (11:08 -0700)]
deployfile.sh: fix bug with -u option

7 years agoAdd quiet make rules.
Robin H. Johnson [Tue, 25 Jun 2013 00:26:39 +0000 (00:26 +0000)]
Add quiet make rules.

7 years agoApply new quiet flag.
Robin H. Johnson [Tue, 25 Jun 2013 00:21:59 +0000 (00:21 +0000)]
Apply new quiet flag.

7 years agoAlso squelch the Retrieving messages.
Robin H. Johnson [Tue, 25 Jun 2013 00:21:52 +0000 (00:21 +0000)]
Also squelch the Retrieving messages.

7 years agoAdd ability to make it run quietly to reduce mail size.
Robin H. Johnson [Tue, 25 Jun 2013 00:19:09 +0000 (00:19 +0000)]
Add ability to make it run quietly to reduce mail size.

7 years agoinstall-eg.sh: setup offline circ
Jeff Davis [Thu, 20 Jun 2013 20:01:56 +0000 (13:01 -0700)]
install-eg.sh: setup offline circ

7 years agoFurther updates to install scripts for EG 2.4.0 and OpenSRF 2.2.0
Jeff Davis [Fri, 14 Jun 2013 19:58:27 +0000 (12:58 -0700)]
Further updates to install scripts for EG 2.4.0 and OpenSRF 2.2.0

7 years agoUpdate install scripts for EG 2.4.0 and OpenSRF 2.2.0
Jeff Davis [Wed, 22 May 2013 00:32:09 +0000 (17:32 -0700)]
Update install scripts for EG 2.4.0 and OpenSRF 2.2.0

7 years agoparse-osrf-xml.pl: show user and password in output
Jeff Davis [Wed, 19 Jun 2013 20:52:34 +0000 (13:52 -0700)]
parse-osrf-xml.pl: show user and password in output

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
7 years agodeployfile.sh: add option to auto-detect destination path; also optional verbose...
Jeff Davis [Tue, 28 May 2013 01:28:28 +0000 (18:28 -0700)]
deployfile.sh: add option to auto-detect destination path; also optional verbose output

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
7 years agocircmod renaming: ill-no-renew -> ill-no-renewal.
Robin H. Johnson [Thu, 18 Apr 2013 03:51:39 +0000 (03:51 +0000)]
circmod renaming: ill-no-renew -> ill-no-renewal.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
7 years agoFix order of precedence.
Robin H. Johnson [Wed, 17 Apr 2013 19:19:41 +0000 (19:19 +0000)]
Fix order of precedence.

7 years agoRemoving BGIC, BMIS, BSI from Outlook per BCGov
Robin H. Johnson [Thu, 4 Apr 2013 18:25:46 +0000 (18:25 +0000)]
Removing BGIC, BMIS, BSI from Outlook per BCGov

Date: 4 Apr 2013 11:20:32 -0700
From: "Martin, Mari EDUC:EX" <Mari.Martin@gov...>
BGIC, BMIS and BSI are not libraries under the Library Act.  They do not
directly receive provincial funding and do not participate as lenders in
the Inter-library loan program which the OutLook Online Catalogue is
used for--therefore their records do not need to be uploaded.

7 years agoSince MWP was moved to the GOVLIBS orgunit parent, we need to exclude it explicitly.
Robin H. Johnson [Thu, 4 Apr 2013 17:38:15 +0000 (17:38 +0000)]
Since MWP was moved to the GOVLIBS orgunit parent, we need to exclude it explicitly.

7 years agoAnne Morgan has been replaced by Martin Mari.
Robin H. Johnson [Thu, 4 Apr 2013 17:36:25 +0000 (17:36 +0000)]
Anne Morgan has been replaced by Martin Mari.

7 years agoadding new flag for deployfile.sh for easy deploy to all production
kreed [Thu, 28 Mar 2013 19:05:34 +0000 (12:05 -0700)]
adding new flag for deployfile.sh for easy deploy to all production

7 years agoImplement NVIT export settings.
Robin H. Johnson [Tue, 12 Feb 2013 23:29:38 +0000 (23:29 +0000)]
Implement NVIT export settings.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
7 years agodeployment: updated install scripts to EG 2.2.5 and OpenSRF 2.1.2
Jeff Davis [Tue, 5 Feb 2013 18:33:39 +0000 (10:33 -0800)]
deployment: updated install scripts to EG 2.2.5 and OpenSRF 2.1.2

7 years agodeployment: use apt to install Perl modules required by deletepatron:
Jeff Davis [Wed, 2 Jan 2013 23:23:54 +0000 (15:23 -0800)]
deployment: use apt to install Perl modules required by deletepatron:

HTML::Template (libhtml-template-perl)
CGI::Session (libcgi-session-perl)

7 years agoApply or unapply a patch to remote Evergreen hosts
Steven Chan [Tue, 4 Dec 2012 00:49:05 +0000 (16:49 -0800)]
Apply or unapply a patch to remote Evergreen hosts

7 years agoUpdate email text.
Robin H. Johnson [Mon, 3 Dec 2012 05:19:58 +0000 (05:19 +0000)]
Update email text.

7 years agoError checking and paths.
Robin H. Johnson [Mon, 3 Dec 2012 05:18:53 +0000 (05:18 +0000)]
Error checking and paths.

8 years agoadding indb reindexing tool
James Fournie [Tue, 20 Nov 2012 21:50:22 +0000 (13:50 -0800)]
adding indb reindexing tool

8 years agoFix email run part.
Robin H. Johnson [Sun, 4 Nov 2012 21:31:17 +0000 (13:31 -0800)]
Fix email run part.

8 years agoExclude SITKA Springfield.
Robin H. Johnson [Sun, 4 Nov 2012 16:47:58 +0000 (08:47 -0800)]
Exclude SITKA Springfield.

8 years agoEnsure dir always works absolutely.
Robin H. Johnson [Sun, 4 Nov 2012 16:45:37 +0000 (08:45 -0800)]
Ensure dir always works absolutely.

8 years agoLets see if we can make this better for outlook.
Robin H. Johnson [Sun, 4 Nov 2012 16:42:34 +0000 (08:42 -0800)]
Lets see if we can make this better for outlook.

8 years agoWhitespace.
Robin H. Johnson [Sun, 4 Nov 2012 16:42:19 +0000 (08:42 -0800)]
Whitespace.

8 years agoTemplate help.
Robin H. Johnson [Sun, 4 Nov 2012 16:42:12 +0000 (08:42 -0800)]
Template help.

8 years agodeployment: include /etc/apache2/envvars in EG install
Jeff Davis [Wed, 24 Oct 2012 20:38:57 +0000 (13:38 -0700)]
deployment: include /etc/apache2/envvars in EG install

8 years agodeployment: add staff client start page
Jeff Davis [Wed, 26 Sep 2012 19:09:00 +0000 (12:09 -0700)]
deployment: add staff client start page

8 years agodeployment: fix to deploy bclibraries skin correctly
Jeff Davis [Wed, 26 Sep 2012 18:16:45 +0000 (11:16 -0700)]
deployment: fix to deploy bclibraries skin correctly

8 years agodeployment: fix ejabberd setup
Jeff Davis [Wed, 26 Sep 2012 00:58:08 +0000 (17:58 -0700)]
deployment: fix ejabberd setup

8 years agodeployment: require manually-supplied ejabberd passwords in install-osrf.sh
Jeff Davis [Wed, 26 Sep 2012 00:22:47 +0000 (17:22 -0700)]
deployment: require manually-supplied ejabberd passwords in install-osrf.sh

8 years agoadded automated deployment tools
Jeff Davis [Tue, 25 Sep 2012 23:49:06 +0000 (16:49 -0700)]
added automated deployment tools

8 years agoMore export tools by James I think.
Robin H. Johnson [Thu, 16 Aug 2012 05:44:02 +0000 (22:44 -0700)]
More export tools by James I think.

8 years agonew stat tool.
Robin H. Johnson [Thu, 16 Aug 2012 05:42:49 +0000 (22:42 -0700)]
new stat tool.

8 years agoFix hostname.
Robin H. Johnson [Thu, 16 Aug 2012 05:42:27 +0000 (22:42 -0700)]
Fix hostname.

8 years agoUpdate inclusion rules.
Robin H. Johnson [Thu, 16 Aug 2012 05:39:23 +0000 (05:39 +0000)]
Update inclusion rules.

8 years agoisolating the existence of the non multi-session into the only function that uses it
James Fournie [Mon, 21 May 2012 22:19:39 +0000 (15:19 -0700)]
isolating the existence of the non multi-session into the only function that uses it

8 years agoimproved BSLW script with the final requirements
James Fournie [Fri, 18 May 2012 21:13:38 +0000 (14:13 -0700)]
improved BSLW script with the final requirements

8 years agoadding experimental MultiSession marc_export_custom
James Fournie [Fri, 18 May 2012 21:12:44 +0000 (14:12 -0700)]
adding experimental MultiSession marc_export_custom

8 years agoMerge branch 'master' of git+ssh://git.sitka.bclibraries.ca/sitka/sitka-tools
James Fournie [Fri, 4 May 2012 18:01:24 +0000 (11:01 -0700)]
Merge branch 'master' of git+ssh://git.sitka.bclibraries.ca/sitka/sitka-tools

8 years agoScript for loading a master set of records from BSLW for merging
James Fournie [Fri, 4 May 2012 18:00:48 +0000 (11:00 -0700)]
Script for loading a master set of records from BSLW for merging

8 years agoAdd placeholders for NVIT.
Robin H. Johnson [Mon, 16 Apr 2012 22:58:02 +0000 (15:58 -0700)]
Add placeholders for NVIT.

8 years agoadd parallel script for BSLW (no holdings, with separate TNRD export)
James Fournie [Fri, 30 Mar 2012 21:40:23 +0000 (14:40 -0700)]
add parallel script for BSLW (no holdings, with separate TNRD export)

8 years agoAlas, not everyone wants Overdrive so let's do things a bit differently
James Fournie [Fri, 30 Mar 2012 21:36:32 +0000 (14:36 -0700)]
Alas, not everyone wants Overdrive so let's do things a bit differently

8 years agofinal updates
James Fournie [Tue, 6 Mar 2012 00:07:10 +0000 (16:07 -0800)]
final updates

8 years agoRage on bad Perl.
Robin H. Johnson [Wed, 29 Feb 2012 23:06:19 +0000 (15:06 -0800)]
Rage on bad Perl.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
8 years agoMy kingdom for people that write sane perl where ->deleted would be true and you...
Robin H. Johnson [Wed, 29 Feb 2012 23:00:49 +0000 (15:00 -0800)]
My kingdom for people that write sane perl where ->deleted would be true and you don't have to check for t/f/0 seperately.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
8 years agoAlso skip deleted bibs and deleted call numbers.
Robin H. Johnson [Wed, 29 Feb 2012 22:37:21 +0000 (14:37 -0800)]
Also skip deleted bibs and deleted call numbers.

8 years agoWe should NOT have deleted copies in the export.
Robin H. Johnson [Wed, 29 Feb 2012 22:12:21 +0000 (14:12 -0800)]
We should NOT have deleted copies in the export.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
8 years agoUpdated overdrive ingest scripts
James Fournie [Thu, 23 Feb 2012 23:19:26 +0000 (15:19 -0800)]
Updated overdrive ingest scripts

8 years agoMerge branch 'master' of git+ssh://git.sitka.bclibraries.ca/sitka/sitka-tools
James Fournie [Thu, 23 Feb 2012 20:04:31 +0000 (12:04 -0800)]
Merge branch 'master' of git+ssh://git.sitka.bclibraries.ca/sitka/sitka-tools

8 years agoScript to fetch all shortcodes to CSV file.
Robin H. Johnson [Thu, 23 Feb 2012 02:50:51 +0000 (18:50 -0800)]
Script to fetch all shortcodes to CSV file.

8 years agoRemove last notes.
Robin H. Johnson [Thu, 23 Feb 2012 02:37:33 +0000 (18:37 -0800)]
Remove last notes.

8 years agoScripts to help with template email and upload.
Robin H. Johnson [Thu, 23 Feb 2012 02:34:07 +0000 (18:34 -0800)]
Scripts to help with template email and upload.

8 years agoOnly export materials with holdings for outlook.
Robin H. Johnson [Sat, 18 Feb 2012 23:24:04 +0000 (15:24 -0800)]
Only export materials with holdings for outlook.

8 years agoDisable SPRUCE.
Robin H. Johnson [Sat, 18 Feb 2012 23:23:38 +0000 (15:23 -0800)]
Disable SPRUCE.

9 years agoMerge branch 'master' of git+ssh://git.sitka.bclibraries.ca/sitka/sitka-tools
James Fournie [Mon, 14 Nov 2011 23:30:53 +0000 (15:30 -0800)]
Merge branch 'master' of git+ssh://git.sitka.bclibraries.ca/sitka/sitka-tools

9 years agoadding some help
James Fournie [Mon, 31 Oct 2011 20:13:05 +0000 (13:13 -0700)]
adding some help

9 years agomake this into a new setting --onlyholdings which only exports
James Fournie [Mon, 31 Oct 2011 20:09:43 +0000 (13:09 -0700)]
make this into a new setting --onlyholdings which only exports
items that successfully get an 852 holdings field
Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
9 years agoCleanup defined.
Robin H. Johnson [Mon, 31 Oct 2011 19:57:31 +0000 (12:57 -0700)]
Cleanup defined.

9 years agoTry to only export items with matching holding.
Robin H. Johnson [Mon, 31 Oct 2011 08:06:16 +0000 (01:06 -0700)]
Try to only export items with matching holding.

9 years agoFix whitespace.
Robin H. Johnson [Mon, 31 Oct 2011 07:54:59 +0000 (00:54 -0700)]
Fix whitespace.

9 years agoAdd ability to catch Encode.xs failures on UTF8 bad leaders.
Robin H. Johnson [Mon, 31 Oct 2011 07:54:33 +0000 (00:54 -0700)]
Add ability to catch Encode.xs failures on UTF8 bad leaders.

9 years agoRefactor handling of $localcfg and fix OnlyIncludeCircMods fetching CircMods wrongly.
Robin H. Johnson [Mon, 31 Oct 2011 07:52:40 +0000 (00:52 -0700)]
Refactor handling of $localcfg and fix OnlyIncludeCircMods fetching CircMods wrongly.

9 years agoHandle errors in counter.
Robin H. Johnson [Mon, 31 Oct 2011 07:48:04 +0000 (00:48 -0700)]
Handle errors in counter.

9 years agoinitial overdrive import code
James Fournie [Tue, 25 Oct 2011 23:04:55 +0000 (16:04 -0700)]
initial overdrive import code

9 years agoAdd 901c print tool.
Robin H. Johnson [Mon, 24 Oct 2011 21:47:35 +0000 (14:47 -0700)]
Add 901c print tool.

9 years agoMove split count further down.
Robin H. Johnson [Mon, 24 Oct 2011 19:28:14 +0000 (12:28 -0700)]
Move split count further down.

9 years agoOnlyIncludeCircMods, not OnlyIncludeCircModifiers.
Robin H. Johnson [Mon, 24 Oct 2011 19:26:33 +0000 (12:26 -0700)]
OnlyIncludeCircMods, not OnlyIncludeCircModifiers.

9 years agoMerge branch 'master' of git://git.sitka.bclibraries.ca/sitka/sitka-tools
root [Fri, 7 Oct 2011 20:58:41 +0000 (13:58 -0700)]
Merge branch 'master' of git://git.sitka.bclibraries.ca/sitka/sitka-tools

9 years agoFix logging
Robin H. Johnson [Fri, 7 Oct 2011 20:54:46 +0000 (13:54 -0700)]
Fix logging

9 years agoAvoid dupes in input ids, add outlook publics.
Robin H. Johnson [Fri, 7 Oct 2011 20:54:25 +0000 (13:54 -0700)]
Avoid dupes in input ids, add outlook publics.

9 years agoAdd parallel tools.
Robin H. Johnson [Fri, 7 Oct 2011 20:57:36 +0000 (13:57 -0700)]
Add parallel tools.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
9 years agoMake export scripts live.
Robin H. Johnson [Fri, 7 Oct 2011 20:56:54 +0000 (13:56 -0700)]
Make export scripts live.

9 years agoFix skipnote spew and syntax.
Robin H. Johnson [Fri, 7 Oct 2011 20:56:20 +0000 (13:56 -0700)]
Fix skipnote spew and syntax.

Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
9 years agomove force 901 block so it happens outside of the adding holdings
James Fournie [Fri, 7 Oct 2011 20:48:35 +0000 (13:48 -0700)]
move force 901 block so it happens outside of the adding holdings

Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
9 years agoFix chomp.
Robin H. Johnson [Wed, 5 Oct 2011 00:51:54 +0000 (17:51 -0700)]
Fix chomp.

9 years agoAdd an explicit output file handle so STDOUT can be reused.
Robin H. Johnson [Wed, 5 Oct 2011 00:51:04 +0000 (17:51 -0700)]
Add an explicit output file handle so STDOUT can be reused.

9 years agoremove over-zealous chomping
James Fournie [Wed, 5 Oct 2011 00:43:04 +0000 (17:43 -0700)]
remove over-zealous chomping

Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
9 years agofixing this error handling
James Fournie [Mon, 3 Oct 2011 18:11:17 +0000 (11:11 -0700)]
fixing this error handling

9 years agoadding a bit more useful error handling
James Fournie [Mon, 3 Oct 2011 18:04:35 +0000 (11:04 -0700)]
adding a bit more useful error handling

9 years agocommenting out SPRUCE from ini files
James Fournie [Mon, 3 Oct 2011 16:57:58 +0000 (09:57 -0700)]
commenting out SPRUCE from ini files
removing an extranneous debug message