Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

dep: Introduce dep check subcommand #1932

Merged
merged 12 commits into from
Jul 21, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dep: Add harness tests for dep check
  • Loading branch information
sdboyer committed Jul 21, 2018
commit 26fced190965df2d9b82fb2a98e5f876bdec7aa4

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright 2017 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/sdboyer/deptestdos"
)

func main() {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Gopkg.lock is out of sync:
github.com/sdboyer/deptest: in input-imports, but not imported

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"commands": [
["check"]
],
"exit-code": 1,
"vendor-final": []
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright 2017 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/sdboyer/deptest"
)

func main() {
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# vendor is out of sync:
vendor/github.com/sdboyer/deptest: hash of vendored tree didn't match digest in Gopkg.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"commands": [
["check"]
],
"exit-code": 1,
"vendor-final": [
"github.com/sdboyer/deptest"
]
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright 2017 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/sdboyer/deptest"
)

func main() {
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# vendor is out of sync:
vendor/github.com/sdboyer/deptest: hash algorithm mismatch, want version 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"commands": [
["check"]
],
"exit-code": 1,
"vendor-final": [
"github.com/sdboyer/deptest"
]
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright 2017 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/sdboyer/deptestdos"
)

func main() {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Gopkg.lock is out of sync:
github.com/sdboyer/deptestdos: missing from input-imports
github.com/sdboyer/deptest: in input-imports, but not imported

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"commands": [
["check"]
],
"exit-code": 1,
"vendor-final": []
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright 2017 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/sdboyer/deptestdos"
)

func main() {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Gopkg.lock is out of sync:
github.com/sdboyer/deptestdos: missing from input-imports

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"commands": [
["check"]
],
"exit-code": 1,
"vendor-final": []
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[[constraint]]
name = "github.com/sdboyer/deptest"
branch = "master"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[[constraint]]
name = "github.com/sdboyer/deptest"
branch = "master"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright 2017 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/sdboyer/deptest"
)

func main() {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Gopkg.lock is out of sync:
github.com/sdboyer/[email protected]: not allowed by constraint master

# vendor is out of sync:
vendor/github.com/sdboyer/deptest: missing from vendor
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"commands": [
["check"]
],
"exit-code": 1,
"vendor-final": []
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[[override]]
name = "github.com/sdboyer/deptest"
branch = "master"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[[override]]
name = "github.com/sdboyer/deptest"
branch = "master"
Loading