You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Output WHY a package wasn't updated to the latest version #786
Note that this is as verbose as it can be. The regular use case probably won't be that verbose.
This is what has been added:
Before listing the package and version, it outputs why it's resolving that. For example:
From paket.dependencies: Resolving Ninject.Extensions.Logging.Log4Net (from D:\Projects\paket-test\paket.dependencies)
From a top-level package: Resolving Ninject.Extensions.Logging >= 3.2.0.0 < 3.3.0.0 (from Ninject.Extensions.Logging.Log4Net 3.2.3)
Everytime it finds a conflict, it outputs the package it's trying to resolve and the package it has conflicted to:
Note that the failing message will only be shown if the paket.lock has not been changed (no package has been updated at all). In addition, it will now show all conflicts but one conflict per package/version pair.
However, if a package is updated but not to the lastest version, it will be reported as a warning conflict but paket will not fail.
Let me know what you think and how I should proceed from there.
Activity
forki commentedon Aug 13, 2015
Create a paket.dependencies fie with the following content:
then run
paket update nuget FAKE.We expect FAKE to be still on 3.37.1 but we want to see a message/warning that this not the latest since it's pinnend in the dependencies file.
forki commentedon Aug 13, 2015
And we should do the same for all packages when running paket update.
mrinaldi commentedon Aug 19, 2015
I'm wondering how we should output that.
I believe we should be a little more verbose on update but I'm not sure if it should be the default or we should have a flag for that.
This is a WIP:
Note that this is as verbose as it can be. The regular use case probably won't be that verbose.
This is what has been added:
Before listing the package and version, it outputs why it's resolving that. For example:
From
paket.dependencies:Resolving Ninject.Extensions.Logging.Log4Net (from D:\Projects\paket-test\paket.dependencies)From a top-level package:
Resolving Ninject.Extensions.Logging >= 3.2.0.0 < 3.3.0.0 (from Ninject.Extensions.Logging.Log4Net 3.2.3)Everytime it finds a conflict, it outputs the package it's trying to resolve and the package it has conflicted to:
This one is a warning (yellow) output.
In case it can't update anything, it will fail with:
Note that the failing message will only be shown if the
paket.lockhas not been changed (no package has been updated at all). In addition, it will now show all conflicts but one conflict per package/version pair.However, if a package is updated but not to the lastest version, it will be reported as a warning conflict but paket will not fail.
Let me know what you think and how I should proceed from there.
mrinaldi commentedon Aug 24, 2015
Hey @forki, do you have any thoughts on my previous comment?
forki commentedon Aug 24, 2015
we already have
-vflag for verbose mode. We should only trace the most useful information during normal runs.