In #95 @atykhyy suggests a --filter-names flag along the lines of --filter-contents for a allowing files to be renamed and/or removed during conversion.
I'm open for suggestions, but do we really need a filter for this? Can we not just use a mapping file like we are using for authors and branch names? Do we want to extend the mapping file to support regexps with capture in order to easily rename files?
Regardless of the choice of filter or mapping file we also have to decide how this feature interacts with the --filter-contents and filename encoding conversion. Should --filter-names override the filename conversion or be applied before/after the filename is given to the content conversion filter?
In #95 @atykhyy suggests a
--filter-namesflag along the lines of--filter-contentsfor a allowing files to be renamed and/or removed during conversion.I'm open for suggestions, but do we really need a filter for this? Can we not just use a mapping file like we are using for authors and branch names? Do we want to extend the mapping file to support regexps with capture in order to easily rename files?
Regardless of the choice of filter or mapping file we also have to decide how this feature interacts with the
--filter-contentsand filename encoding conversion. Should--filter-namesoverride the filename conversion or be applied before/after the filename is given to the content conversion filter?