dependabot-go_modules 0.113.10 → 0.113.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27da74b7fb698d3338af586b168eb2c061e868d2cad17b7f2eccbe624bc4dad8
|
|
4
|
+
data.tar.gz: 5e26e2f2e77d4b70586aed62f007f11cb3d032a25ccb93d82c2a61fca6df18d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ef34ee7c9ed9eadc3a57a2667ed8d5aaa52052e55c13396ef3cf05c4003d986e2ee241c41f2d256ede0ffd87672695ac71416df0f1301e95d079751696f3d2b
|
|
7
|
+
data.tar.gz: df672d71204cad98a8e485cc78519416ad64147a215bc5dbb87284eb7ace89d867b36dba937c461ed67d46e03839d836698d63a15064a896730effc2142a5b69
|
|
@@ -81,7 +81,11 @@ module Dependabot
|
|
|
81
81
|
|
|
82
82
|
command = "go mod edit -print > /dev/null"
|
|
83
83
|
command += " && go list -m -json all"
|
|
84
|
-
|
|
84
|
+
|
|
85
|
+
# Turn off the module proxy for now, as it's causing issues with
|
|
86
|
+
# private git dependencies
|
|
87
|
+
env = { "GOPRIVATE" => "*" }
|
|
88
|
+
|
|
85
89
|
stdout, stderr, status = Open3.capture3(env, command)
|
|
86
90
|
handle_parser_error(path, stderr) unless status.success?
|
|
87
91
|
stdout
|
|
@@ -105,7 +109,11 @@ module Dependabot
|
|
|
105
109
|
# Parse the go.mod to get a JSON representation of the replace
|
|
106
110
|
# directives
|
|
107
111
|
command = "go mod edit -json"
|
|
108
|
-
|
|
112
|
+
|
|
113
|
+
# Turn off the module proxy for now, as it's causing issues with
|
|
114
|
+
# private git dependencies
|
|
115
|
+
env = { "GOPRIVATE" => "*" }
|
|
116
|
+
|
|
109
117
|
stdout, stderr, status = Open3.capture3(env, command)
|
|
110
118
|
handle_parser_error(path, stderr) unless status.success?
|
|
111
119
|
|
|
@@ -17,6 +17,10 @@ module Dependabot
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def updated_go_mod_content
|
|
20
|
+
# Turn off the module proxy for now, as it's causing issues with
|
|
21
|
+
# private git dependencies
|
|
22
|
+
env = { "GOPRIVATE" => "*" }
|
|
23
|
+
|
|
20
24
|
@updated_go_mod_content ||=
|
|
21
25
|
SharedHelpers.in_a_temporary_directory do
|
|
22
26
|
SharedHelpers.with_git_configured(credentials: credentials) do
|
|
@@ -32,7 +36,7 @@ module Dependabot
|
|
|
32
36
|
|
|
33
37
|
SharedHelpers.run_helper_subprocess(
|
|
34
38
|
command: NativeHelpers.helper_path,
|
|
35
|
-
env:
|
|
39
|
+
env: env,
|
|
36
40
|
function: "updateDependencyFile",
|
|
37
41
|
args: { dependencies: deps }
|
|
38
42
|
)
|
|
@@ -61,7 +65,10 @@ module Dependabot
|
|
|
61
65
|
File.write("go.sum", go_sum.content)
|
|
62
66
|
File.write("main.go", dummy_main_go)
|
|
63
67
|
|
|
64
|
-
|
|
68
|
+
# Turn off the module proxy for now, as it's causing issues
|
|
69
|
+
# with private git dependencies
|
|
70
|
+
env = { "GOPRIVATE" => "*" }
|
|
71
|
+
|
|
65
72
|
_, stderr, status = Open3.capture3(env, "go get -d")
|
|
66
73
|
unless status.success?
|
|
67
74
|
handle_subprocess_error(go_sum.path, stderr)
|
|
@@ -93,7 +100,11 @@ module Dependabot
|
|
|
93
100
|
# Parse the go.mod to get a JSON representation of the replace
|
|
94
101
|
# directives
|
|
95
102
|
command = "go mod edit -json"
|
|
96
|
-
|
|
103
|
+
|
|
104
|
+
# Turn off the module proxy for now, as it's causing issues with
|
|
105
|
+
# private git dependencies
|
|
106
|
+
env = { "GOPRIVATE" => "*" }
|
|
107
|
+
|
|
97
108
|
stdout, stderr, status = Open3.capture3(env, command)
|
|
98
109
|
handle_parser_error(path, stderr) unless status.success?
|
|
99
110
|
|
|
@@ -40,9 +40,13 @@ module Dependabot
|
|
|
40
40
|
SharedHelpers.with_git_configured(credentials: credentials) do
|
|
41
41
|
File.write("go.mod", go_mod.content)
|
|
42
42
|
|
|
43
|
+
# Turn off the module proxy for now, as it's causing issues with
|
|
44
|
+
# private git dependencies
|
|
45
|
+
env = { "GOPRIVATE" => "*" }
|
|
46
|
+
|
|
43
47
|
SharedHelpers.run_helper_subprocess(
|
|
44
48
|
command: NativeHelpers.helper_path,
|
|
45
|
-
env:
|
|
49
|
+
env: env,
|
|
46
50
|
function: "getUpdatedVersion",
|
|
47
51
|
args: {
|
|
48
52
|
dependency: {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-go_modules
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.113.
|
|
4
|
+
version: 0.113.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-10-
|
|
11
|
+
date: 2019-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dependabot-common
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.113.
|
|
19
|
+
version: 0.113.11
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.113.
|
|
26
|
+
version: 0.113.11
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: byebug
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|