Liam Whalen [Fri, 13 Dec 2013 18:14:43 +0000 (10:14 -0800)]
[rt18107] Cleaned up access_pathmap.pl
I noticed a few problems with access_pathmap.pl after my initial commmit
to master. First, the ability to retrieve all sections was using a space
' ' as a delimeter between the section names, and a space is a valid
input within a section name, so I changed the space to a newline. As
well, I modified the regex used to edit the section names to strip out [
and ] from the beggining and end of the section names only. The
previous version removed all occurances of [ and ] from a section name,
which may not be the same thing.
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Liam Whalen [Wed, 11 Dec 2013 23:56:00 +0000 (15:56 -0800)]
[rt18107] Extracted the pathmap functionality from integrity-checker.pl
We can use access_pathmap.pl to grab the list of all modules by calling
it with only the --config option and no --component option. If you add
the --component option then the program will return the associated paths
for that component in the INI file specified by --config. If you add
--srcpath it will retrieve the mapping for that srcpath.
access_pathmap.pl now has all the required functionality for
integrity-checker.pl to function. There is one problem I have run into.
Some of the files in /srv/openils/var/web/xul/server are copied from
Open-ILS/xul/staff_client/chrome/content/ and the pathmap.ini does not
account for this, so they show up as untracked. I will try and figure
out how to take this into consideration once I have access_pathmap.pl
working with the git-deploy.sh script.
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
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>
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>
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.
Jeff Davis [Fri, 11 Oct 2013 20:37:54 +0000 (13:37 -0700)]
install-eg.sh: log rotation
Jeff Davis [Thu, 26 Sep 2013 05:32:46 +0000 (22:32 -0700)]
adding export scripts for MWPL
Robin H. Johnson [Wed, 18 Sep 2013 14:08:38 +0000 (07:08 -0700)]
Improve strings.
Robin H. Johnson [Tue, 17 Sep 2013 22:22:06 +0000 (15:22 -0700)]
Final code for MUCN EBSCO upload.
Robin H. Johnson [Tue, 17 Sep 2013 20:27:44 +0000 (13:27 -0700)]
Clarify Outlook vs UCN EBSCO scripts.
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>
Robin H. Johnson [Wed, 4 Sep 2013 03:17:13 +0000 (03:17 +0000)]
Anita replaces Heather, added Bob.
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
Jeff Davis [Wed, 31 Jul 2013 18:22:17 +0000 (11:22 -0700)]
install-eg.sh: a few minor improvements
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>
Jeff Davis [Wed, 24 Jul 2013 21:21:19 +0000 (14:21 -0700)]
updated install scripts for production 2.4 environment
Jeff Davis [Wed, 26 Jun 2013 18:09:19 +0000 (11:09 -0700)]
install-eg.sh: eg.conf is renamed to 000-evergreen.conf
Jeff Davis [Wed, 26 Jun 2013 18:08:49 +0000 (11:08 -0700)]
deployfile.sh: fix bug with -u option
Robin H. Johnson [Tue, 25 Jun 2013 00:26:39 +0000 (00:26 +0000)]
Add quiet make rules.
Robin H. Johnson [Tue, 25 Jun 2013 00:21:59 +0000 (00:21 +0000)]
Apply new quiet flag.
Robin H. Johnson [Tue, 25 Jun 2013 00:21:52 +0000 (00:21 +0000)]
Also squelch the Retrieving messages.
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.
Jeff Davis [Thu, 20 Jun 2013 20:01:56 +0000 (13:01 -0700)]
install-eg.sh: setup offline circ
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
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
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>
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>
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>
Robin H. Johnson [Wed, 17 Apr 2013 19:19:41 +0000 (19:19 +0000)]
Fix order of precedence.
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.
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.
Robin H. Johnson [Thu, 4 Apr 2013 17:36:25 +0000 (17:36 +0000)]
Anne Morgan has been replaced by Martin Mari.
kreed [Thu, 28 Mar 2013 19:05:34 +0000 (12:05 -0700)]
adding new flag for deployfile.sh for easy deploy to all production
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>
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
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)
Steven Chan [Tue, 4 Dec 2012 00:49:05 +0000 (16:49 -0800)]
Apply or unapply a patch to remote Evergreen hosts
Robin H. Johnson [Mon, 3 Dec 2012 05:19:58 +0000 (05:19 +0000)]
Update email text.
Robin H. Johnson [Mon, 3 Dec 2012 05:18:53 +0000 (05:18 +0000)]
Error checking and paths.
James Fournie [Tue, 20 Nov 2012 21:50:22 +0000 (13:50 -0800)]
adding indb reindexing tool
Robin H. Johnson [Sun, 4 Nov 2012 21:31:17 +0000 (13:31 -0800)]
Fix email run part.
Robin H. Johnson [Sun, 4 Nov 2012 16:47:58 +0000 (08:47 -0800)]
Exclude SITKA Springfield.
Robin H. Johnson [Sun, 4 Nov 2012 16:45:37 +0000 (08:45 -0800)]
Ensure dir always works absolutely.
Robin H. Johnson [Sun, 4 Nov 2012 16:42:34 +0000 (08:42 -0800)]
Lets see if we can make this better for outlook.
Robin H. Johnson [Sun, 4 Nov 2012 16:42:19 +0000 (08:42 -0800)]
Whitespace.
Robin H. Johnson [Sun, 4 Nov 2012 16:42:12 +0000 (08:42 -0800)]
Template help.
Jeff Davis [Wed, 24 Oct 2012 20:38:57 +0000 (13:38 -0700)]
deployment: include /etc/apache2/envvars in EG install
Jeff Davis [Wed, 26 Sep 2012 19:09:00 +0000 (12:09 -0700)]
deployment: add staff client start page
Jeff Davis [Wed, 26 Sep 2012 18:16:45 +0000 (11:16 -0700)]
deployment: fix to deploy bclibraries skin correctly
Jeff Davis [Wed, 26 Sep 2012 00:58:08 +0000 (17:58 -0700)]
deployment: fix ejabberd setup
Jeff Davis [Wed, 26 Sep 2012 00:22:47 +0000 (17:22 -0700)]
deployment: require manually-supplied ejabberd passwords in install-osrf.sh
Jeff Davis [Tue, 25 Sep 2012 23:49:06 +0000 (16:49 -0700)]
added automated deployment tools
Robin H. Johnson [Thu, 16 Aug 2012 05:44:02 +0000 (22:44 -0700)]
More export tools by James I think.
Robin H. Johnson [Thu, 16 Aug 2012 05:42:49 +0000 (22:42 -0700)]
new stat tool.
Robin H. Johnson [Thu, 16 Aug 2012 05:42:27 +0000 (22:42 -0700)]
Fix hostname.
Robin H. Johnson [Thu, 16 Aug 2012 05:39:23 +0000 (05:39 +0000)]
Update inclusion rules.
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
James Fournie [Fri, 18 May 2012 21:13:38 +0000 (14:13 -0700)]
improved BSLW script with the final requirements
James Fournie [Fri, 18 May 2012 21:12:44 +0000 (14:12 -0700)]
adding experimental MultiSession marc_export_custom
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
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
Robin H. Johnson [Mon, 16 Apr 2012 22:58:02 +0000 (15:58 -0700)]
Add placeholders for NVIT.
James Fournie [Fri, 30 Mar 2012 21:40:23 +0000 (14:40 -0700)]
add parallel script for BSLW (no holdings, with separate TNRD export)
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
James Fournie [Tue, 6 Mar 2012 00:07:10 +0000 (16:07 -0800)]
final updates
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>
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>
Robin H. Johnson [Wed, 29 Feb 2012 22:37:21 +0000 (14:37 -0800)]
Also skip deleted bibs and deleted call numbers.
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>
James Fournie [Thu, 23 Feb 2012 23:19:26 +0000 (15:19 -0800)]
Updated overdrive ingest scripts
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
Robin H. Johnson [Thu, 23 Feb 2012 02:50:51 +0000 (18:50 -0800)]
Script to fetch all shortcodes to CSV file.
Robin H. Johnson [Thu, 23 Feb 2012 02:37:33 +0000 (18:37 -0800)]
Remove last notes.
Robin H. Johnson [Thu, 23 Feb 2012 02:34:07 +0000 (18:34 -0800)]
Scripts to help with template email and upload.
Robin H. Johnson [Sat, 18 Feb 2012 23:24:04 +0000 (15:24 -0800)]
Only export materials with holdings for outlook.
Robin H. Johnson [Sat, 18 Feb 2012 23:23:38 +0000 (15:23 -0800)]
Disable SPRUCE.
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
James Fournie [Mon, 31 Oct 2011 20:13:05 +0000 (13:13 -0700)]
adding some help
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>
Robin H. Johnson [Mon, 31 Oct 2011 19:57:31 +0000 (12:57 -0700)]
Cleanup defined.
Robin H. Johnson [Mon, 31 Oct 2011 08:06:16 +0000 (01:06 -0700)]
Try to only export items with matching holding.
Robin H. Johnson [Mon, 31 Oct 2011 07:54:59 +0000 (00:54 -0700)]
Fix whitespace.
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.
Robin H. Johnson [Mon, 31 Oct 2011 07:52:40 +0000 (00:52 -0700)]
Refactor handling of $localcfg and fix OnlyIncludeCircMods fetching CircMods wrongly.
Robin H. Johnson [Mon, 31 Oct 2011 07:48:04 +0000 (00:48 -0700)]
Handle errors in counter.
James Fournie [Tue, 25 Oct 2011 23:04:55 +0000 (16:04 -0700)]
initial overdrive import code
Robin H. Johnson [Mon, 24 Oct 2011 21:47:35 +0000 (14:47 -0700)]
Add 901c print tool.
Robin H. Johnson [Mon, 24 Oct 2011 19:28:14 +0000 (12:28 -0700)]
Move split count further down.
Robin H. Johnson [Mon, 24 Oct 2011 19:26:33 +0000 (12:26 -0700)]
OnlyIncludeCircMods, not OnlyIncludeCircModifiers.
root [Fri, 7 Oct 2011 20:58:41 +0000 (13:58 -0700)]
Merge branch 'master' of git://git.sitka.bclibraries.ca/sitka/sitka-tools
Robin H. Johnson [Fri, 7 Oct 2011 20:54:46 +0000 (13:54 -0700)]
Fix logging
Robin H. Johnson [Fri, 7 Oct 2011 20:54:25 +0000 (13:54 -0700)]
Avoid dupes in input ids, add outlook publics.
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>
Robin H. Johnson [Fri, 7 Oct 2011 20:56:54 +0000 (13:56 -0700)]
Make export scripts live.
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>
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>
Robin H. Johnson [Wed, 5 Oct 2011 00:51:54 +0000 (17:51 -0700)]
Fix chomp.
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.
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>
James Fournie [Mon, 3 Oct 2011 18:11:17 +0000 (11:11 -0700)]
fixing this error handling