Skip to content

constants: change the variable name #584

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 1 commit into from
Apr 5, 2020

Conversation

ahmetb
Copy link
Member

@ahmetb ahmetb commented Apr 2, 2020

This change indicates the possibility of non-centralized plugin index. However,
this breaks the API (e.g. exported pkg/constants), so I'm not sure we should do
this.

/assign @corneliusweig

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 2, 2020
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 2, 2020
Copy link
Contributor

@corneliusweig corneliusweig left a comment

Choose a reason for hiding this comment

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

There's a problem with our integration test for krew version:

"IndexURI": "https://github.com/kubernetes-sigs/krew-index.git",

I looked for usages of the constants in GH and could not find any (https://github.com/search?q=krew%2Fpkg%2Fconstants%2Fconstants+language%3AGo&type=Code&ref=advsearch&l=Go&l=), so I'd not worry too much about breaking the API.

So, looks good to me.

This change indicates the possibility of non-centralized plugin index. However,
this breaks the API (e.g. exported pkg/constants), so I'm not sure we should do
this.

Signed-off-by: Ahmet Alp Balkan <[email protected]>
@ahmetb
Copy link
Member Author

ahmetb commented Apr 3, 2020

ah yeah that version.go field should not have been changed.

@corneliusweig
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 5, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahmetb, corneliusweig

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 [ahmetb,corneliusweig]

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

@k8s-ci-robot k8s-ci-robot merged commit 8cfa5d2 into kubernetes-sigs:master Apr 5, 2020
ahmetb added a commit to ahmetb/krew that referenced this pull request Apr 7, 2020
For some reason when we refactored the const name constants.IndexURI
kubernetes-sigs#584 its test run has inexplicably
succeeded https://github.com/kubernetes-sigs/krew/runs/559491631 despite some
references in main code + tests not updated.

(I appreciate if someone can take a look why that has happened.)

Signed-off-by: Ahmet Alp Balkan <[email protected]>
@ahmetb ahmetb mentioned this pull request Apr 7, 2020
k8s-ci-robot pushed a commit that referenced this pull request Apr 7, 2020
For some reason when we refactored the const name constants.IndexURI
#584 its test run has inexplicably
succeeded https://github.com/kubernetes-sigs/krew/runs/559491631 despite some
references in main code + tests not updated.

(I appreciate if someone can take a look why that has happened.)

Signed-off-by: Ahmet Alp Balkan <[email protected]>
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants