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

[OSD-13681] Added a prefix 'g' to handle leading zeroes in CSV version #373

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

aliceh
Copy link
Contributor

@aliceh aliceh commented Jul 9, 2024

In this commit, I added a prefix of 'g' to the hash to handle leading zeroes in CSV version, which was breaking OLM.
This is a convention used in other places. For example:
machine-api-operator ran into this https://bugzilla.redhat.com/show_bug.cgi?id=2015188 and fixed this by prepending a "g" for git I guess openshift-eng/doozer#527.

https://issues.redhat.com/browse/OSD-13681

@openshift-ci openshift-ci bot requested review from bdematte and dustman9000 July 9, 2024 19:34
@2uasimojo
Copy link
Member

Nice plan! This strategy may also fix the situation where a short hash happens to be all numeric and is thus interpreted as a number rather than a string. Not sure if this delta gets all the way down there.

Co-authored-by: Michael Shen <mishen@umich.edu>
Copy link
Contributor

@mjlshen mjlshen left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Contributor

openshift-ci bot commented Jul 9, 2024

@aliceh: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 9, 2024
Copy link
Contributor

openshift-ci bot commented Jul 9, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aliceh, mjlshen

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 9, 2024
Copy link
Contributor

@mjlshen mjlshen left a comment

Choose a reason for hiding this comment

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

/label tide/merge-method-squash

@openshift-ci openshift-ci bot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Jul 9, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit d4f5e8a into openshift:master Jul 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants