Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Releases: duke-libraries/dul-hydra

v4.1.2

01 Dec 19:57
Compare
Choose a tag to compare

Upgrade Notes:

  • Reindex content-bearing objects (Components, Attachments, Targets) to reflect indexing changes related to file size (from int to long).

v4.1.0

07 Oct 14:59
Compare
Choose a tag to compare

Upgrade Notes:

  • Copy config/mets_folder.yml.sample to config/mets_folder.yml and edit as needed to provide default configuration file for creating batch update objects based on (Tripod) METS files.
  • Follow upgrade procedures for ddr-models v2.1.

v4.0.0

17 Aug 19:14
Compare
Choose a tag to compare

Upgrade Notes:

Preparation

  • Be sure following scripts are in user hydra's bin directory:
    • delete_legacy_struct_metadata.rb
    • migrate_legacy_auth.rb

Dul-hydra

  • rails runner -e production ~/bin/delete_legacy_struct_metadata.rb
  • rake dul_hydra:queues:stop
  • git checkout v4.0.3
  • bundle install
  • rake db:migrate
  • rake assets:clean
  • rake assets:precompile
  • rake dul_hydra:queues:start
  • rails runner -e production ~/bin/migrate_legacy_auth.rb
  • rake dul_hydra:index:update_all

v3.3.0

16 Jun 13:21
Compare
Choose a tag to compare

Upgrade Notes:

  • See upgrade notes for ddr-models v1.15.0 and v1.16.0
  • Add entry to config/local_env.yml for MULTIRES_IMAGE_EXTERNAL_FILE_STORE
  • Add entry to config/local_env.yml for EXTERNAL_FILE_SUBPATH_PATTERN. Recommended pattern: -/-/--

3.2.0

19 May 18:27
Compare
Choose a tag to compare

Upgrade Notes:

  • Run rake db:migrate to create the batch object attributes table.
  • Add entries to config/local_env.yml for GROUPER_URL, GROUPER_USER, GROUPER_PASSWORD, LDAP_HOST, LDAP_BASE.

v3.1.7

19 Mar 18:53
Compare
Choose a tag to compare

Fixed #1295

v3.1.5

06 Mar 20:18
Compare
Choose a tag to compare

Upgrades ddr-models to 1.11.5 to incorporate indexing of license fields.

v3.1.0

12 Feb 21:02
Compare
Choose a tag to compare

Upgrade Notes:

  • Update gemset with bundle install
  • Run migrations: rake db:migrate
  • In config/environments/production.rb:
    • REMOVE DulHydra::Services::Antivirus.load!
    • [ADD Ddr::Models.auto_assign_permanent_ids = true]
    • ADD Ddr::Auth.require_shib_user_authn = true
  • In local_env.yml, add appropriate settings
    • EZID_USER
    • EZID_PASSWORD
    • EZID_DEFAULT_SHOULDER
    • METADATA_FILE_CREATORS_GROUP
    • COLLECTION_CREATORS_GROUP
  • In local_env.yml, remove the following entries
    • EXTERNAL_FILE_STORE
    • EXTERNAL_FILE_SUBPATH_PATTERN
    • MINTER_STATEFILE
  • Stop and start resque-pool. To start resque-pool:
resque-pool --daemon --environment production
  • Uninstall clamav from gemset
  • Configure Ddr::Antivirus to use :clamd adapter.
  • Run SQL update: update events set type = concat("Ddr::Events::", type);
  • To update the events table after running the migration, run this code:
Ddr::Events::Event.joins(:user).includes(:user).find_each do |e|
  e.user_key = e.user.user_key
  e.save
end
  • For all existing Collections, set collection.admin_policy to the collection itself:
Collection.find_each do |c|
  c.admin_policy = c
  c.save
end
  • Run script to migrate original_filename from properties datastream to adminMetadata datastream. All Component objects also need to reindexed to include new field for Collection URI. Check counts with queries:
Component.where("original_filename_ssim:*").count
Component.count