-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
…uring init Enable importing other tools and add integration tests - Turned off skip tools flag by default - Added glide integration tests for the init case
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Import glide config in dependencies. | ||
Import glide config in direct dependencies. |
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 @@ | ||
Import deptestglideA tag v0.3.0 which has a corrupt glide manifest. |
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,10 @@ | ||
package: github.com/golang/notexist | ||
homepage: http://example.com | ||
license: MIT | ||
owners: | ||
- name: Sam Boyer | ||
email: sdboyer@example.com | ||
homepage: http://sdboyer.io | ||
import: | ||
- package: github.com/ChinmayR/deptestglideA | ||
version: v0.3.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// 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/ChinmayR/deptestglideA" | ||
) | ||
|
||
type PointToDepTestGlideAv010 deptestglideA.Bversion2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"commands": [ | ||
["init", "-no-examples", "-v"] | ||
], | ||
"error-expected": "v0.3.0: unable to parse" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Take a direct dependency on a transient dependency where the versions are conflicted. Resolving should fail. |
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 @@ | ||
package: github.com/golang/notexist | ||
homepage: http://example.com | ||
license: MIT | ||
owners: | ||
- name: Sam Boyer | ||
email: sdboyer@example.com | ||
homepage: http://sdboyer.io | ||
import: | ||
- package: github.com/ChinmayR/deptestglideA | ||
version: v0.1.0 | ||
- package: github.com/ChinmayR/deptestglideB | ||
version: v0.2.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// 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/ChinmayR/deptestglideA" | ||
"github.com/ChinmayR/deptestglideB" | ||
) | ||
|
||
type PointToDepTestGlideAv010 deptestglideA.Bversion1 | ||
type FooVersion2 deptestglideB.FooVersion2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"commands": [ | ||
["init", "-no-examples", "-v"] | ||
], | ||
"error-expected": "master: Could not introduce github.com/ChinmayR/deptestglideA@master, as it is not allowed by constraint ^0.1.0 from project github.com/golang/notexist." | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Take a direct dependency on a transient dependency where the versions are not conflicted. Resolving should pass. |
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,7 @@ | ||
|
||
[[constraint]] | ||
name = "github.com/ChinmayR/deptestglideA" | ||
version = "0.2.0" | ||
|
||
[[constraint]] | ||
name = "github.com/ChinmayR/deptestglideB" |
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 @@ | ||
package: github.com/golang/notexist | ||
homepage: http://example.com | ||
license: MIT | ||
owners: | ||
- name: Sam Boyer | ||
email: sdboyer@example.com | ||
homepage: http://sdboyer.io | ||
import: | ||
- package: github.com/ChinmayR/deptestglideA | ||
version: v0.2.0 | ||
- package: github.com/ChinmayR/deptestglideB | ||
version: ~0.1.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// 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/ChinmayR/deptestglideA" | ||
"github.com/ChinmayR/deptestglideB" | ||
) | ||
|
||
type PointToDepTestGlideAv010 deptestglideA.Bversion2 | ||
type FooVersion2 deptestglideB.FooVersion2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"commands": [ | ||
["init", "-no-examples", "-v"] | ||
], | ||
"vendor-final": [ | ||
"github.com/ChinmayR/deptestglideA", | ||
"github.com/ChinmayR/deptestglideB" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Have two transient dependencies have different versions of the same repo. Resolving should fail. |
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 @@ | ||
package: github.com/golang/notexist | ||
homepage: http://example.com | ||
license: MIT | ||
owners: | ||
- name: Sam Boyer | ||
email: sdboyer@example.com | ||
homepage: http://sdboyer.io | ||
import: | ||
- package: github.com/ChinmayR/deptestglideA | ||
version: v0.4.0 | ||
- package: github.com/ChinmayR/deptestglideB | ||
version: v0.3.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// 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/ChinmayR/deptestglideA" | ||
"github.com/ChinmayR/deptestglideB" | ||
) | ||
|
||
type PointToDepTestGlideCv010 deptestglideA.Cversion1 | ||
type PointToDepTestGlideCv020 deptestglideB.Cversion2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"commands": [ | ||
["init", "-no-examples", "-v"] | ||
], | ||
"error-expected": "No versions of github.com/ChinmayR/deptestglideB met constraints" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Test if a transitive glide manifest is read. |
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,4 @@ | ||
|
||
[[constraint]] | ||
name = "github.com/ChinmayR/deptestglideA" | ||
version = "0.6.0" |
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,10 @@ | ||
package: github.com/golang/notexist | ||
homepage: http://example.com | ||
license: MIT | ||
owners: | ||
- name: Sam Boyer | ||
email: sdboyer@example.com | ||
homepage: http://sdboyer.io | ||
import: | ||
- package: github.com/ChinmayR/deptestglideA | ||
version: v0.6.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// 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/ChinmayR/deptestglideA" | ||
) | ||
|
||
type PointToDepTestGlideAv010 deptestglideA.PointToDepTestGlideBv050 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"commands": [ | ||
["init", "-no-examples", "-v"] | ||
], | ||
"vendor-final": [ | ||
"github.com/ChinmayR/deptestglideA", | ||
"github.com/ChinmayR/deptestglideB", | ||
"github.com/ChinmayR/deptestglideC" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Have two direct dependencies where one specifies a direct transient version, | ||
and the other can take any transient but overlapping version. Resolving should pass. |
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,8 @@ | ||
|
||
[[constraint]] | ||
name = "github.com/ChinmayR/deptestglideA" | ||
version = "0.4.0" | ||
|
||
[[constraint]] | ||
name = "github.com/ChinmayR/deptestglideB" | ||
version = "0.4.0" |
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 @@ | ||
package: github.com/golang/notexist | ||
homepage: http://example.com | ||
license: MIT | ||
owners: | ||
- name: Sam Boyer | ||
email: sdboyer@example.com | ||
homepage: http://sdboyer.io | ||
import: | ||
- package: github.com/ChinmayR/deptestglideA | ||
version: v0.4.0 | ||
- package: github.com/ChinmayR/deptestglideB | ||
version: v0.4.0 |