dependabot-python 0.107.14 → 0.107.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe12fde5ea314cee90e24fb6ee16929efbe41a324f629c4c4a82057d9cd5892e
4
- data.tar.gz: 5b4538cb3c3a3bca197e5bd7115276c390ef69760bf1d864e9c67fee29b28682
3
+ metadata.gz: 5ffebfaceb07f5bf94da0ded93fdda43739fef731ca3b9ff82c7f39fb702fcc7
4
+ data.tar.gz: dd1d31548c650f25fdecf3199288ead3fdee49fa7a19fce57ff2b7d1a728ef39
5
5
  SHA512:
6
- metadata.gz: b6b97cd14de2db09a52d96025c35897898f5543136a727ce6c47e33d72546ab10773f6761cc1dbb28743f4ad8c177ee8a148dd7b78a8655cfbde0e24bae9723a
7
- data.tar.gz: eec7ea3274d7505b5d69ce8a4f03dbae8368e0c1d2e2cde7135eb0a8a99b9cd3e5c7820c045b0d7ed6f24bb47b7be998178aa8cfa0a5818ef5f755fa0a8e5887
6
+ metadata.gz: 2db790058faba2f8d3d67842d642598209380bcc216f257ef0a42d82db3ba100a49c4a1c4a6513aefd6fe44dade4ecb45f2a104da99ceca9a4d591eea54f292e
7
+ data.tar.gz: 6acbe2f5e0a838d1d54100a01683a25348da08289206db9c93e61a9098f3732e58cd77ad0e8aa8341a0559b0df19b1fd6b43e7f2effbedc3f05adcbf1cae8eae
@@ -23,6 +23,9 @@ module Dependabot
23
23
  GIT_REFERENCE_NOT_FOUND_REGEX =
24
24
  /'git'.*pypoetry-git-(?<name>.+?).{8}','checkout','(?<tag>.+?)'/.
25
25
  freeze
26
+ GIT_DEPENDENCY_UNREACHABLE_REGEX =
27
+ /Command '\['git', 'clone', '(?<url>.+?)'.* exit status 128/.
28
+ freeze
26
29
 
27
30
  attr_reader :dependency, :dependency_files, :credentials
28
31
 
@@ -111,6 +114,12 @@ module Dependabot
111
114
  raise GitDependencyReferenceNotFound, name
112
115
  end
113
116
 
117
+ if error.message.match?(GIT_DEPENDENCY_UNREACHABLE_REGEX)
118
+ url = error.message.match(GIT_DEPENDENCY_UNREACHABLE_REGEX).
119
+ named_captures.fetch("url")
120
+ raise GitDependenciesNotReachable, url
121
+ end
122
+
114
123
  raise unless error.message.include?("SolverProblemError") ||
115
124
  error.message.include?("PackageNotFound")
116
125
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.107.14
4
+ version: 0.107.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.107.14
19
+ version: 0.107.15
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.107.14
26
+ version: 0.107.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement