-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undocumented strip of "-" from tags #367
Comments
This is broken. The dashes are wiped before |
The updated behavior breaks existing implementations and also mismatches the documentation. https://github.com/openSUSE/obs-service-tar_scm/blob/a019e6f/tar_scm.service.in#L83-L85 As "unhelpful characters" are no longer removed, hyphens from the |
|
Would result in |
When using versionrewrite-pattern dashes should no longer be stripped. |
Hypothesis uses tags in the form of
hypothesis-python-%{version}
. The following service definition does not work:Apparently the hyphens are stripped already in the versionformat, so the versionrewrite-pattern logic does not see it:
obs-service-tar_scm/TarSCM/scm/base.py
Lines 319 to 331 in 15a0df2
Please document the strip or move it to after the rewrite.
obs-service-tar_scm/tar_scm.service.in
Lines 73 to 75 in 15a0df2
"unhelpful characters" is not specific enough :(
The text was updated successfully, but these errors were encountered: