Skip to content

For changing the Management Tags of an Itemized set in Alma to "Don't Publish".

Notifications You must be signed in to change notification settings

mlibrary/alma-unset-acq-tag

Repository files navigation

Alma Unset Acq Tag

Scripts for creating an Itemized set of Process Type=Acquisition only Physical Titles and changing the Management Tags to "Don't Publish".

Setting up Alma Unset Acq Tag

Clone the repo

git clone [email protected]:dfulmer/alma-unset-acq-tag.git
cd alma-unset-acq-tag

copy .env-example to .env

cp .env-example .env

edit .env with actual environment variables

build container

docker-compose build

bundle install

docker-compose run --rm app bundle install

start container

docker-compose up -d

Creating a set and changing the Management Tags

  1. This command will run the create_set.rb script, which combines two sets into an Itemized set:
docker-compose run --rm app bundle exec ruby create_set.rb
  1. This command will run the set_tags.rb script, which will change the Management Tags of the newly created set to "Don't Publish":
docker-compose run --rm app bundle exec ruby set_tags.rb

Running Tests

  1. This command will run the tests:
docker-compose run --rm app bundle exec rspec

About

For changing the Management Tags of an Itemized set in Alma to "Don't Publish".

Resources

Stars

Watchers

Forks

Packages