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

Removing --app, --project, --component from subcommands that depends on component dir #2243

Closed
amitkrout opened this issue Oct 4, 2019 · 19 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@amitkrout
Copy link
Contributor

amitkrout commented Oct 4, 2019

Copied from our last cabal discussion

  • we should remove --project, --app, --component flags from url and storage

  • we need to check with vscode adapter that they are not using it

  • lets check if there are more commands where we need to remove those flags

@amitkrout
Copy link
Contributor Author

/kind bug
/kind enhancement

@openshift-ci-robot
Copy link
Collaborator

@amitkrout: The label(s) kind/enhancement cannot be applied. These labels are supported: platform/aws, platform/azure, platform/baremetal, platform/google, platform/libvirt, platform/openstack, ga

In response to this:

/kind bug
/kind enhancement

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/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 4, 2019
@amitkrout
Copy link
Contributor Author

amitkrout commented Oct 4, 2019

@amitkrout
Copy link
Contributor Author

ping @kadel @dgolovin

@girishramnani
Copy link
Contributor

Intrested in doing the url one, if someone hasn't started
cc @mik-dass

@mik-dass
Copy link
Contributor

mik-dass commented Oct 4, 2019

Intrested in doing the url one, if someone hasn't started
cc @mik-dass

@girishramnani There is already a PR open for it #2247

@girishramnani
Copy link
Contributor

I opened it 😄

@mik-dass
Copy link
Contributor

mik-dass commented Oct 4, 2019

I opened it smile

Yeah I know, thanks for that :D

@kadel
Copy link
Member

kadel commented Oct 8, 2019

We need a list of the commands from which the flags should be removed!

@kadel
Copy link
Member

kadel commented Oct 8, 2019

  • we need to check with vscode adapter that they are not using it

did someone check this?

@girishramnani
Copy link
Contributor

girishramnani commented Oct 8, 2019

The only commands that should have the above flags is link, unlink and service stuff
A PR opened earlier removes then from storage and
One more is still open which removes them from url.

No other places have them incorrectly placed.
cc @kadel

@girishramnani
Copy link
Contributor

ping @dgolovin

  • we need to check with vscode adapter that they are not using it

@kadel
Copy link
Member

kadel commented Oct 8, 2019

There is odo.ts file inside the vscode plug source that contains all the odo commands execute by plugin in place.

You can look there.

I just did a quick check. url commands look clean. But there is a odo storage command using all 3 of them https://github.com/redhat-developer/vscode-openshift-tools/blob/8388b83e750c686b773fed91e6275da425675576/src/odo.ts#L139

@girishramnani
Copy link
Contributor

girishramnani commented Oct 9, 2019

and the odo storage PR #2238 already got merged in, which means if we do a release the vscode plugin would break? @kadel

@kadel
Copy link
Member

kadel commented Oct 9, 2019

and the odo storage PR #2238 already got merged in, which means if we do a release the vscode plugin would break? @kadel

yes!

@girishramnani
Copy link
Contributor

then we should probably tell them 😅

@mohitsuman
Copy link

We will update the odo storage command to use --context. This goes for beta-7 release, right ?

@girishramnani
Copy link
Contributor

yes

@girishramnani
Copy link
Contributor

@amitkrout I went through the code and it seems these are the only places from where we need to remove --project, --app and --component commands.
Closing this issue as we have already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

6 participants