Paket


paket outdated

Find dependencies that have newer versions available.

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
paket outdated [--help] [--force] [--ignore-constraints] [--group <name>] [--include-prereleases]

OPTIONS:

    --force, -f           force download and reinstallation of all dependencies
    --ignore-constraints  ignore version constraints in the paket.dependencies file
    --group, -g <name>    specify dependency group (default: all groups)
    --include-prereleases, --pre
                          consider prerelease versions as updates
    --silent, -s          suppress console output
    --verbose, -v         print detailed information to the console
    --log-file <path>     print output to a file
    --help                display this list of options.

If you add the --verbose flag Paket will run in verbose mode and show detailed information.

With --log-file [path] you can trace the logged information into a file.

Example

Consider the following paket.dependencies file file:

1: 
2: 
3: 
4: 
5: 
6: 
source https://nuget.org/api/v2

framework: net40

nuget Castle.Core
nuget Castle.Windsor

and the following paket.lock file:

1: 
2: 
3: 
4: 
5: 
6: 
RESTRICTION: == net40
NUGET
  remote: https://nuget.org/api/v2
    Castle.Core (2.0.0)
    Castle.Windsor (2.0.0)
      Castle.Core (>= 2.0.0)

Now we run paket outdated:

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
$ paket outdated
Paket version 5.0.0
Resolving packages for group Main:
 - Castle.Core 4.1.0
 - Castle.Windsor 3.4.0
   Incompatible dependency: Castle.Core >= 3.3 < 4.0 conflicts with resolved version 4.1.0
 - Castle.Windsor 3.3.0
Outdated packages found:
  Group: Main
    * Castle.Core 2.0.0 -> 4.1.0
    * Castle.Windsor 2.0.0 -> 3.3.0
Performance:
 - Resolver: 3 seconds (1 runs)
    - Runtime: 199 milliseconds
    - Blocked (retrieving package details): 1 second (3 times)
    - Blocked (retrieving package versions): 1 second (1 times)
    - Not Blocked (retrieving package versions): 1 times
 - Average Request Time: 884 milliseconds
 - Number of Requests: 12
 - Runtime: 4 seconds
Fork me on GitHub