rism-digital / muscat

🗂️ A Rails application for the inventory of handwritten and printed music scores
http://muscat-project.org
34 stars 16 forks source link

Dry-run option for marc.import #1625

Open xhero opened 2 months ago

xhero commented 2 months ago

When importing data, it is normally necessary to do it in a couple steps:

The marc.import step will try to create all the missing links, and potentially will add new items to the database, for example if a new person is missing it will create it and the link. To implement a full dry-run for validation, MarcNode import needs to be patched so the records created are logged and not created, this way it is possible to see what would be created. The marc data then should not be associated to a muscat model.