cca / vault_migration

Tools, ideas, and data for repository migration
https://cca.github.io/vault_migration/crosswalk.html
Other
1 stars 0 forks source link

Migrate attachments #4

Closed phette23 closed 1 month ago

phette23 commented 4 months ago

See self.files in Record class constructor and the files section of the Invenio metadata. The API reference shows how to interact with files on a draft record.

Considerations:

phette23 commented 3 months ago

Invenio files options do not work see inveniosoftware/invenio-app-rdm#2573.

Otherwise, this is done. I have a TODO comment for handling "remote" (URL) attachments which is the only remaining piece.

phette23 commented 2 months ago

Once we have upgraded to v12 reevaluate how audio and video files are previewed and where they should be ranked in migrate.utils.visual_mime_type_sort.