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

🐛 Fix rerun for entries that came from zips #1013

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

kirkkwang
Copy link
Contributor

@kirkkwang kirkkwang commented Jan 28, 2025

Previously, when rerunning an entry that came from a zip file, the rerun would fail because it would look for the CSV in an assumed location which is based on it's last importer ID. Since this was a rerun, it does not do an unzip into the assumed location so the directory does not exist.

This commit will first check if the assumed location exists, and if not, it will look for the location of the last unizpped files and use that for the rerun.

Ref:

@kirkkwang kirkkwang added the patch-ver for release notes label Jan 28, 2025
@kirkkwang kirkkwang force-pushed the fix-rerun-for-entries-that-came-from-zips branch 2 times, most recently from 32083d9 to 95294d9 Compare January 29, 2025 00:12
Previously, when rerunning an entry that came from a zip file, the rerun
would fail because it would look for the CSV in an assumed location
which is based on it's last importer ID.  Since this was a rerun, it
does not do an unzip into the assumed location so the directory does not
exist.

This commit will first check if the assumed location exists, and if not,
it will look for the location of the last unizpped files and use that
for the rerun.

Ref:
- notch8/palni_palci_knapsack#210
@kirkkwang kirkkwang force-pushed the fix-rerun-for-entries-that-came-from-zips branch from 95294d9 to 2826999 Compare January 29, 2025 00:13
@kirkkwang kirkkwang merged commit 70d4b8c into main Jan 29, 2025
6 checks passed
@kirkkwang kirkkwang deleted the fix-rerun-for-entries-that-came-from-zips branch January 29, 2025 00:42
kirkkwang added a commit to samvera/hyku that referenced this pull request Jan 29, 2025
This commit will bring in a fix for reruning Bulkrax entries

Ref:
- samvera/bulkrax#1013
- notch8/palni_palci_knapsack#210
kirkkwang added a commit to notch8/palni_palci_knapsack that referenced this pull request Jan 29, 2025
This commit will update the Hyku submodule to bring in the latest fix
for a Bulkrax bug for rerunning entries from zips.

Ref:
- samvera/bulkrax#1013
- #210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants