-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #759 from epage/collapse
fix(upgrade): Abbreviate the table
- Loading branch information
Showing
33 changed files
with
492 additions
and
245 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking none's dependencies | ||
Updating '[ROOTURL]/alternative-registry' index | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package1 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
my-package2 0.2 0.2.3 99999.0.0 99999.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package1 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
my-package2 0.2 0.2.3 99999.0.0 99999.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
warning: aborting upgrade due to dry run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking None's dependencies | ||
warning: ignoring docopt, excluded by user | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
pad 0.1 0.1.1 99999.0.0 99999.0 | ||
serde_json 20.0 20.0.0 99999.0.0 99999.0 | ||
syn 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
tar 0.4 0.4.1 99999.0.0 99999.0 | ||
ftp 20.0.0 20.0.0 99999.0.0 99999.0.0 | ||
te 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
semver 0.2 0.2.3 99999.0.0 99999.0 | ||
rn 0.1 0.1.1 99999.0.0 99999.0 | ||
assert_cli 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
tempdir 0.1 0.1.1 99999.0.0 99999.0 | ||
serde 1.0 1.0.140 - 1.0 | ||
openssl 0.4 0.4.1 99999.0.0 99999.0 | ||
rget 0.4.0 0.4.1 99999.0.0 99999.0.0 | ||
geo 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
ftp 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
pad 0.1 0.1.1 99999.0.0 99999.0 | ||
serde_json 20.0 20.0.0 99999.0.0 99999.0 | ||
syn 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
tar 0.4 0.4.1 99999.0.0 99999.0 | ||
ftp 20.0.0 20.0.0 99999.0.0 99999.0.0 | ||
te 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
semver 0.2 0.2.3 99999.0.0 99999.0 | ||
rn 0.1 0.1.1 99999.0.0 99999.0 | ||
assert_cli 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
tempdir 0.1 0.1.1 99999.0.0 99999.0 | ||
serde 1.0 1.0.140 - 1.0 | ||
openssl 0.4 0.4.1 99999.0.0 99999.0 | ||
rget 0.4.0 0.4.1 99999.0.0 99999.0.0 | ||
geo 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
ftp 0.2.0 0.2.3 99999.0.0 99999.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
unrelated-crate 1.0 - 99999.0.0 99999.0 | ||
my-package 0.1.1-alpha.1 - 99999.1.0-alpha.1 99999.1.0-alpha.1 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
unrelated-crate 1.0 - 99999.0.0 99999.0 | ||
my-package 0.1.1-alpha.1 - 99999.1.0-alpha.1 99999.1.0-alpha.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.1.1 - 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.1.1 - 99999.0.0 99999.0.0 | ||
Error: cannot upgrade due to `--locked` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0 0.4.1 99999.0.0 99999 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0 0.4.1 99999.0.0 99999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.1 0.1.1 99999.0.0 99999.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.1 0.1.1 99999.0.0 99999.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.1.1 0.1.1 99999.0.0 99999.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package1 0.1 0.1.1 99999.0.0 99999.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package1 0.1 0.1.1 99999.0.0 99999.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
Checking one's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.2.0 0.2.3 99999.0.0 0.2.3 | ||
three 0.1.0 0.1.5 - 0.1.5 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.2.0 0.2.3 99999.0.0 0.2.3 | ||
three 0.1.0 0.1.5 - 0.1.5 | ||
Checking three's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.2.0 0.2.3 99999.0.0 0.2.3 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.2.0 0.2.3 99999.0.0 0.2.3 | ||
Checking two's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.2.0 0.2.3 99999.0.0 0.2.3 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.2.0 0.2.3 99999.0.0 0.2.3 | ||
Checking four's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.2.0 0.2.3 99999.0.0 0.2.3 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.2.0 0.2.3 99999.0.0 0.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
docopt 0.4.0 0.4.1 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
docopt 0.4.0 0.4.1 99999.0.0 99999.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
The flag `--all` has been deprecated in favor of `--workspace` | ||
Updating '[ROOTURL]/registry' index | ||
Checking one's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
three 0.1.0 0.1.5 - 0.1.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
three 0.1.0 0.1.5 - 0.1.0 | ||
Checking three's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
Checking two's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
Checking four's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
my-package 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
my-package 0.2.0 0.2.3 99999.0.0 99999.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking None's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
docopt 0.4 0.4.1 99999.0.0 99999.0 | ||
pad 0.1 0.1.1 99999.0.0 99999.0 | ||
serde_json 20.0 20.0.0 99999.0.0 99999.0 | ||
syn 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
tar 0.4 0.4.1 99999.0.0 99999.0 | ||
ftp 20.0.0 20.0.0 99999.0.0 99999.0.0 | ||
te 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
semver 0.2 0.2.3 99999.0.0 99999.0 | ||
rn 0.1 0.1.1 99999.0.0 99999.0 | ||
assert_cli 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
tempdir 0.1 0.1.1 99999.0.0 99999.0 | ||
serde 1.0 1.0.140 - 1.0 | ||
openssl 0.4 0.4.1 99999.0.0 99999.0 | ||
rget 0.4.0 0.4.1 99999.0.0 99999.0.0 | ||
geo 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
ftp 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
docopt 0.4 0.4.1 99999.0.0 99999.0 | ||
pad 0.1 0.1.1 99999.0.0 99999.0 | ||
serde_json 20.0 20.0.0 99999.0.0 99999.0 | ||
syn 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
tar 0.4 0.4.1 99999.0.0 99999.0 | ||
ftp 20.0.0 20.0.0 99999.0.0 99999.0.0 | ||
te 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
semver 0.2 0.2.3 99999.0.0 99999.0 | ||
rn 0.1 0.1.1 99999.0.0 99999.0 | ||
assert_cli 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
tempdir 0.1 0.1.1 99999.0.0 99999.0 | ||
openssl 0.4 0.4.1 99999.0.0 99999.0 | ||
rget 0.4.0 0.4.1 99999.0.0 99999.0.0 | ||
geo 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
ftp 0.2.0 0.2.3 99999.0.0 99999.0.0 | ||
note: Re-run with `--verbose` to show all dependencies | ||
unchanged: serde |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Updating '[ROOTURL]/registry' index | ||
Checking cargo-list-test-fixture's dependencies | ||
name old req locked latest new req note | ||
==== ======= ====== ====== ======= ==== | ||
m1 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
m2 0.2 0.2.3 99999.0.0 99999.0 | ||
name old req locked latest new req | ||
==== ======= ====== ====== ======= | ||
m1 0.1.1 0.1.1 99999.0.0 99999.0.0 | ||
m2 0.2 0.2.3 99999.0.0 99999.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[package] | ||
name = "None" | ||
version = "0.1.0" | ||
|
||
[lib] | ||
path = "dummy.rs" | ||
|
||
[dependencies] | ||
docopt = "0.4" | ||
pad = "0.1" | ||
serde_json = "20.0" | ||
syn = { version = "0.1.1", default-features = false } | ||
tar = { version = "0.4", default-features = false } | ||
ftp = "20.0.0" | ||
te = { package = "toml_edit", version = "0.1.1" } | ||
|
||
[dependencies.semver] | ||
version = "0.2" | ||
|
||
[dependencies.rn] | ||
package = "renamed" | ||
version = "0.1" | ||
|
||
[dev-dependencies] | ||
assert_cli = "0.2.0" | ||
tempdir = "0.1" | ||
|
||
[build-dependencies] | ||
serde = { version = "1.0", git= "https://github.com/serde-rs/serde.git" } | ||
|
||
[target.'cfg(unix)'.dependencies] | ||
openssl = "0.4" | ||
|
||
[target."windows.json"] | ||
# let's make it an inline table | ||
dependencies = { rget = "0.4.0" } | ||
|
||
[target.'cfg(target_arch = "x86_64")'.dev-dependencies] | ||
geo = { version = "0.2.0", default-features = false } | ||
|
||
[target.foo.build-dependencies] | ||
ftp = "0.2.0" | ||
|
||
[features] | ||
default = [] | ||
test-external-apis = [] | ||
unstable = [] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
use cargo_test_support::compare::assert_ui; | ||
use cargo_test_support::Project; | ||
|
||
use crate::init_registry; | ||
use crate::CargoCommand; | ||
use cargo_test_support::curr_dir; | ||
|
||
#[cargo_test] | ||
fn case() { | ||
init_registry(); | ||
let project = Project::from_template(curr_dir!().join("in")); | ||
let project_root = project.root(); | ||
let cwd = &project_root; | ||
|
||
snapbox::cmd::Command::cargo_ui() | ||
.arg("upgrade") | ||
.args(["--pinned", "--verbose"]) | ||
.current_dir(cwd) | ||
.assert() | ||
.success() | ||
.stdout_matches_path(curr_dir!().join("stdout.log")) | ||
.stderr_matches_path(curr_dir!().join("stderr.log")); | ||
|
||
assert_ui().subset_matches(curr_dir!().join("out"), &project_root); | ||
} |
Oops, something went wrong.