Skip to content

Commit 1eddab0

Browse files
committed
Update S3 keys for Archivematica payloads
Why these changes are being introduced: Preservation stakeholders have requested that new ETD SIPs (generated via APT) remain separate from legacy SIPs. This helps make their Archivematica workflows more efficient. Relevant ticket(s): * [ETD-669](https://mitlibraries.atlassian.net/browse/ETD-669) How this addresses that need: This changes the base directory for Archivematica payload S3 keys from `etdsip` to `etdsip-apt`. Side effects of this change: We will need to re-preserve the batch of theses that were published yesterday.
1 parent ead98fb commit 1eddab0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/archivematica_payload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def bag_name
8282

8383
# The bag_output_uri key is constructed to match the expected format for Archivematica.
8484
def bag_output_uri
85-
key = "etdsip/#{thesis.graduation_year}/#{thesis.graduation_month}-#{thesis.accession_number}/#{bag_name}.zip"
85+
key = "etdsip-apt/#{thesis.graduation_year}/#{thesis.graduation_month}-#{thesis.accession_number}/#{bag_name}.zip"
8686
[ENV.fetch('APT_S3_BUCKET'), key].join('/')
8787
end
8888

0 commit comments

Comments
 (0)