This repository has been archived by the owner on Jun 27, 2020. It is now read-only.
v4.6.0
Changes
Ddr::Jobs
migrated fromddr-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 simplyrails
. - Update
config/resque_pool.yml
to set number of workers forstructure
queue. - Run
rake db:migrate
. - Set
HOST_NAME
inconfig/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 ofconfig/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 forCollection
,Item
, andComponent
(but not forAttachment
andTarget
). To restrict the script to published or unpublished objects of the specified model, use the--publication_status [PUBLICATION_STATUS]
option.