obs-service-tar_scm icon indicating copy to clipboard operation
obs-service-tar_scm copied to clipboard

add an option to choose what to replace non iso characters with

Open nmorey opened this issue 7 years ago • 6 comments

Some upstream repos use annoying version format like: 10.2-63. When running through the service, : and - are deleted which generates unusable/misleading version strings (10.263).

This patches adds an option (iso-cleanup-string) which allows to choose which charater/string to use to replace the non iso ones. Default value is '' which keeps the legacy behaviour.

For example 10.2-63 with iso-cleanup-string='.' will generate 10.2.63

A test is added to check the proper behavior of the option

Signed-off-by: Nicolas Morey-Chaisemartin [email protected]

nmorey avatar Sep 05 '17 13:09 nmorey