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

Feature: Check if bag exists in AP Trust prior to bagging during preprocessing #102

Closed
1 task done
HafeezOJ opened this issue Apr 17, 2024 · 0 comments · Fixed by #103
Closed
1 task done

Feature: Check if bag exists in AP Trust prior to bagging during preprocessing #102

HafeezOJ opened this issue Apr 17, 2024 · 0 comments · Fixed by #103
Assignees
Labels
enhancement New feature or request

Comments

@HafeezOJ
Copy link
Collaborator

HafeezOJ commented Apr 17, 2024

Is there an existing issue for this?

  • I have searched the existing issues

This issues overrides issue #85

Description

This feature checks if a bag exists in AP Trust prior to bagging. If bag exists in AP Trust, the package is skipped else it will be processed.

Suggested Implementation

  • Create Utils.py for Utils class to house standardization and sorting of metadata to get constant hash value for metadata.
  • Get version metadata from Article.py.
  • Extract hash from version metadata.
  • Retrieve packages list from AP Trust
  • Retrieve all versions of article id from results.
  • Match hash from version metadata with hash in article id version names.

No response

@HafeezOJ HafeezOJ added the enhancement New feature or request label Apr 17, 2024
@HafeezOJ HafeezOJ self-assigned this Apr 17, 2024
@HafeezOJ HafeezOJ changed the title Feature: Check if bag exist in AP Trust prior to bagging Feature: Check if bag exists in AP Trust prior to bagging during preprocessing Apr 17, 2024
zoidy added a commit that referenced this issue Sep 16, 2024
…-ap-trust-prior-to-bagging

Feat: Check if item version is already preserved before bagging (Issue #102)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant