-
Notifications
You must be signed in to change notification settings - Fork 128
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
substitute tilde ~ with at @ for git tags #386
base: main
Are you sure you want to change the base?
Conversation
bump @Blaimi, |
I need some more time to better get into the code. Since we are creating the tags and the |
Alright :-) If you need anything, let me know. |
I fixed the problem with tito tag. the resulting git tag is now with I'm not yet sure, if all the What is missing:
|
Hello @FrostyX , I would like to know if I can help finish this MR if something is missing. |
:-p “testing” means especially the parts beside |
def _validate_options(self):
if self.options.keep_version and self.options.use_version:
error_out("Cannot combine --keep-version and --use-version")
if '@' in self.args.use_version or '@' in self.args.use_release:
error_out("Cannot use symbol '@' in release or tag. Use '~'.") Would adding the second condition (as shown above) to the
I'm refreshing my Python skills. I normally code in R, and I'm still unfamiliar with using Tito, so I'm cautious about opening a PR. At ~7000 lines Tito is a good project for me to study. |
Closes: #377
This is probably not the cleanest solution but
tito build --rpm --tag="foo-1~beta1-1"
works. I didn't test anything else.