Skip to content

Gdcc/8746 single version semantics for archiving#8747

Merged
kcondon merged 9 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:GDCC/8746-single-version-semantics_for_archiving
Jul 28, 2022
Merged

Gdcc/8746 single version semantics for archiving#8747
kcondon merged 9 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:GDCC/8746-single-version-semantics_for_archiving

Conversation

@qqmyers
Copy link
Member

@qqmyers qqmyers commented May 26, 2022

What this PR does / why we need it: This PR adds a mechanism for archivers to specify that they only allow archiving for a single version and implements logic to enforce that in the archiving/archival status APIs

Which issue(s) this PR closes:

Closes #8746

Special notes for your reviewer: Review after #8696 as this incorporates the status API updates from that PR. Hopefully that PR can be merged and this will be updated before review.

Suggestions on how to test this: The DRS Archiver (not yet in a PR) is the only archiver that supports single-version mode at present, so testing of this by itself could probably be limited to assuring that the Local archiver still works/still allows you to archive multiple versions.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?: Addressed in #8611

Additional documentation:

@qqmyers qqmyers added HDC Harvard Data Commons HDC: 3a Harvard Data Commons Obj. 3A labels May 26, 2022
@coveralls
Copy link

coveralls commented May 26, 2022

Coverage Status

Coverage increased (+0.009%) to 19.746% when pulling aa165de on GlobalDataverseCommunityConsortium:GDCC/8746-single-version-semantics_for_archiving into fed27f9 on IQSS:develop.

@sekmiller sekmiller self-assigned this Jul 20, 2022
Get the Archival Status of a Dataset By Version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Archiving is an optional feature that may be configured for a Dataverse instance. When enabled, this API call be used to retrieve the status. Note that this requires "superuser" credentials.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kind.of a quibble, but are we using "installation" as the term here or instance?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW: A quick scan through the guides shows some of each - installation is more popular. I see a dozen+ 'Dataverse instance' and lots of 'instance' referring to other components.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I prefer "Dataverse installation" to "Dataverse instance".

@qqmyers
Copy link
Member Author

qqmyers commented Jul 20, 2022

@sekmiller - I've updated this from #8696 so it has all the changes from that review. Which means comparing against that branch should show just the single version code.

@sekmiller sekmiller removed their assignment Jul 22, 2022
@kcondon kcondon self-assigned this Jul 28, 2022
@kcondon kcondon merged commit 706196a into IQSS:develop Jul 28, 2022
@pdurbin pdurbin added this to the 5.12 milestone Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HDC Harvard Data Commons HDC: 3a Harvard Data Commons Obj. 3A

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HDC 3A: Support single-version-only archiving

5 participants