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

odo delete incomplete #5983

Closed
jeffmaury opened this issue Jul 27, 2022 · 2 comments
Closed

odo delete incomplete #5983

jeffmaury opened this issue Jul 27, 2022 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jeffmaury
Copy link
Member

/kind bug

What versions of software are you using?

Operating System:
Win10Pro

Output of odo version:

odo v3.0.0-beta2 (c8e4458f4)

Server: https://api.sandbox-m2.ll9k.p1.openshiftapps.com:6443
Kubernetes: v1.23.5+9ce5071

How did you run odo exactly?

  • odo init
  • odo delete component -f

Actual behavior

devfile.yaml is still there and .odo has files

Expected behavior

Cleanup should be done

Any logs, error output, etc?

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 27, 2022
@kadel
Copy link
Member

kadel commented Aug 1, 2022

The -f (--force) is not intented to delete devfile.yaml or .odo.
There currently is no option to delete local files using odo cli.

This is not a bug but an intended feature.
/close

I've opened this as a new feature request #5997
Please note that there is no way for odo to know if, devfile.yaml was generated by another tool or was downloaded by the user manually. The new proposed command will simply delete all odo-related files and directories even if they were not created by odo. This needs to be used with care.

@openshift-ci
Copy link

openshift-ci bot commented Aug 1, 2022

@kadel: Closing this issue.

In response to this:

The -f (--force) is not intented to delete devfile.yaml or .odo.
There currently is no option to delete local files using odo cli.

This is not a bug but an intended feature.
/close

I've opened this as a new feature request #5997
Please note that there is no way for odo to know if, devfile.yaml was generated by another tool or was downloaded by the user manually. The new proposed command will simply delete all odo-related files and directories even if they were not created by odo. This needs to be used with care.

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 openshift-ci bot closed this as completed Aug 1, 2022
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

2 participants