You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Uninstalling an extension w/ dependencies should also offer to uninstall those dependencies #12957
Ideally # of installs is directly proportional to # of uninstalls. Right now, if an extension pack installs several dependencies, you have to go through, find, and uninstall every single one. It's like maple syrup. You get just a little bit on your hand and then somehow it defies the laws of physics, multiplies, and it's everywhere!
I am also not favor of uninstalling as a pack. Instead what is more useful is either not allowing or prompting the user while uninstalling an extension if it is a dependency of already installed extension.
Maybe a better idea would be to offer a way to optionally remove those dependency packages?
The way I see it, packages should never be removed without our permission, but it's also nice to be able to easily remove dependency packages without having to individually remove them by hand.
I'm thinking something functionally like how apt handles things with apt-get autoremove
Sandeep Somavarapu (@sandy081) Does it check to ensure that each dependency of the package being uninstalled isn't a dependency of any other currently installed packages first?
Joshua Sleeper (@joshsleeper) You have a valid point, In fact I too mentioned the same here comment . That's why I have reopened issue earlier. Thanks for mentioning.
Activity
joaomoreno commentedon Sep 29, 2016
Not entirely convinced about this. What if A depends on B and you install first B and then A? Should you uninstall B when uninstalling A still?
sandy081 commentedon Sep 29, 2016
I am also not favor of uninstalling as a pack. Instead what is more useful is either not allowing or prompting the user while uninstalling an extension if it is a dependency of already installed extension.
sandy081 commentedon Oct 3, 2016
Assigning to october for discussion and conclusion
joshsleeper commentedon Oct 17, 2016
Maybe a better idea would be to offer a way to optionally remove those dependency packages?
The way I see it, packages should never be removed without our permission, but it's also nice to be able to easily remove dependency packages without having to individually remove them by hand.
I'm thinking something functionally like how
apthandles things withapt-get autoremovesandy081 commentedon Oct 19, 2016
Uninstalling a pack provides a prompt to uninstall only itself or its dependencies also. So user can choose the option
sandy081 commentedon Oct 19, 2016
Re-opening this issue to consider comment
joshsleeper commentedon Oct 19, 2016
Sandeep Somavarapu (@sandy081) Does it check to ensure that each dependency of the package being uninstalled isn't a dependency of any other currently installed packages first?
João Moreno (@joaomoreno) Does the implementation seem reasonable to you?
sandy081 commentedon Oct 19, 2016
Joshua Sleeper (@joshsleeper) You have a valid point, In fact I too mentioned the same here comment . That's why I have reopened issue earlier. Thanks for mentioning.
#12957 Do not uninstall dependencies if there are dependents
#12957 Prevent uninstalling a dependent extension
fix microsoft#12957