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

Add import_url to file set attributes #979

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Add import_url to file set attributes #979

merged 2 commits into from
Sep 18, 2024

Conversation

laritakr
Copy link
Contributor

This adds import_url to the attributes for creating a Valkyrized file set.

To actually save the import_url on a file set, the application needs to:

  • add import_url to the file_set metadata attributes in your app
  • decorate Hyrax::WorkUploadsHandler to add import_url to the file_set_args method

Additionally it defaults local_files to an empty array in case there are no local files.

This adds import_url to the attributes for creating a Valkyrized file set.

To actually save the import_url on a file set, the application needs to:
- add import_url to the file_set metadata attributes in your app
- decorate Hyrax::WorkUploadsHandler to add import_url to the
file_set_args method
@laritakr laritakr added the ignore-for-release ignore this for release notes label Sep 18, 2024
@laritakr laritakr added patch-ver for release notes and removed ignore-for-release ignore this for release notes labels Sep 18, 2024
@laritakr laritakr merged commit b4328d7 into main Sep 18, 2024
8 checks passed
@laritakr laritakr deleted the pals-1010-rework branch September 18, 2024 21:30
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