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

Unnecessary package reinstalls? #366

Closed
tpluscode opened this issue Nov 17, 2014 · 9 comments
Closed

Unnecessary package reinstalls? #366

tpluscode opened this issue Nov 17, 2014 · 9 comments

Comments

@tpluscode
Copy link
Contributor

I don't understand something. Whenever I do for example paket add nuget X it seems that all the other packages are downloaded and installed. This is very annoying because for every package that contains content files, these files are rewrtitten with their defaults.

Is this by design?

@isaacabraham
Copy link
Contributor

There's another issue I raised about this. Not sure about the ID.

@isaacabraham
Copy link
Contributor

Also. Content files should be considered read only IMHO, just like any other part of a dependency.

@tpluscode
Copy link
Contributor Author

@isaacabraham the issue is #330. I guess this is a duplicate.

However I'll very much like to see this fixed. Currently it's the biggest problem keeping me from ditching NuGet. Boy, I've been waiting so long for an alternative :)

@tpluscode
Copy link
Contributor Author

Oh, and I tried with the latest. 0.14.3 I think.

@forki
Copy link
Member

forki commented Nov 18, 2014

this are different things. We always install all packages. Content files are overridden, right @theimowski ?

#330 is about resolver performance.

@theimowski
Copy link
Member

yes, we do full refresh for content files

@tpluscode
Copy link
Contributor Author

@forki, why are unrelated packages all reinstalled when I add a new dependency to a project, even a single one with the --interactive switch). Is that necessary?

@forki
Copy link
Member

forki commented Nov 18, 2014

As I said: "We always install all packages."
that has to do with the fact that the complete install model is computed and packages influence each other (in some cases).

@tpluscode
Copy link
Contributor Author

I see. I take that this behaviour is not going to change. It's not a problem in itself, just combined with the content files being overwriten it becomes an issue. Please see my comment to #202

@forki forki closed this as completed Nov 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants