Skip to content

Makefile: Use hyphen instead of slash #2019

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

Merged
merged 10 commits into from
Oct 22, 2019

Conversation

jmrodri
Copy link
Member

@jmrodri jmrodri commented Oct 8, 2019

Switch to using - instead of / for the targets. This came up in a comment of Issue #1950, kubebuilder uses - as well.

@jmrodri jmrodri requested review from joelanford, camilamacedo86, hasbro17 and shawn-hurley and removed request for shawn-hurley and hasbro17 October 8, 2019 03:44
@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 8, 2019
@jmrodri jmrodri changed the title Use hyphen instead of slash Makefile: Use hyphen instead of slash Oct 8, 2019
@jmrodri
Copy link
Member Author

jmrodri commented Oct 8, 2019

This requires PR openshift/release#5327

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

Hi @jmrodri,

The code changes show fine but it is not passing in the tests which shows that is not ok. Could you check it?

@jmrodri
Copy link
Member Author

jmrodri commented Oct 9, 2019

@camilamacedo86 so in order for this PR to pass it needs the prow config to know about the new Makefile targets. That PR is here openshift/release#5327 And in order for that PR to pass, it needs to know that we changed the Makefile here to have dashes. It's a chicken and the egg, one can't pass because of the other.

Adding back the slashes to allow the CI to pass. We have a chicken and
the egg problem. The CI for SDK doesn't know about the hyphens and the
CI for the release PR doesn't know about the slashes.
@jmrodri jmrodri force-pushed the use-hyphen-instead-of-slash branch from 1ed554a to bb0d07a Compare October 21, 2019 20:42
Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

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

LGTM. Was there a reason we needed to (or it is helpful to) make this change? If so, maybe add that to the PR description.

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

👍 /lgtm /approved

@jmrodri
Copy link
Member Author

jmrodri commented Oct 22, 2019

@joelanford updated the description

@jmrodri jmrodri merged commit 7f46876 into operator-framework:master Oct 22, 2019
@jmrodri jmrodri deleted the use-hyphen-instead-of-slash branch March 24, 2020 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants