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

v4.6.0

Compare
Choose a tag to compare
@dchandekstark dchandekstark released this 01 May 12:44

Changes

  • Ddr::Jobs migrated from ddr-models.

Updates

  • Upgrades Ruby to version 2.3.1
  • Upgrades Rails to version 4.2.7

Upgrade Notes

  • To run Rails commands, you may have to use script/rails from the project root, rather than simply rails.
  • Update config/resque_pool.yml to set number of workers for structure queue.
  • Run rake db:migrate.
  • Set HOST_NAME in config/local_env.yml for use in programmatically creating intra-dul-hydra links (e.g., in emails).
  • To accommodate the inclusion of DPC targets and intermediate files in Standard Ingest, add the following entries to the :scanner section of config/standard_ingest.yml (with the appropriate values, if they are different from those given here):
    :targets: dpc_targets
    :intermediate_files: intermediate_files
  • Immediately after deployment, run the convert_struct_metadata.rb script. Run without any options, it will convert all existing structural metadata to the new format. Add the --collection [COLLECTION PID] option to convert the existing structural metadata for the objects in a specific collection.
  • Following the script above, run the set_default_structure.rb script with the --model MODEL option. This will set default structure for all objects of that model. The script needs to be run for Collection, Item, and Component (but not for Attachment and Target). To restrict the script to published or unpublished objects of the specified model, use the --publication_status [PUBLICATION_STATUS] option.