Replace all spaces by _ at scoring-time (only for distro/distro-family since it is the only values that can conceivably have a space in them) to allow for _ to be used as space replacement when naming alternates
What issues does this PR fix or reference?
421
Previous Behavior
It would have required a ` to have a correct alternate scoring, which messes with some completion engines (e.g. inzsh`) and makes the filename more complicated to parse when using other tools
What does this PR do?
Replace all spaces by
_
at scoring-time (only fordistro
/distro-family
since it is the only values that can conceivably have a space in them) to allow for_
to be used as space replacement when naming alternatesWhat issues does this PR fix or reference?
421
Previous Behavior
It would have required a
` to have a correct alternate scoring, which messes with some completion engines (e.g. in
zsh`) and makes the filename more complicated to parse when using other toolsNew Behavior
It can take
_
as a space replacementHave tests been written for this change?
No
Have these commits been signed with GnuPG?
Yes
Please review yadm's Contributing Guide for best practices.