Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backfill missing versions in versions manifest. #908

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

justinlittman
Copy link
Contributor

closes #907

Copy link
Contributor

@jcoyne jcoyne left a comment

Choose a reason for hiding this comment

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

I don't think this is necessary and it may actually complicate PURL as it has to understand nil dates now.

@justinlittman justinlittman force-pushed the t907-missing_versions branch from 0b741d8 to 968d719 Compare August 7, 2024 20:34
@justinlittman justinlittman marked this pull request as draft August 7, 2024 20:34
@jcoyne
Copy link
Contributor

jcoyne commented Aug 8, 2024

@justinlittman i've reversed myself from earlier. Since we want to show these "permanently withdrawn" versions on the purl page, we will need this.

@justinlittman justinlittman force-pushed the t907-missing_versions branch from 968d719 to b0f5867 Compare August 8, 2024 15:03
@justinlittman justinlittman marked this pull request as ready for review August 8, 2024 15:04
@justinlittman justinlittman requested a review from jcoyne August 8, 2024 15:05
@justinlittman
Copy link
Contributor Author

@jcoyne Fixed up and ready for review.

"$schemaVersion" => 1,
'head' => 3,
'versions' => {
'1' => { 'state' => 'permanently_withdrawn' },
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can we change purl? DSA also uses permanently_withdrawn and it would be nice to be consistent across systems.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also, the original ticket specifies permanently_withdrawn: sul-dlss/purl#1101

@justinlittman justinlittman requested a review from jcoyne August 12, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version manifest should recreate missing versions
2 participants