-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add an option to choose what to replace non iso characters with
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 Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]>
- Loading branch information
Showing
4 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,4 +153,7 @@ which get maintained in the SCM. Can be used multiple times.</description> | |
<parameter name="changesauthor"> | ||
<description>Specify author of the changes file entry to be written. Defaults to first email entry in ~/.oscrc, or "[email protected]" if there is no .oscrc found.</description> | ||
</parameter> | ||
<parameter name="iso-cleanup-string"> | ||
<description>Characters [-:] are replaced by this string. Defaults to ''.</description> | ||
</parameter> | ||
</service> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters