add MCF migration support#352
Conversation
|
What about adding as a optional parameter on export: “migrate first if needed” Also, what happens if one calls migrate on a record which is already migrated? |
Not sure. May be cleaner to keep concerns / workflows separate in that regard? |
pvgenuchten
left a comment
There was a problem hiding this comment.
migrate_from_1_0, consider to add from-version and to-version in method name, so when migrating from 2.1 to 2.3 can involve 2 migrations.
First 2.1-2.2, then 2.2-2.3
Problem is that record export will fail if record is not migrated, maybe fail on export, indicating to migrate record first? |
Export indeed fails: What about updating the exception message to something like |
|
yes, let's go for that what happens if mcf has no version, do we assume latest? if fails without version, use message: parsing failed, your record does not have a version set, try setting the version and migrating to latest |
As discussed at FOSS4G Europe 2026, this PR adds the ability to migrate MCFs (currently supporting 1.0 -> 2.0) via CLI or library mode.