Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

KPM restore needs to be smart while restoring packages #533

Closed
anandparanjape opened this issue Aug 15, 2014 · 3 comments
Closed

KPM restore needs to be smart while restoring packages #533

anandparanjape opened this issue Aug 15, 2014 · 3 comments

Comments

@anandparanjape
Copy link

User Scenario:

  • When user modifies Json file in VS for 'x' package and saves this file, output window shows "Attempting to resolve" all packages in the json file. User expects to see whether package being restored to the project or not.
  • From commandline, if user run kpm restore, each time it tries to resolve dependencies and outputs log shows "attempting to resolve" information related to all packages which are there in the project.json.

Ask: kpm restore to be smart to check if project.json file is changed and restore only modified part. Force parameter can be added to kpm restore to forcefully update all packages in json file if needed.

Package Manager Log in VS will be cleaner with this enhancement.

@davidfowl
Copy link
Member

It always has to try to resolve dependencies as any dependency added or removed can change the entire graph.

@anandparanjape
Copy link
Author

Can we hide "Attemping to resolve dependency .. " behind verbose switch? this will make it much cleaner in tooling.

@davidfowl
Copy link
Member

Yep, I'll close this as a dupe of #546

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

No branches or pull requests

2 participants