Skip to content
New issue

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

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

Already on GitHub? # to your account

🐛 Ease how we determine preprocessed location #304

Closed
wants to merge 1 commit into from

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Nov 28, 2023

Prior to this commit, we assumed the ancestor must have an AARK_ID. However that is not always the case. Which is confounding given the data structure of the files; however such is the way of the world.

With this commit we fallback to the file_set's internal information to attempt to find the file in the preprocessed location. Namely if the FileSet had an import_url, we'll use that to derive where it probably went in SpaceStone.

Note: sniffing out where this file exists in SpaceStone is a very fragile process.

Closes #289

Related to:

@jeremyf jeremyf requested a review from laritakr November 28, 2023 19:45
Copy link
Contributor

@laritakr laritakr left a comment

Choose a reason for hiding this comment

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

Just need to fix the broken build. :)

Prior to this commit, we assumed the ancestor must have an AARK_ID.
However that is not always the case.  Which is confounding given the
data structure of the files; however such is the way of the world.

With this commit we fallback to the file_set's internal information to
attempt to find the file in the preprocessed location.  Namely if the
FileSet had an import_url, we'll use that to derive where it probably
went in SpaceStone.

Note: sniffing out where this file exists in SpaceStone is a very
fragile process.

Closes #289

Related to:

- #289
@jeremyf jeremyf force-pushed the ease-preprocess-location-determination branch from 64fe854 to 39f57c4 Compare November 28, 2023 20:58
@jeremyf
Copy link
Contributor Author

jeremyf commented Nov 28, 2023

Favor #305

@jeremyf jeremyf closed this Nov 28, 2023
@jeremyf jeremyf deleted the ease-preprocess-location-determination branch February 23, 2024 15:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Improve error handling due to missing parent_work_identifier_property_name value
2 participants