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

How to remove Paket references from the project? #1097

Closed
konste opened this issue Sep 28, 2015 · 3 comments
Closed

How to remove Paket references from the project? #1097

konste opened this issue Sep 28, 2015 · 3 comments
Labels

Comments

@konste
Copy link
Contributor

konste commented Sep 28, 2015

When somebody wants to remove Paket created references from the project naive approach is to delete paket.references file. It takers some time to realize that the only effect it has - Paket does not look at that project anymore, but does not remove existing references from it either. Approach which works is to have empty paket.references file - then references indeed get removed.

Ideally removal of the paket.references file should have the same effect, but it may be ineffective performance wise as it would require to look inside each and every project. If performance impact appear to be substantial, then the trick with empty paket.references file should be documented.

@forki
Copy link
Member

forki commented Sep 29, 2015

"he trick with empty paket.references file should be documented"

I'd love to see such a PR

@forki
Copy link
Member

forki commented Sep 29, 2015

I decided that we should cover this case and now paket removes all installed Paket entries from projects which have no corresponding paket.references.

@konste
Copy link
Contributor Author

konste commented Sep 29, 2015

I'm glad you did! Trick with empty Paket.references really looked as a clumsy workaround. I would hate to have it documented as a proper way of removing references. Now it is much more natural.

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