LP#1329872 - marc_export exit when required IDs are missing The marc_export script would handle being passed invalid or empty IDs as if you had the --all flag selected. So if you accidentally generated a file with a list of BIB id numbers that was empty and passed it to the script, you would end up with an export of all bibs in the system instead of an empty export. Testing Notes: === Before fix === Create an empty file, or a file that just contains "id". $ touch input1 $ echo "id" > input2 All these commands should result in a full export of all bibs. $ cat ./input1 | marc_export $ cat ./input2 | marc_export $ echo "id" | marc_export $ cat ./input1 | marc_export --pipe === After fix === Try the same commands as above, and the marc_export script should error out each time. Signed-off-by: Josh Stompro <stomproj@larl.org> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
clear out release note stubs Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1626139 Remove References to OSRFGatewayLegacyJSON With the deprecation of OSRFGatewayLegacyJSON in OpenSRF, update the Evergreen example Apache confugration to suit. Includes upgrade notes about removal. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu>
LP2012402 Authoritative APIs are optional; disabled by default Adds a new setting to opensrf.xml called 'uses_pooled_read_replica_dbs' which controls whether Evergreen enables support for "authoritative" API calls. When disabled, the ".authoritative" API variant is simply a clone of the non-authoritative version. Similarly, the Angular PCRUD service will avoid making transaction begin/rollback calls when the 'authoritative' PCRUD option is passed locally. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu>
LP#2015484: add --exclude-hidden option to marc_export This option, when used in conjunction with the various options that export items, excludes ones that are suppressed from the OPAC. To test ------- [1] Various make some items OPAC-hidden via the four ways that this can be done in Evergreen (i.e., org_unit, item, item status, or shelving location). [2] Apply the patch and run marc_export with --exclude-hidden, --items, and/or combinations of --library and --descendants. [3] Verify that the hidden items are not emitted in the 852 fields. [4] Also verify that bibs that have no visible items are also excluded. Signed-off-by: Galen Charlton <gmc@equinoxOLI.org> Signed-off-by: Jason Stephenson <jason@sigio.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu>
LP#2004587: add option to marc_export to tune 852$b output The new --852b switch (when used in conjunction with --items) takes the following values: * circ_lib - emit the item circulation library in 852$b * owning_lib - emit the owning library in 852$b * both - emit owning lib and circ lib as separate repeats of $b. This is both the default and legacy behavior. To test ------- [1] Set up some items with differing values for the owning library and the circulating library. [2] Run several exports exercising the three --852b options and verify that the 852 $b output matches what is specified by the switch. Signed-off-by: Galen Charlton <gmc@equinoxOLI.org> Signed-off-by: Josh Stompro <stomproj@larl.org> Signed-off-by: Jason Stephenson <jason@sigio.com>
3.11 Release Notes Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP#1901932 Wish List - Enhanced Concerto dataset Introducing a new concerto dataset. Loadable via eg_db_config. Including the perl script and full documentation on this dataset How to re-create it, etc. Signed-off-by: blake <blake@mobiusconsortium.org> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
LP1940662: Add a --pipe option to marc_export Add a --pipe option to marc_export to force reading of record ids from standard input when one or more of the --library, or --descendants options are used. This permits more flexibility when exporting records with holdings for given libraries or subsets of a collection. It is an error to specify the --all or --since and --pipe options in the same command line. Co-authored-by: Josh Stompro <stomproj@larl.org> Signed-off-by: Jason Stephenson <jason@sigio.com> Signed-off-by: Josh Stompro <stomproj@larl.org>