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

Index TECHMD datastreams coming from 7.x #1246

Open
mjordan opened this issue Aug 13, 2019 · 7 comments
Open

Index TECHMD datastreams coming from 7.x #1246

mjordan opened this issue Aug 13, 2019 · 7 comments
Labels
Subject: Migration Concerning migration from Islandora 7 to Islandora 2.x.x
Milestone

Comments

@mjordan
Copy link
Contributor

mjordan commented Aug 13, 2019

Since CrayFITS and the accompanying Islandora module are soon to be bundled with Islandora, I thought I'd ask this question here.

Sites migrating from 7.x will already have a TECHMD datastream, which is attached to the destination 8.x node as a media, like all 7.x datastreams. It would be great to be able to avoid regenerating FITS for objects migrated into 8.x and reuse the incoming TECHMD datastreams. To do this, we should figure out how we can use Islandora FITS to index incoming TECHMD datastreams the same way that it indexes FITS XML generated by CrayFITS. I'm happy to work on this.

@dannylamb
Copy link
Contributor

If you have islandora_fits module enabled, and you tag the FITS file with the correct media use term on the way in, it'll automatically get sliced up into fields like something coming from Crayfits. It would be good to install islandora_fits and then run our migrate tools to verify, but it should be automagic.

@mjordan
Copy link
Contributor Author

mjordan commented Aug 15, 2019

Yeah, that was more or less the conclusion we came to yesterday during the call. I can test that, eventually.

@dannylamb dannylamb added this to the 1.1.0 milestone Jan 30, 2020
@mjordan
Copy link
Contributor Author

mjordan commented Jan 30, 2020

I will test this.

@mjordan
Copy link
Contributor Author

mjordan commented Feb 4, 2020

TECHMD datastreams migrated from 7.x are not getting indexed. I notice that the Media Type of the migrated file is "File", not "METS Technical Metadata". Would that make a difference?

migrated_media

Also, I notice that there are now two separate "FITS File" Media Use tags (TID 1 and 34 on my Vagrant), which doesn't sound right.

@ajstanley any suggestions?

BTW if you don't disable the "Technical Metadata on Ingest" Context during my migration, you get two FITS media (one that is migrated, and the one that is generated by this Context). This probably should be documented somewhere. I can open a PR for that against https://github.com/Islandora-devops/migrate_7x_claw .

@dannylamb
Copy link
Contributor

@mjordan Yes, that needs to come over as the FITS media type and not file. And one of those FITS terms comes from migrate_7x_claw: https://github.com/Islandora-Devops/migrate_7x_claw/blob/master/migrate/tags.csv and we can axe it.

@dannylamb
Copy link
Contributor

Looks like we decide what media type to make based on mimetype alone, which is a bit problematic here https://github.com/Islandora-Devops/migrate_7x_claw/blob/master/modules/islandora_migrate_7x_claw_feature/config/install/migrate_plus.migration.islandora_media.yml#L150

We'll need to take the DSID/tag into consideration too.

@dannylamb
Copy link
Contributor

I think it can just be chained with another static map. Might have to declare a temp variable but I'm sure it can be done. I'll give it a shot when I get a fresh environment up.

@kstapelfeldt kstapelfeldt added Subject: Migration Concerning migration from Islandora 7 to Islandora 2.x.x and removed migration labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Migration Concerning migration from Islandora 7 to Islandora 2.x.x
Projects
Development

No branches or pull requests

3 participants