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.
Merge pull request #1553 from zkry/list-out-of-date-deps
List out of date deps
- Loading branch information
Showing
9 changed files
with
306 additions
and
4 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
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
27 changes: 27 additions & 0 deletions
27
cmd/dep/testdata/harness_tests/status/old_constraints/final/Gopkg.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
cmd/dep/testdata/harness_tests/status/old_constraints/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,11 @@ | ||
[[constraint]] | ||
name = "github.com/sdboyer/deptestdos" | ||
version = "v2.0.0" | ||
|
||
[[constraint]] | ||
name = "github.com/sdboyer/deptest" | ||
version = "v1.0.0" | ||
|
||
[[constraint]] | ||
name = "github.com/carolynvs/go-dep-test" | ||
version = "v0.1.0" |
27 changes: 27 additions & 0 deletions
27
cmd/dep/testdata/harness_tests/status/old_constraints/initial/Gopkg.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
cmd/dep/testdata/harness_tests/status/old_constraints/initial/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,11 @@ | ||
[[constraint]] | ||
name = "github.com/sdboyer/deptestdos" | ||
version = "v2.0.0" | ||
|
||
[[constraint]] | ||
name = "github.com/sdboyer/deptest" | ||
version = "v1.0.0" | ||
|
||
[[constraint]] | ||
name = "github.com/carolynvs/go-dep-test" | ||
version = "v0.1.0" |
14 changes: 14 additions & 0 deletions
14
cmd/dep/testdata/harness_tests/status/old_constraints/initial/main.go
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,14 @@ | ||
// Copyright 2018 The Go Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package main | ||
|
||
import ( | ||
_ "github.com/carolynvs/go-dep-test" | ||
_ "github.com/sdboyer/deptest" | ||
_ "github.com/sdboyer/deptestdos" | ||
) | ||
|
||
func main() { | ||
} |
2 changes: 2 additions & 0 deletions
2
cmd/dep/testdata/harness_tests/status/old_constraints/stdout.txt
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 @@ | ||
PROJECT CONSTRAINT REVISION LATEST | ||
github.com/carolynvs/go-dep-test ^0.1.0 b9c5511 4069198 |
12 changes: 12 additions & 0 deletions
12
cmd/dep/testdata/harness_tests/status/old_constraints/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,12 @@ | ||
{ | ||
"commands": [ | ||
["ensure"], | ||
["status", "-old"] | ||
], | ||
"error-expected": "", | ||
"vendor-final": [ | ||
"github.com/carolynvs/go-dep-test", | ||
"github.com/sdboyer/deptest", | ||
"github.com/sdboyer/deptestdos" | ||
] | ||
} |