-
Notifications
You must be signed in to change notification settings - Fork 0
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
Problem: Prozess_Digitalisierung_PREMIS.xml should not append the parent directory name when moved to the metadata folder #58
Labels
Comments
Parent directory name is appended in: It's also checked in: https://github.com/artefactual-sdps/preprocessing-sfa/blob/main/internal/pips/pips.go#L46-L51 |
djjuhasz
added a commit
that referenced
this issue
Oct 21, 2024
Fixes #58 Digitized (Vecteur) SIPs are the only type of SIP that contain a Prozess_Digitalisierung_PREMIS.xml file, and they will only ever contain a single dossier. Because digitized SIPs only have a single dossier that contains a single Prozess_Digitalisierung_PREMIS.xml file there's no need to rename the file in the PIP to avoid name clashes. Changes: - Update the SIP identification logic - if a SIP has a Prozess_Digitalisierung_PREMIS.xml file then it must be a digitized SIP - Add a SIP validation check to confirm that digitized SIPs only contain a single dossier - Remove the SIP transformation code that renamed the Prozess_Digitalisierung_PREMIS.xml file
djjuhasz
added a commit
that referenced
this issue
Oct 22, 2024
Fixes #58 Digitized (Vecteur) SIPs are the only type of SIP that contain a Prozess_Digitalisierung_PREMIS.xml file, and they will only ever contain a single dossier. Because digitized SIPs only have a single dossier that contains a single Prozess_Digitalisierung_PREMIS.xml file there's no need to rename the file in the PIP to avoid name clashes. Changes: - Update the SIP identification logic - if a SIP has a Prozess_Digitalisierung_PREMIS.xml file then it must be a digitized SIP - Add a SIP validation check to confirm that digitized SIPs only contain a single dossier - Remove the SIP transformation code that renamed the Prozess_Digitalisierung_PREMIS.xml file
djjuhasz
added a commit
that referenced
this issue
Oct 23, 2024
Fixes #58 Digitized (Vecteur) SIPs are the only type of SIP that contain a Prozess_Digitalisierung_PREMIS.xml file, and they will only ever contain a single dossier. Because digitized SIPs only have a single dossier that contains a single Prozess_Digitalisierung_PREMIS.xml file there's no need to rename the file in the PIP to avoid name clashes. Changes: - Update the SIP identification logic - if a SIP has a Prozess_Digitalisierung_PREMIS.xml file then it must be a digitized SIP - Add a SIP validation check to confirm that digitized SIPs only contain a single dossier - Remove the SIP transformation code that renamed the Prozess_Digitalisierung_PREMIS.xml file
djjuhasz
added a commit
that referenced
this issue
Oct 24, 2024
Fixes #58 Digitized (Vecteur) SIPs are the only type of SIP that contain a Prozess_Digitalisierung_PREMIS.xml file, and they will only ever contain a single dossier. Because digitized SIPs only have a single dossier that contains a single Prozess_Digitalisierung_PREMIS.xml file there's no need to rename the file in the PIP to avoid name clashes. Changes: - Update the SIP identification logic - if a SIP has a Prozess_Digitalisierung_PREMIS.xml file then it must be a digitized SIP - Add a SIP validation check to confirm that digitized SIPs only contain a single dossier - Remove the SIP transformation code that renamed the Prozess_Digitalisierung_PREMIS.xml file
LGTM! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
We thought it would be possible to include multiple dossiers in the same digitized SIP and appended the parent directory (dossier) name to avoid file name conflicts in the metadata directory.
To Reproduce
Ingest a digitized SIP type that includes a Prozess_Digitalisierung_PREMIS.xml file.
Expected behavior
Prozess_Digitalisierung_PREMIS.xml should be moved as it is to the metadata directory.
The text was updated successfully, but these errors were encountered: