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

Make `paket add` accept multiple NuGet packages #2756

Closed
Krzysztof-Cieslak opened this Issue Sep 12, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@Krzysztof-Cieslak
Member

Krzysztof-Cieslak commented Sep 12, 2017

In some rare cases (Forge scaffolding, for example) I'd want to add multiple packages at the same time. At the moment, we add packages one-by-one in the loop, what means that the whole process (starting Paket, resolver, I/O) is run multiple times... which adds a lot of overhead and is pretty long operation. It'd be really helpful to allow us add those packages at once.

Alternative solution would be adding flag to paket add that would disable resolver - in such case command would just add entry in paket.dependency without changing paket.lock and project files.

@matthid

This comment has been minimized.

Show comment
Hide comment
@matthid

matthid Sep 12, 2017

Member

I vote for fixing the startup perf + add the flag to skip the resolver.

Sadly we will probably choose the hacky solution as it is easier to implement... I don't think I'm able to fix this anytime soon.

Skipping the resolver is probably easy, fixing the startup perf is not

Member

matthid commented Sep 12, 2017

I vote for fixing the startup perf + add the flag to skip the resolver.

Sadly we will probably choose the hacky solution as it is easier to implement... I don't think I'm able to fix this anytime soon.

Skipping the resolver is probably easy, fixing the startup perf is not

@forki

This comment has been minimized.

Show comment
Hide comment
@forki
Member

forki commented Sep 12, 2017

@forki forki closed this in 8a47534 Sep 12, 2017

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