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

NO-JIRA: rhel-9.4/c9s: make versioning scheme semver compatible #1615

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Sep 9, 2024

There's a bunch of things out there that currently parse the RHCOS
version string. The semantics of this string will change as part of this
change, but we should at least try to retain the same semver-compatible
format.

E.g. currently, an RHCOS version string of the ocp-rhel-9.4 variant
is 418.94.202409090849-0. Before this PR, An RHCOS version string
of the rhel-9.4 variant is 9.4.202409090849.0, which is not semver
compatible. With this PR, the latter would now be 9.4.202409090849-0
(note the change from .0 to -0).

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

specifically, this PR changes the .0 for -0

given the preceding sentence I'm not sure I understand this statement fully

There's a bunch of things out there that currently parse the RHCOS
version string. The semantics of this string will change as part of this
change, but we should at least try to retain the same semver-compatible
format.

E.g. currently, an RHCOS version string of the `ocp-rhel-9.4` variant
is 418.94.202409090849-0. Before this PR, An RHCOS version string
of the `rhel-9.4` variant is 9.4.202409090849.0, which is not semver
compatible. With this PR, the latter would now be 9.4.202409090849-0
(note the change from `.0` to `-0`).
@jlebon jlebon changed the title rhel-9.4/c9s: make versioning scheme semver compatible NO-JIRA: rhel-9.4/c9s: make versioning scheme semver compatible Sep 10, 2024
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 10, 2024
@openshift-ci-robot
Copy link

@jlebon: This pull request explicitly references no jira issue.

In response to this:

There's a bunch of things out there that currently parse the RHCOS
version string. The semantics of this string will change as part of this
change, but we should at least try to retain the same semver-compatible
format.

E.g. currently, an RHCOS version string of the ocp-rhel-9.4 variant
is 418.94.202409090849-0. Before this PR, An RHCOS version string
of the rhel-9.4 variant is 9.4.202409090849.0, which is not semver
compatible. With this PR, the latter would now be 9.4.202409090849-0
(note the change from .0 to -0).

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 openshift-eng/jira-lifecycle-plugin repository.

Copy link
Contributor

openshift-ci bot commented Sep 10, 2024

@jlebon: 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.

Copy link
Contributor

@jbtrystram jbtrystram left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

Copy link
Contributor

@c4rt0 c4rt0 left a comment

Choose a reason for hiding this comment

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

I had to do a little digging to find automatic-version-suffix.
/lgtm

@dustymabe
Copy link
Member

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 10, 2024
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 10, 2024
@jlebon
Copy link
Member Author

jlebon commented Sep 10, 2024

specifically, this PR changes the .0 for -0

given the preceding sentence I'm not sure I understand this statement fully

Updated the git message to make this clearer!

Copy link
Contributor

openshift-ci bot commented Sep 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: c4rt0, jbtrystram, jlebon

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:
  • OWNERS [c4rt0,jbtrystram,jlebon]

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

@dustymabe
Copy link
Member

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 10, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit d8bf7fb into openshift:master Sep 10, 2024
7 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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants