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

Add support to uninstall an extension #134

Open
gereon77 opened this issue Apr 30, 2019 · 12 comments
Open

Add support to uninstall an extension #134

gereon77 opened this issue Apr 30, 2019 · 12 comments

Comments

@gereon77
Copy link

Right now I miss the possibility to uninstall an extension from the server. This might become handy during extension development when you want to test update extension and install extension. Or if for some reason the extension id has changed and you want to uninstall the old one. Right now I have a work around with a pure REST which does the trick but I would love to see this supported by this great extension.

Thank you in advance. :)

@jessehouwing
Copy link
Collaborator

There is no option in tfx-cli to uninstall extensions.

This would first have to be implemented in tfx-cli, I don't want to take additional REST API dependenies in this extension, those are almost all abstarcted away behind tfx-cli.

@jessehouwing
Copy link
Collaborator

You're free to request this feature in tfx-cli.

@gereon77
Copy link
Author

Thank you Jesse. I opened an issue in the tfx cli repo.

@gereon77
Copy link
Author

gereon77 commented May 2, 2019

Hi again... It's available with the newest cli now: microsoft/tfs-cli#316 ... So may I count on an update of this extension? :)

@jessehouwing
Copy link
Collaborator

jessehouwing commented May 2, 2019 via email

@jessehouwing jessehouwing reopened this May 8, 2019
@jessehouwing
Copy link
Collaborator

Is unpublish really what you were after?

Or uninstall from account? Cause it looks like you got the first..

@praneetloke
Copy link

I came here wanting an "uninstall" action from an organization, not an unpublish from the marketplace. Looking at the changes in the tfx-cli I do think it removes the extension from the marketplace and not from an organization.

@jessehouwing
Copy link
Collaborator

jessehouwing commented Nov 14, 2019 via email

@praneetloke
Copy link

Having said that, exposing the "unpublish" action would be good. For my workflow, I am publishing a private VSIX, test the private one, and unpublish it from the marketplace if everything was successful. I can open a new issue if you'd like, @jessehouwing ?

@jessehouwing
Copy link
Collaborator

@praneetloke I'll take pull requests on this one, should be relatively simple, it can take the IsValidExtension or QueryVersion as a baseline,

Personally I just leave the private extension out there.

@praneetloke
Copy link

@jessehouwing since writing the above comment, I have changed my workflow also to leave the test extension published and shared privately with my test organization. I still see a value in having the ability to uninstall an extension, though.

@jessehouwing
Copy link
Collaborator

Unpublish is now exposed.
Uninstall is still not an available part of tfx-cli.

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

No branches or pull requests

3 participants