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

Problem: Prozess_Digitalisierung_PREMIS.xml should not append the parent directory name when moved to the metadata folder #58

Closed
jraddaoui opened this issue Sep 24, 2024 · 2 comments · Fixed by #67

Comments

@jraddaoui
Copy link
Contributor

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.

@jraddaoui jraddaoui added this to Enduro Sep 24, 2024
@jraddaoui jraddaoui moved this to 👍 Ready in Enduro Sep 24, 2024
@djjuhasz djjuhasz self-assigned this Oct 21, 2024
@djjuhasz djjuhasz moved this from 👍 Ready to ⏳ In Progress in Enduro Oct 21, 2024
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 djjuhasz linked a pull request Oct 21, 2024 that will close this issue
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
@github-project-automation github-project-automation bot moved this from ⏳ In Progress to 🎉 Done in Enduro Oct 24, 2024
@sallain
Copy link
Contributor

sallain commented Oct 30, 2024

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants