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.
Test glide import for branch with semver name
- Loading branch information
Showing
13 changed files
with
156 additions
and
13 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
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,18 @@ | ||
hash: 3b7d5be7d68cd94765ac91ea2f58b554151f67f5d0bf499ea8cadb600538a0e5 | ||
updated: 2017-05-03T15:13:27.629768623+02:00 | ||
imports: | ||
- name: github.com/DataDog/datadog-go | ||
version: 0ddda6bee21174ef6c4873647cb0d6ec9cba996f | ||
subpackages: | ||
- statsd | ||
- name: github.com/mikespook/gearman-go | ||
version: b79fee29655dcdce7ba4a738f8388f9862b6779e | ||
subpackages: | ||
- worker | ||
- name: gopkg.in/mgo.v2 | ||
version: 29cc868a5ca65f401ff318143f9408d02f4799cc | ||
subpackages: | ||
- bson | ||
- internal/sasl | ||
- internal/scram | ||
devImports: [] |
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 @@ | ||
package: github.com/wondernetwork/go-wiu-backend | ||
import: | ||
- package: github.com/mikespook/gearman-go | ||
version: master | ||
subpackages: | ||
- worker | ||
- package: gopkg.in/mgo.v2 | ||
version: v2 | ||
subpackages: | ||
- bson | ||
- package: github.com/DataDog/datadog-go | ||
version: ~1.1 | ||
subpackages: | ||
- statsd |
7 changes: 4 additions & 3 deletions
7
...testdata/glide/expected_import_output.txt → cmd/dep/testdata/glide/golden0.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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
Detected glide configuration files... | ||
Converting from glide.yaml and glide.lock... | ||
Using ^0.8.1 as initial constraint for imported dep github.com/sdboyer/deptest | ||
Trying v0.8.1 (3f4c3be) as initial lock for imported dep github.com/sdboyer/deptest | ||
Using master as initial constraint for imported dep github.com/sdboyer/deptest | ||
Using ^2.0.0 as initial constraint for imported dep github.com/sdboyer/deptestdos | ||
Using master as initial constraint for imported dep github.com/golang/lint | ||
Trying v0.8.1 (3f4c3be) as initial lock for imported dep github.com/sdboyer/deptest | ||
Trying v2.0.0 (5c60720) as initial lock for imported dep github.com/sdboyer/deptestdos | ||
Using cb00e56 as initial hint for imported dep github.com/golang/lint | ||
Trying master (cb00e56) as initial lock for imported dep github.com/golang/lint |
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,8 @@ | ||
Detected glide configuration files... | ||
Converting from glide.yaml and glide.lock... | ||
Using master as initial constraint for imported dep github.com/mikespook/gearman-go | ||
Using v2 as initial constraint for imported dep gopkg.in/mgo.v2 | ||
Using ~1.1.0 as initial constraint for imported dep github.com/DataDog/datadog-go | ||
Trying 1.1.0 (0ddda6b) as initial lock for imported dep github.com/DataDog/datadog-go | ||
Trying master (b79fee2) as initial lock for imported dep github.com/mikespook/gearman-go | ||
Trying v2 (29cc868) as initial lock for imported dep gopkg.in/mgo.v2 |
27 changes: 27 additions & 0 deletions
27
cmd/dep/testdata/harness_tests/init/glide/case4/final/Gopkg.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
cmd/dep/testdata/harness_tests/init/glide/case4/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,12 @@ | ||
|
||
[[constraint]] | ||
name = "github.com/DataDog/datadog-go" | ||
version = "1.1.0" | ||
|
||
[[constraint]] | ||
name = "github.com/mikespook/gearman-go" | ||
version = "0.1.3" | ||
|
||
[[constraint]] | ||
branch = "v2" | ||
name = "gopkg.in/mgo.v2" |
18 changes: 18 additions & 0 deletions
18
cmd/dep/testdata/harness_tests/init/glide/case4/initial/glide.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
cmd/dep/testdata/harness_tests/init/glide/case4/initial/glide.yaml
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 @@ | ||
package: github.com/wondernetwork/go-wiu-backend | ||
import: | ||
- package: github.com/mikespook/gearman-go | ||
version: master | ||
subpackages: | ||
- worker | ||
- package: gopkg.in/mgo.v2 | ||
version: v2 | ||
subpackages: | ||
- bson | ||
- package: github.com/DataDog/datadog-go | ||
version: ~1.1 | ||
subpackages: | ||
- statsd |
14 changes: 14 additions & 0 deletions
14
cmd/dep/testdata/harness_tests/init/glide/case4/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 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/DataDog/datadog-go/statsd" | ||
_ "github.com/mikespook/gearman-go/worker" | ||
_ "gopkg.in/mgo.v2/bson" | ||
) | ||
|
||
func main() { | ||
} |
17 changes: 17 additions & 0 deletions
17
cmd/dep/testdata/harness_tests/init/glide/case4/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,17 @@ | ||
{ | ||
"commands": [ | ||
["init", "-no-examples"] | ||
], | ||
"error-expected": "", | ||
"gopath-initial": {}, | ||
"vendor-final": [ | ||
"github.com/DataDog/datadog-go", | ||
"github.com/mikespook/gearman-go", | ||
"gopkg.in/mgo.v2/bson", | ||
"gopkg.in/mgo.v2/dbtest", | ||
"gopkg.in/mgo.v2/internal", | ||
"gopkg.in/mgo.v2/testdb", | ||
"gopkg.in/mgo.v2/testserver", | ||
"gopkg.in/mgo.v2/txn" | ||
] | ||
} |