Skip to content
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

Workaround tar_scm issue that remove - char from version string #89

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Aug 2, 2022

Apparently - character is illegal in rpm packages: openSUSE/obs-service-tar_scm#367

So it looks like the tar_scm utility removes any - from the version. The things is that we don't use this service to create any rpm, we use it to create a docker container...

In order to workaround this, I just use now 2 version strings:

  • One with the original +, which is used to create the dockerfile tarball and the container itself
  • Other with the replaced -, which is only used to determine the version for the suse registry.

As a comment, unfortunately the + char is not allowed in suse registry containers version format...

@arbulu89 arbulu89 added the bug Something isn't working label Aug 2, 2022
@arbulu89 arbulu89 requested a review from nelsonkopliku August 2, 2022 08:23
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dottorblaster dottorblaster merged commit a63e5de into trento-project:main Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants