Skip to content

Uninstalling an extension w/ dependencies should also offer to uninstall those dependencies #12957

Closed

Description

Testing #12658

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!

Extensions shouldn't be like maple syrup. 😜

Activity

  1. joaomoreno commented on Sep 29, 2016

    @joaomoreno
    Contributor

    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?

  2. sandy081 commented on Sep 29, 2016

    @sandy081
    Member

    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.

  3. added
    feature-request
    on Oct 3, 2016
  4. sandy081 commented on Oct 3, 2016

    @sandy081
    Member

    Assigning to october for discussion and conclusion

  5. joshsleeper commented on Oct 17, 2016

    @joshsleeper

    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

    image

  6. sandy081 commented on Oct 19, 2016

    @sandy081
    Member

    Uninstalling a pack provides a prompt to uninstall only itself or its dependencies also. So user can choose the option

  7. sandy081 commented on Oct 19, 2016

    @sandy081
    Member

    Re-opening this issue to consider comment

  8. joshsleeper commented on Oct 19, 2016

    @joshsleeper

    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?

  9. sandy081 commented on Oct 19, 2016

    @sandy081
    Member

    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.

  10. added 2 commits that reference this issue on Oct 21, 2016
  11. locked and limited conversation to collaborators on Nov 18, 2017
  12. added a commit that references this issue on Sep 6, 2026
    8a02e70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

extensionsfeature-request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions