This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/dep: make out-of-sync ensure less strict (#1225)
* cmd/dep: make out-of-sync ensure less strict * cmd/dep: fix broken integration test
- Loading branch information
Showing
21 changed files
with
64 additions
and
50 deletions.
There are no files selected for viewing
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
14 changes: 10 additions & 4 deletions
14
...nsure/update/errs/desync/final/Gopkg.lock → ..._tests/ensure/add/desync/final/Gopkg.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
cmd/dep/testdata/harness_tests/ensure/add/desync/final/Gopkg.toml
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,6 @@ | ||
[[constraint]] | ||
name = "github.com/sdboyer/deptest" | ||
version = "~0.8.0" | ||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/sdboyer/deptesttres" |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
cmd/dep/testdata/harness_tests/ensure/add/desync/initial/Gopkg.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Warning: Gopkg.lock is out of sync with Gopkg.toml or the project's imports. | ||
Fetching sources... |
10 changes: 10 additions & 0 deletions
10
cmd/dep/testdata/harness_tests/ensure/add/desync/testcase.json
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,10 @@ | ||
{ | ||
"commands": [ | ||
["ensure", "-add", "github.com/sdboyer/deptesttres@master"] | ||
], | ||
"vendor-final": [ | ||
"github.com/sdboyer/deptest", | ||
"github.com/sdboyer/deptestdos", | ||
"github.com/sdboyer/deptesttres" | ||
] | ||
} |
6 changes: 0 additions & 6 deletions
6
cmd/dep/testdata/harness_tests/ensure/add/errs/desync/testcase.json
This file was deleted.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
...ensure/add/errs/desync/initial/Gopkg.lock → ...sts/ensure/update/desync/final/Gopkg.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
Warning: Gopkg.lock is out of sync with Gopkg.toml or the project's imports. |
9 changes: 9 additions & 0 deletions
9
cmd/dep/testdata/harness_tests/ensure/update/desync/testcase.json
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,9 @@ | ||
{ | ||
"commands": [ | ||
["ensure", "-update"] | ||
], | ||
"vendor-final": [ | ||
"github.com/sdboyer/deptest", | ||
"github.com/sdboyer/deptestdos" | ||
] | ||
} |
21 changes: 0 additions & 21 deletions
21
cmd/dep/testdata/harness_tests/ensure/update/errs/desync/initial/Gopkg.lock
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
cmd/dep/testdata/harness_tests/ensure/update/errs/desync/initial/Gopkg.toml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
cmd/dep/testdata/harness_tests/ensure/update/errs/desync/testcase.json
This file was deleted.
Oops, something went wrong.