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

Uninstall command doesn't delete folder #186

Open
allinappliadmin opened this issue Jan 8, 2024 · 2 comments
Open

Uninstall command doesn't delete folder #186

allinappliadmin opened this issue Jan 8, 2024 · 2 comments

Comments

@allinappliadmin
Copy link

We tried to automate some operations and seem to have understood that the 'cv ext:uninstall' command doesn't fully delete the extension and keeps the folder in the /ext folder.
As far as I understood, the 'cv ext:disable' disables/deactivates an extension and the 'cv ext:uninstall' removes it from the the data base and cleans its datas, but I don't understand why it also doesn't delete the folder. It creates an intermediate status for an extension to be 'suppressed' but not 'deleted'.
I think it would be useful that it really deletes the extension like on the CMS.

@demeritcowboy
Copy link
Contributor

It used to a long time ago but what happened was devs would lose a couple hours work by accident. See also https://issues.civicrm.org/jira/browse/CRM-12036

But maybe there could be an extra option like --delete

@allinappliadmin
Copy link
Author

ok I understand better now the dev point of view, but on the admin sys point of view, suppress is suppress so a --delete option would be useful. How to add it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants