Closed vpeil closed 2 years ago
this one solves #67
I'd like to rename this to mapping
because map
more likely refers to an individual row. We have fixes marc_map
and pica_map
, these could be extended with fixes marc_mapping
and pica_mapping
similar to this new fix. ok?
mapping is indeed better, looks good otherwise
name of fix changed from map to mapping
The tests fail for perl version 5.10 and 5.12, because one dependency module requires at least perl 5.14. Should we move on from these two versions?
The failure was not caused by this PR but by https://github.com/LibreCat/Catmandu/issues/379
I'd make deletion optional with option delete: 0
(default: 1) so you can also copy instead of rename.
I'd make deletion optional with option
delete: 0
(default: 1) so you can also copy instead of rename.
@nichtich delete option could be misinterpreted by users: it could mean "delete all fields not in the mapping table" (as we use it in the lookup fix). Maybe find another option name?
How about keep
to not delete anything?
@nics @nichtich Anything else that prevents it from a merge?
in analogy the the lookup fix: this one lookups up in the table and moves the fields instead of changing the values.