caltechlibrary / irdmtools

A Go and Python package for working with InvenioRDM repositories.
https://caltechlibrary.github.io/irdmtools
Other
1 stars 1 forks source link

migration: skip websites #35

Closed tmorrell closed 1 year ago

tmorrell commented 1 year ago

Skip all records with type website.

rsdoiel commented 1 year ago

In migrate_record.py I've added a check for excluding resource types (list of excluded types). Right now this is a literal list ["website"]. This could be passed in list. We could use this feature to migrate our content by resource type. Updated resource_types.csv to leave "website" eprint type as "website" rather than map to "other". This will be available in the v0.0.26 release later today.