dependabot-go_modules 0.139.2 → 0.141.0
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: 546201644884b0c6c8c129e5ada1a75a48146ef14a8b1dde7917a417b39ec9f0
|
4
|
+
data.tar.gz: ed393412d74e50a0e0137891c032c7d9476f95152c6a2e3704d53ab2a39755b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 495b642357c5331d3f24d2b47992a4c598106f97ffe0c424fb2efa74528f2d5ae545adf8b99a7caeb05cc37c13f18fa43fb21607393b90381f73cd11ca5e9920
|
7
|
+
data.tar.gz: 4d03706bfda5ccab872ca061433a7d5cbe50497d89351f07fd50dfae1b0cd3f1c15666e6fda84dd35f01697b1823f7e1a9b49607dbdf78901368ac5e6b64ce42
|
@@ -15,12 +15,14 @@ module Dependabot
|
|
15
15
|
ENVIRONMENT = { "GOPRIVATE" => "*" }.freeze
|
16
16
|
|
17
17
|
RESOLVABILITY_ERROR_REGEXES = [
|
18
|
-
# The checksum in go.sum does not match the
|
18
|
+
# The checksum in go.sum does not match the downloaded content
|
19
19
|
/verifying .*: checksum mismatch/.freeze,
|
20
20
|
/go: .*: go.mod has post-v\d+ module path/
|
21
21
|
].freeze
|
22
22
|
|
23
23
|
REPO_RESOLVABILITY_ERROR_REGEXES = [
|
24
|
+
/fatal: The remote end hung up unexpectedly/,
|
25
|
+
/repository '.+' not found/,
|
24
26
|
# (Private) module could not be fetched
|
25
27
|
/go: .*: git fetch .*: exit status 128/.freeze,
|
26
28
|
# (Private) module could not be found
|
@@ -193,8 +195,7 @@ module Dependabot
|
|
193
195
|
end
|
194
196
|
|
195
197
|
def in_repo_path(&block)
|
196
|
-
SharedHelpers.
|
197
|
-
in_a_temporary_repo_directory(directory, repo_contents_path) do
|
198
|
+
SharedHelpers.in_a_temporary_repo_directory(directory, repo_contents_path) do
|
198
199
|
SharedHelpers.with_git_configured(credentials: credentials) do
|
199
200
|
block.call
|
200
201
|
end
|
@@ -292,6 +293,10 @@ module Dependabot
|
|
292
293
|
raise Dependabot::OutOfDisk.new, error_message
|
293
294
|
end
|
294
295
|
|
296
|
+
if (matches = stderr.match(/Authentication failed for '(?<url>.+)'/))
|
297
|
+
raise Dependabot::PrivateSourceAuthenticationFailure, matches[:url]
|
298
|
+
end
|
299
|
+
|
295
300
|
# We don't know what happened so we raise a generic error
|
296
301
|
msg = stderr.lines.last(10).join.strip
|
297
302
|
raise Dependabot::DependabotError, msg
|
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.
|
4
|
+
version: 0.141.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-12 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.
|
19
|
+
version: 0.141.0
|
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.
|
26
|
+
version: 0.141.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|