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

rip uninstall --recursive and --safe #132

Open
cldwalker opened this issue Jul 31, 2010 · 2 comments
Open

rip uninstall --recursive and --safe #132

cldwalker opened this issue Jul 31, 2010 · 2 comments
Labels

Comments

@cldwalker
Copy link
Contributor

Would be nice to have a --recursive option which uninstalls a package and all its dependencies, including dependencies of dependencies. Perhaps using ambition as the testcase.

Also, would be nice to have a --safe option which doesn't uninstall a package if it's a dependency for another package. Not sure if there are any fixtures to use as a testcase.

Currently. I have both options working locally as boson commands. Interested in either if I were to patch them into rip-uninstall?

@josh
Copy link
Contributor

josh commented Aug 1, 2010

Sounds good.

I think --safe as you described should be the default. The current behavior should be --force -f. A include safe dependencies, --dependencies, -d would be handy too.

@cldwalker
Copy link
Contributor Author

I added aborting if a package is a dependency and the force option: branch.

As for --dependencies (--recursive), since I need to uninstall multiple packages should I move rip-uninstall to a separate executable (rip-uninstall-single) to preserve uninstalling one package or should I make the existing executable one big method? I'm guessing the former.

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

No branches or pull requests

2 participants