dependabot-linguist 0.212.0 → 0.212.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +27 -0
  4. data/dependabot-linguist.gemspec +1 -1
  5. data/lib/dependabot/linguist/dependabot_file_validator.rb +40 -6
  6. data/lib/dependabot/linguist/version.rb +1 -1
  7. metadata +2 -195
  8. data/smoke-test/README.md +0 -58
  9. data/smoke-test/bundler/Gemfile +0 -9
  10. data/smoke-test/bundler/Gemfile.lock +0 -47
  11. data/smoke-test/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  12. data/smoke-test/cargo/Cargo.lock +0 -90
  13. data/smoke-test/cargo/Cargo.toml +0 -8
  14. data/smoke-test/composer/composer.json +0 -5
  15. data/smoke-test/composer/composer.lock +0 -72
  16. data/smoke-test/composer/vendor/autoload.php +0 -7
  17. data/smoke-test/composer/vendor/composer/ClassLoader.php +0 -445
  18. data/smoke-test/composer/vendor/composer/LICENSE +0 -21
  19. data/smoke-test/composer/vendor/composer/autoload_classmap.php +0 -13
  20. data/smoke-test/composer/vendor/composer/autoload_namespaces.php +0 -9
  21. data/smoke-test/composer/vendor/composer/autoload_psr4.php +0 -9
  22. data/smoke-test/composer/vendor/composer/autoload_real.php +0 -55
  23. data/smoke-test/composer/vendor/composer/autoload_static.php +0 -23
  24. data/smoke-test/composer/vendor/composer/installed.json +0 -57
  25. data/smoke-test/composer/vendor/phpmailer/phpmailer/.gitignore +0 -3
  26. data/smoke-test/composer/vendor/phpmailer/phpmailer/LICENSE +0 -504
  27. data/smoke-test/composer/vendor/phpmailer/phpmailer/README.md +0 -112
  28. data/smoke-test/composer/vendor/phpmailer/phpmailer/changelog.md +0 -530
  29. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.phpmailer.php +0 -2758
  30. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.pop3.php +0 -417
  31. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.smtp.php +0 -1075
  32. data/smoke-test/composer/vendor/phpmailer/phpmailer/composer.json +0 -32
  33. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Callback_function_notes.txt +0 -17
  34. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/DomainKeys_notes.txt +0 -55
  35. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Note_for_SMTP_debugging.txt +0 -23
  36. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/extending.html +0 -148
  37. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/faq.html +0 -67
  38. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/generatedocs.sh +0 -4
  39. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/pop3_article.txt +0 -39
  40. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/use_gmail.txt +0 -44
  41. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/contents.html +0 -20
  42. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer.gif +0 -0
  43. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.gif +0 -0
  44. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/index.html +0 -50
  45. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_db_smtp_basic.php +0 -58
  46. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_advanced.php +0 -30
  47. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_basic.php +0 -41
  48. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_advanced.php +0 -39
  49. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_basic.php +0 -49
  50. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_advanced.php +0 -33
  51. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_basic.php +0 -43
  52. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced.php +0 -42
  53. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced_no_auth.php +0 -36
  54. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic.php +0 -58
  55. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic_no_auth.php +0 -53
  56. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_advanced.php +0 -42
  57. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_basic.php +0 -59
  58. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/class.html2text.inc +0 -489
  59. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/htmlfilter.php +0 -861
  60. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/ntlm_sasl_client.php +0 -185
  61. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php +0 -26
  62. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-br.php +0 -25
  63. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +0 -25
  64. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php +0 -25
  65. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-cz.php +0 -24
  66. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +0 -24
  67. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-dk.php +0 -25
  68. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php +0 -25
  69. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +0 -25
  70. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +0 -26
  71. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php +0 -26
  72. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +0 -24
  73. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +0 -24
  74. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +0 -26
  75. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +0 -25
  76. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php +0 -24
  77. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-no.php +0 -24
  78. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +0 -24
  79. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +0 -26
  80. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +0 -24
  81. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-se.php +0 -25
  82. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +0 -25
  83. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +0 -26
  84. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +0 -25
  85. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +0 -25
  86. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/contents.html +0 -10
  87. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/phpmailerTest.php +0 -1084
  88. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test.png +0 -0
  89. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test_callback.php +0 -84
  90. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/testemail.php +0 -48
  91. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/LGPLv3.txt +0 -165
  92. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/contents.html +0 -14
  93. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/aikido.gif +0 -0
  94. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/bkgrnd.gif +0 -0
  95. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/phpmailer.gif +0 -0
  96. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/index.php +0 -427
  97. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/clipboard.swf +0 -0
  98. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushBash.js +0 -59
  99. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCSharp.js +0 -64
  100. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCpp.js +0 -99
  101. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCss.js +0 -93
  102. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDelphi.js +0 -57
  103. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDiff.js +0 -43
  104. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushGroovy.js +0 -69
  105. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJScript.js +0 -51
  106. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJava.js +0 -55
  107. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPerl.js +0 -74
  108. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPhp.js +0 -91
  109. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPlain.js +0 -35
  110. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPython.js +0 -56
  111. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushRuby.js +0 -57
  112. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushScala.js +0 -53
  113. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushSql.js +0 -68
  114. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushVb.js +0 -58
  115. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushXml.js +0 -71
  116. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shCore.js +0 -30
  117. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shLegacy.js +0 -30
  118. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shCore.js +0 -1949
  119. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shLegacy.js +0 -172
  120. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/help.png +0 -0
  121. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/magnifier.png +0 -0
  122. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_code.png +0 -0
  123. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_copy.png +0 -0
  124. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/printer.png +0 -0
  125. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shCore.css +0 -321
  126. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDefault.css +0 -191
  127. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDjango.css +0 -193
  128. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeEmacs.css +0 -192
  129. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeFadeToGrey.css +0 -193
  130. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeMidnight.css +0 -192
  131. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeRDark.css +0 -192
  132. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/wrapping.png +0 -0
  133. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/test.html +0 -46
  134. data/smoke-test/dependabot-file/no-config/.github/TARGET.yaml +0 -14
  135. data/smoke-test/dependabot-file/no-config/bundler/Gemfile +0 -9
  136. data/smoke-test/dependabot-file/no-config/bundler/Gemfile.lock +0 -47
  137. data/smoke-test/dependabot-file/no-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  138. data/smoke-test/dependabot-file/no-config/cargo/Cargo.lock +0 -90
  139. data/smoke-test/dependabot-file/no-config/cargo/Cargo.toml +0 -8
  140. data/smoke-test/dependabot-file/no-config/composer/composer.json +0 -5
  141. data/smoke-test/dependabot-file/no-config/composer/composer.lock +0 -72
  142. data/smoke-test/dependabot-file/over-config/.github/TARGET.yaml +0 -17
  143. data/smoke-test/dependabot-file/over-config/.github/dependabot.yaml +0 -12
  144. data/smoke-test/dependabot-file/over-config/bundler/Gemfile +0 -9
  145. data/smoke-test/dependabot-file/over-config/bundler/Gemfile.lock +0 -47
  146. data/smoke-test/dependabot-file/over-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  147. data/smoke-test/dependabot-file/over-config/cargo/Cargo.lock +0 -90
  148. data/smoke-test/dependabot-file/over-config/cargo/Cargo.toml +0 -8
  149. data/smoke-test/dependabot-file/over-config/composer/composer.json +0 -5
  150. data/smoke-test/dependabot-file/over-config/composer/composer.lock +0 -72
  151. data/smoke-test/dependabot-file/overer-config/.github/TARGET.yaml +0 -19
  152. data/smoke-test/dependabot-file/overer-config/.github/dependabot.yaml +0 -12
  153. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile +0 -9
  154. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile.lock +0 -47
  155. data/smoke-test/dependabot-file/overer-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  156. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.lock +0 -90
  157. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.toml +0 -8
  158. data/smoke-test/dependabot-file/overer-config/composer/composer.json +0 -5
  159. data/smoke-test/dependabot-file/overer-config/composer/composer.lock +0 -72
  160. data/smoke-test/dependabot-file/partial-config/.github/TARGET.yaml +0 -17
  161. data/smoke-test/dependabot-file/partial-config/.github/dependabot.yaml +0 -7
  162. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile +0 -9
  163. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile.lock +0 -47
  164. data/smoke-test/dependabot-file/partial-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  165. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.lock +0 -90
  166. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.toml +0 -8
  167. data/smoke-test/dependabot-file/partial-config/composer/composer.json +0 -5
  168. data/smoke-test/dependabot-file/partial-config/composer/composer.lock +0 -72
  169. data/smoke-test/docker/Dockerfile +0 -19
  170. data/smoke-test/elm/elm-package.json +0 -15
  171. data/smoke-test/elm/elm.json +0 -31
  172. data/smoke-test/github-actions/both/.github/workflows/this.yaml +0 -11
  173. data/smoke-test/github-actions/both/yaml/action.yml +0 -13
  174. data/smoke-test/github-actions/invalid/invalid_file.yaml +0 -0
  175. data/smoke-test/github-actions/workflow/.github/workflows/this.yaml +0 -11
  176. data/smoke-test/github-actions/yaml/action.yml +0 -13
  177. data/smoke-test/gitsubmodule/.gitmodules +0 -4
  178. data/smoke-test/gomod/go.mod +0 -16
  179. data/smoke-test/gomod/go.sum +0 -18
  180. data/smoke-test/gomod/gomain.go +0 -14
  181. data/smoke-test/gradle/.gitignore +0 -1
  182. data/smoke-test/gradle/build.gradle +0 -65
  183. data/smoke-test/maven/pom.xml +0 -65
  184. data/smoke-test/mix/mix.exs +0 -24
  185. data/smoke-test/mix/mix.lock +0 -5
  186. data/smoke-test/npm/package-lock.json +0 -166
  187. data/smoke-test/npm/package.json +0 -22
  188. data/smoke-test/npm/removed/package-lock.json +0 -44
  189. data/smoke-test/npm/removed/package.json +0 -15
  190. data/smoke-test/nuget/project.csproj +0 -14
  191. data/smoke-test/pip/pip/requirements.txt +0 -5
  192. data/smoke-test/pip/pip-compile/requirements.in +0 -2
  193. data/smoke-test/pip/pip-compile/requirements.txt +0 -16
  194. data/smoke-test/pip/pipenv/Pipfile +0 -13
  195. data/smoke-test/pip/pipenv/Pipfile.lock +0 -86
  196. data/smoke-test/pip/poetry/poetry.lock +0 -33
  197. data/smoke-test/pip/poetry/pyproject.toml +0 -18
  198. data/smoke-test/pub/pubspec.lock +0 -40
  199. data/smoke-test/pub/pubspec.yaml +0 -10
  200. data/smoke-test/terraform/main.tf +0 -143
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d36ddf66e8b3df3386480112b36a1dedf8ea46b8e6515fbf5b2b832e625f978
4
- data.tar.gz: ccda911662b9b8d881f355311184ddee56dd80d054a30cb1020c042efe41aa60
3
+ metadata.gz: f6e4b9d290d48ec36257a2fa25074269e76f9604f8683d6d3883c8dc190c0365
4
+ data.tar.gz: 2de3d9561c2630dcf5d14f8f6340a7c8c9077d5962b4bd72efe7fa467a8db4bb
5
5
  SHA512:
6
- metadata.gz: c996ab6a966d9aba1bc4e82135682c2977dfcc13a29f48c13cde1d1d13d58f6067eb6399705380a7f0564a9fd35d1a87a31e447ec068e377b32cbd03a3f78f47
7
- data.tar.gz: 72285cb9735d6ca150d267f0537c2c901eb277a4464343a1f832990cc0de34eba84a6caab685e32bff978fe9e59b881d15303566ae0d31438c2bf76f44d6725c
6
+ metadata.gz: 703ba177b6cbcd215ebd918313d58f79d22f25fa62dcba0c698cd83ec0b481906922f718c8498034b71a2f9fd54c76dd5b94ae0f28b3daae4ddd38a692f38b22
7
+ data.tar.gz: 190889bc78fc791ff520538c397ff5b8f4f7c451903300ac6e309226d2204a2e2f7de97f64653c717425959ce31c202ec0b9ad219495206642853414206fed3a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dependabot-linguist (0.212.0)
4
+ dependabot-linguist (0.212.1)
5
5
  dependabot-omnibus (= 0.212.0)
6
6
  github-linguist (= 7.23.0)
7
7
  rugged (~> 1.5.0)
@@ -18,11 +18,11 @@ GEM
18
18
  public_suffix (>= 2.0.2, < 6.0)
19
19
  ast (2.4.2)
20
20
  aws-eventstream (1.2.0)
21
- aws-partitions (1.665.0)
21
+ aws-partitions (1.668.0)
22
22
  aws-sdk-codecommit (1.52.0)
23
23
  aws-sdk-core (~> 3, >= 3.165.0)
24
24
  aws-sigv4 (~> 1.1)
25
- aws-sdk-core (3.168.1)
25
+ aws-sdk-core (3.168.2)
26
26
  aws-eventstream (~> 1, >= 1.0.2)
27
27
  aws-partitions (~> 1, >= 1.651.0)
28
28
  aws-sigv4 (~> 1.5)
@@ -32,7 +32,7 @@ GEM
32
32
  aws-sigv4 (~> 1.1)
33
33
  aws-sigv4 (1.5.2)
34
34
  aws-eventstream (~> 1, >= 1.0.2)
35
- cgi (0.3.5)
35
+ cgi (0.3.6)
36
36
  charlock_holmes (0.7.7)
37
37
  citrus (3.0.2)
38
38
  commonmarker (0.23.6)
@@ -129,7 +129,7 @@ GEM
129
129
  multi_xml (>= 0.5.2)
130
130
  i18n (1.12.0)
131
131
  concurrent-ruby (~> 1.0)
132
- jmespath (1.6.1)
132
+ jmespath (1.6.2)
133
133
  json (2.6.2)
134
134
  mime-types (3.4.1)
135
135
  mime-types-data (~> 3.2015)
@@ -159,7 +159,7 @@ GEM
159
159
  rake (13.0.6)
160
160
  rdoc (6.4.0)
161
161
  psych (>= 4.0.0)
162
- regexp_parser (2.6.0)
162
+ regexp_parser (2.6.1)
163
163
  rest-client (2.1.0)
164
164
  http-accept (>= 1.7.0, < 2.0)
165
165
  http-cookie (>= 1.0.2, < 2.0)
@@ -179,7 +179,7 @@ GEM
179
179
  diff-lcs (>= 1.2.0, < 2.0)
180
180
  rspec-support (~> 3.12.0)
181
181
  rspec-support (3.12.0)
182
- rubocop (1.38.0)
182
+ rubocop (1.39.0)
183
183
  json (~> 2.3)
184
184
  parallel (~> 1.10)
185
185
  parser (>= 3.1.2.1)
data/README.md CHANGED
@@ -30,8 +30,14 @@ source "https://rubygems.pkg.github.com/skenvy" do
30
30
  gem "dependabot-linguist", ">= 0.212.0"
31
31
  end
32
32
  ```
33
+ ### Setup external CLIs
34
+ If you intend to use `::Dependabot::Linguist::DependabotFileValidator.commit_new_config`, you'll need to also setup the [`gh`](https://cli.github.com/manual/) CLI. You can follow instructions on [cli/cli](https://github.com/cli/cli) to install it, which for the intended use case should be [this guide](https://github.com/cli/cli/blob/trunk/docs/install_linux.md). Once you've installed it, [you'll need to log in](https://cli.github.com/manual/gh_auth_login) prior to running this script, as the credentials are expected to already be in place.
35
+
36
+ It also expects `git` to be installed and credentialed, for pushing the branch.
33
37
  ## Usage
34
38
  The two main classes this provides, `::Dependabot::Linguist::Repository` and `::Dependabot::Linguist::DependabotFileValidator`, can be utilised independently, although the intention is that they be utilised together; to discover the contents of a repository that should be watched with a dependabot file by `Repository`, and subsequently using `DependabotFileValidator` to edit an existing, or add a new, dependabot file to watch the directories that were validated earlier. There is also a CLI tool, `dependabot-linguist`, that wraps these classes and surfaces all the available options to them, although adding automated tests for the executable is still a `#TODO`.
39
+
40
+ The intended end goal is to use this to automatically raise a PR on GitHub with the recommended changes to the `~/.github/dependabot.y[a]ml` file. This is performed by `::Dependabot::Linguist::DependabotFileValidator.commit_new_config`, which utilises Ruby's `Kernel` to run commands in an external shell that perform actions using the `gh` cli, and `git`. If you intend to use these you'll want to follow [Setup external CLIs](https://github.com/Skenvy/dependabot-linguist#setup-external-clis).
35
41
  ### Use the classes in a ruby script, with defaults
36
42
  ```ruby
37
43
  require "dependabot/linguist"
@@ -51,6 +57,7 @@ require "dependabot/linguist"
51
57
  @validator.commit_new_config
52
58
  ```
53
59
  ### Use the CLI
60
+ If you installed this with **bundler**, you'll need to preface these with `bundle exec`.
54
61
  ```bash
55
62
  # With no flags, it'll run "here", and print out the recommended new config.
56
63
  dependabot-linguist
@@ -60,6 +67,26 @@ dependabot-linguist ../../some/other/repo -w
60
67
  # You can also specify a name, which will be required if there isn't a "origin" remote.
61
68
  dependabot-linguist ../../some/other/repo Username/Reponame -x
62
69
  ```
70
+ ### Configure
71
+ A yaml config file can be placed at `~/.github/.dependabot-linguist`. See this [example](https://github.com/Skenvy/dependabot-linguist/blob/main/.github/.dependabot-linguist). Although it's a dotfile, it'll be read by rugged, so for it to be utilised it should be checked in. The options available to this configuration file currently are;
72
+ #### `ignore`
73
+ The below options, `directory` and `ecosystem` are not mutually exclusive, and can be mixed, according to what top level catagorisation requires less verbose configuration, if you want to ignore many directories for one or two ecosystems, or many ecosystems for one or two directories!
74
+ ##### `directory`
75
+ To ignore some ecosystems per directory, you can add
76
+ ```yaml
77
+ ignore:
78
+ directory:
79
+ /path/to/somewhere:
80
+ - some_ecosystem
81
+ ```
82
+ ##### `ecosystem`
83
+ To ignore some directories per ecosystem, you can add
84
+ ```yaml
85
+ ignore:
86
+ ecosystem:
87
+ some_other_ecosystem:
88
+ - /path/to/somewhere_else
89
+ ```
63
90
  ## [RDoc generated docs](https://skenvy.github.io/dependabot-linguist/)
64
91
  ## Developing
65
92
  ### The first time setup
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
  spec.files = Dir.chdir(__dir__) do
21
21
  `git ls-files -z`.split("\x0").reject do |f|
22
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
22
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features|smoke-test)/|\.(?:git|travis|circleci)|appveyor)})
23
23
  end
24
24
  end
25
25
  spec.bindir = "exe"
@@ -23,17 +23,21 @@ module Dependabot
23
23
 
24
24
  YML_FILE_PATH = ".github/dependabot.yml"
25
25
 
26
+ CONFIG_FILE_PATH = ".github/.dependabot-linguist"
27
+
28
+ # rubocop:disable Layout/IndentationWidth, Layout/ElseAlignment, Layout/EndAlignment
29
+
26
30
  def dependabot_file_path
27
31
  @dependabot_file_path ||= if @repo.blob_at(@repo.head.target_id, YML_FILE_PATH)
28
32
  # the yml extension is preferred by GitHub, so even though this
29
33
  # returns the same as the `else`, check it before YAML.
30
- YML_FILE_PATH # rubocop:disable Layout/IndentationWidth
31
- elsif @repo.blob_at(@repo.head.target_id, YAML_FILE_PATH) # rubocop:disable Layout/ElseAlignment
34
+ YML_FILE_PATH
35
+ elsif @repo.blob_at(@repo.head.target_id, YAML_FILE_PATH)
32
36
  YAML_FILE_PATH
33
- else # rubocop:disable Layout/ElseAlignment
37
+ else
34
38
  @existing_config = { "version" => 2, "updates" => [] }
35
39
  YML_FILE_PATH
36
- end # rubocop:disable Layout/EndAlignment
40
+ end
37
41
  end
38
42
 
39
43
  def existing_config
@@ -42,6 +46,33 @@ module Dependabot
42
46
  @existing_config ||= YAML.safe_load(@repo.blob_at(@repo.head.target_id, dependabot_file_path).content)
43
47
  end
44
48
 
49
+ def meta_config
50
+ @meta_config ||= if @repo.blob_at(@repo.head.target_id, CONFIG_FILE_PATH)
51
+ YAML.safe_load(@repo.blob_at(@repo.head.target_id, CONFIG_FILE_PATH).content)
52
+ else
53
+ {}
54
+ end
55
+ end
56
+
57
+ # rubocop:enable Layout/IndentationWidth, Layout/ElseAlignment, Layout/EndAlignment
58
+
59
+ # Is a yaml config file exists that looks like
60
+ #
61
+ # ignore:
62
+ # directory:
63
+ # /path/to/somewhere:
64
+ # - some_ecosystem
65
+ # ecosystem:
66
+ # some_other_ecosystem:
67
+ # - /path/to/somewhere_else
68
+ #
69
+ # then both (some_ecosystem, "/path/to/somewhere") and
70
+ # (some_other_ecosystem, "/path/to/somewhere_else")
71
+ # should be "ignored" by this system.
72
+ def ecodir_is_ignored(eco, dir)
73
+ ((((meta_config["ignore"] || {})["directory"] || {})[dir] || []).any? eco) || ((((meta_config["ignore"] || {})["ecosystem"] || {})[eco] || []).any? dir)
74
+ end
75
+
45
76
  def confirm_config_version_is_valid
46
77
  raise StandardError("The existing config has a version other than 2") unless existing_config["version"] == 2
47
78
  end
@@ -83,6 +114,7 @@ module Dependabot
83
114
  this[ConfigDriftStatus::UNDISCOVERED] = []
84
115
  this.freeze
85
116
  ecodir_list.each do |checking_ecodir|
117
+ next if ecodir_is_ignored(checking_ecodir[0], checking_ecodir[1])
86
118
  if !existing_config.empty? && !existing_config["updates"].nil?
87
119
  existed_ecodir = nil
88
120
  existing_config["updates"].each do |existing_ecodir|
@@ -105,6 +137,7 @@ module Dependabot
105
137
  existing_config["updates"].each do |existing_ecodir|
106
138
  existed_ecodir = nil
107
139
  ecodir_list.each do |checking_ecodir|
140
+ break if ecodir_is_ignored(checking_ecodir[0], checking_ecodir[1])
108
141
  existed_ecodir = checking_ecodir if self.class.checking_exists(checking_ecodir, existing_ecodir)
109
142
  break unless existed_ecodir.nil?
110
143
  end
@@ -128,7 +161,7 @@ module Dependabot
128
161
 
129
162
  def new_config
130
163
  confirm_config_version_is_valid
131
- @new_config ||= existing_config.clone.tap do |this|
164
+ @new_config ||= YAML.safe_load(existing_config.to_yaml).tap do |this|
132
165
  this["updates"] = [] if this["updates"].nil?
133
166
  # If "remove_undiscovered" is set, then set this to reject any
134
167
  # updates that are in the list of those undiscovered. Removing
@@ -178,8 +211,9 @@ module Dependabot
178
211
  # credentials being provided to this class.
179
212
  def commit_new_config
180
213
  new_branch = @repo.create_branch("dependabot-linguist_auto-config-update")
214
+ in_repo = "cd #{@repo.path.delete_suffix("/.git/")} &&"
215
+ `#{"#{in_repo} git checkout #{new_branch.name}"}`
181
216
  write_new_config
182
- in_repo = "cd #{@repo.path} &&"
183
217
  `#{"#{in_repo} git add #{dependabot_file_path}"}`
184
218
  `#{"#{in_repo} git commit -m \"Auto update #{dependabot_file_path} -- dependabot-linguist\""}`
185
219
  `#{"#{in_repo} git push --set-upstream #{@repo.remotes["origin"].name} #{new_branch.name}"}`
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dependabot
4
4
  module Linguist
5
- VERSION = "0.212.0"
5
+ VERSION = "0.212.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-linguist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.212.0
4
+ version: 0.212.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Levett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-24 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rugged
@@ -150,199 +150,6 @@ files:
150
150
  - lib/dependabot/linguist/linguist_patch.rb
151
151
  - lib/dependabot/linguist/repository.rb
152
152
  - lib/dependabot/linguist/version.rb
153
- - smoke-test/README.md
154
- - smoke-test/bundler/Gemfile
155
- - smoke-test/bundler/Gemfile.lock
156
- - smoke-test/bundler/dependabot-all-updates-test-staging.gemspec
157
- - smoke-test/cargo/Cargo.lock
158
- - smoke-test/cargo/Cargo.toml
159
- - smoke-test/composer/composer.json
160
- - smoke-test/composer/composer.lock
161
- - smoke-test/composer/vendor/autoload.php
162
- - smoke-test/composer/vendor/composer/ClassLoader.php
163
- - smoke-test/composer/vendor/composer/LICENSE
164
- - smoke-test/composer/vendor/composer/autoload_classmap.php
165
- - smoke-test/composer/vendor/composer/autoload_namespaces.php
166
- - smoke-test/composer/vendor/composer/autoload_psr4.php
167
- - smoke-test/composer/vendor/composer/autoload_real.php
168
- - smoke-test/composer/vendor/composer/autoload_static.php
169
- - smoke-test/composer/vendor/composer/installed.json
170
- - smoke-test/composer/vendor/phpmailer/phpmailer/.gitignore
171
- - smoke-test/composer/vendor/phpmailer/phpmailer/LICENSE
172
- - smoke-test/composer/vendor/phpmailer/phpmailer/README.md
173
- - smoke-test/composer/vendor/phpmailer/phpmailer/changelog.md
174
- - smoke-test/composer/vendor/phpmailer/phpmailer/class.phpmailer.php
175
- - smoke-test/composer/vendor/phpmailer/phpmailer/class.pop3.php
176
- - smoke-test/composer/vendor/phpmailer/phpmailer/class.smtp.php
177
- - smoke-test/composer/vendor/phpmailer/phpmailer/composer.json
178
- - smoke-test/composer/vendor/phpmailer/phpmailer/docs/Callback_function_notes.txt
179
- - smoke-test/composer/vendor/phpmailer/phpmailer/docs/DomainKeys_notes.txt
180
- - smoke-test/composer/vendor/phpmailer/phpmailer/docs/Note_for_SMTP_debugging.txt
181
- - smoke-test/composer/vendor/phpmailer/phpmailer/docs/extending.html
182
- - smoke-test/composer/vendor/phpmailer/phpmailer/docs/faq.html
183
- - smoke-test/composer/vendor/phpmailer/phpmailer/docs/generatedocs.sh
184
- - smoke-test/composer/vendor/phpmailer/phpmailer/docs/pop3_article.txt
185
- - smoke-test/composer/vendor/phpmailer/phpmailer/docs/use_gmail.txt
186
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/contents.html
187
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer.gif
188
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.gif
189
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/index.html
190
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_db_smtp_basic.php
191
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_advanced.php
192
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_basic.php
193
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_advanced.php
194
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_basic.php
195
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_advanced.php
196
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_basic.php
197
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced.php
198
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced_no_auth.php
199
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic.php
200
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic_no_auth.php
201
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_advanced.php
202
- - smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_basic.php
203
- - smoke-test/composer/vendor/phpmailer/phpmailer/extras/class.html2text.inc
204
- - smoke-test/composer/vendor/phpmailer/phpmailer/extras/htmlfilter.php
205
- - smoke-test/composer/vendor/phpmailer/phpmailer/extras/ntlm_sasl_client.php
206
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php
207
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-br.php
208
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php
209
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php
210
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-cz.php
211
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php
212
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-dk.php
213
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php
214
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php
215
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php
216
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php
217
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php
218
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php
219
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php
220
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php
221
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php
222
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-no.php
223
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php
224
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php
225
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php
226
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-se.php
227
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php
228
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php
229
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php
230
- - smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php
231
- - smoke-test/composer/vendor/phpmailer/phpmailer/test/contents.html
232
- - smoke-test/composer/vendor/phpmailer/phpmailer/test/phpmailerTest.php
233
- - smoke-test/composer/vendor/phpmailer/phpmailer/test/test.png
234
- - smoke-test/composer/vendor/phpmailer/phpmailer/test/test_callback.php
235
- - smoke-test/composer/vendor/phpmailer/phpmailer/test/testemail.php
236
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/LGPLv3.txt
237
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/contents.html
238
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/aikido.gif
239
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/bkgrnd.gif
240
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/phpmailer.gif
241
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/index.php
242
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/clipboard.swf
243
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushBash.js
244
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCSharp.js
245
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCpp.js
246
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCss.js
247
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDelphi.js
248
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDiff.js
249
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushGroovy.js
250
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJScript.js
251
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJava.js
252
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPerl.js
253
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPhp.js
254
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPlain.js
255
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPython.js
256
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushRuby.js
257
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushScala.js
258
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushSql.js
259
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushVb.js
260
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushXml.js
261
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shCore.js
262
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shLegacy.js
263
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shCore.js
264
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shLegacy.js
265
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/help.png
266
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/magnifier.png
267
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_code.png
268
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_copy.png
269
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/printer.png
270
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shCore.css
271
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDefault.css
272
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDjango.css
273
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeEmacs.css
274
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeFadeToGrey.css
275
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeMidnight.css
276
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeRDark.css
277
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/wrapping.png
278
- - smoke-test/composer/vendor/phpmailer/phpmailer/test_script/test.html
279
- - smoke-test/dependabot-file/no-config/.github/TARGET.yaml
280
- - smoke-test/dependabot-file/no-config/bundler/Gemfile
281
- - smoke-test/dependabot-file/no-config/bundler/Gemfile.lock
282
- - smoke-test/dependabot-file/no-config/bundler/dependabot-all-updates-test-staging.gemspec
283
- - smoke-test/dependabot-file/no-config/cargo/Cargo.lock
284
- - smoke-test/dependabot-file/no-config/cargo/Cargo.toml
285
- - smoke-test/dependabot-file/no-config/composer/composer.json
286
- - smoke-test/dependabot-file/no-config/composer/composer.lock
287
- - smoke-test/dependabot-file/over-config/.github/TARGET.yaml
288
- - smoke-test/dependabot-file/over-config/.github/dependabot.yaml
289
- - smoke-test/dependabot-file/over-config/bundler/Gemfile
290
- - smoke-test/dependabot-file/over-config/bundler/Gemfile.lock
291
- - smoke-test/dependabot-file/over-config/bundler/dependabot-all-updates-test-staging.gemspec
292
- - smoke-test/dependabot-file/over-config/cargo/Cargo.lock
293
- - smoke-test/dependabot-file/over-config/cargo/Cargo.toml
294
- - smoke-test/dependabot-file/over-config/composer/composer.json
295
- - smoke-test/dependabot-file/over-config/composer/composer.lock
296
- - smoke-test/dependabot-file/overer-config/.github/TARGET.yaml
297
- - smoke-test/dependabot-file/overer-config/.github/dependabot.yaml
298
- - smoke-test/dependabot-file/overer-config/bundler/Gemfile
299
- - smoke-test/dependabot-file/overer-config/bundler/Gemfile.lock
300
- - smoke-test/dependabot-file/overer-config/bundler/dependabot-all-updates-test-staging.gemspec
301
- - smoke-test/dependabot-file/overer-config/cargo/Cargo.lock
302
- - smoke-test/dependabot-file/overer-config/cargo/Cargo.toml
303
- - smoke-test/dependabot-file/overer-config/composer/composer.json
304
- - smoke-test/dependabot-file/overer-config/composer/composer.lock
305
- - smoke-test/dependabot-file/partial-config/.github/TARGET.yaml
306
- - smoke-test/dependabot-file/partial-config/.github/dependabot.yaml
307
- - smoke-test/dependabot-file/partial-config/bundler/Gemfile
308
- - smoke-test/dependabot-file/partial-config/bundler/Gemfile.lock
309
- - smoke-test/dependabot-file/partial-config/bundler/dependabot-all-updates-test-staging.gemspec
310
- - smoke-test/dependabot-file/partial-config/cargo/Cargo.lock
311
- - smoke-test/dependabot-file/partial-config/cargo/Cargo.toml
312
- - smoke-test/dependabot-file/partial-config/composer/composer.json
313
- - smoke-test/dependabot-file/partial-config/composer/composer.lock
314
- - smoke-test/docker/Dockerfile
315
- - smoke-test/elm/elm-package.json
316
- - smoke-test/elm/elm.json
317
- - smoke-test/github-actions/both/.github/workflows/this.yaml
318
- - smoke-test/github-actions/both/yaml/action.yml
319
- - smoke-test/github-actions/invalid/invalid_file.yaml
320
- - smoke-test/github-actions/workflow/.github/workflows/this.yaml
321
- - smoke-test/github-actions/yaml/action.yml
322
- - smoke-test/gitsubmodule/.gitmodules
323
- - smoke-test/gomod/go.mod
324
- - smoke-test/gomod/go.sum
325
- - smoke-test/gomod/gomain.go
326
- - smoke-test/gradle/.gitignore
327
- - smoke-test/gradle/build.gradle
328
- - smoke-test/maven/pom.xml
329
- - smoke-test/mix/mix.exs
330
- - smoke-test/mix/mix.lock
331
- - smoke-test/npm/package-lock.json
332
- - smoke-test/npm/package.json
333
- - smoke-test/npm/removed/package-lock.json
334
- - smoke-test/npm/removed/package.json
335
- - smoke-test/nuget/project.csproj
336
- - smoke-test/pip/pip-compile/requirements.in
337
- - smoke-test/pip/pip-compile/requirements.txt
338
- - smoke-test/pip/pip/requirements.txt
339
- - smoke-test/pip/pipenv/Pipfile
340
- - smoke-test/pip/pipenv/Pipfile.lock
341
- - smoke-test/pip/poetry/poetry.lock
342
- - smoke-test/pip/poetry/pyproject.toml
343
- - smoke-test/pub/pubspec.lock
344
- - smoke-test/pub/pubspec.yaml
345
- - smoke-test/terraform/main.tf
346
153
  homepage: https://skenvy.github.io/dependabot-linguist
347
154
  licenses:
348
155
  - GPL-3.0-only
data/smoke-test/README.md DELETED
@@ -1,58 +0,0 @@
1
- # Dependabot smoke testing files
2
- This `<repo>/smoke-test` directory is essentially equivalent to a clone of the [`dependabot/smoke-tests`](https://github.com/dependabot/smoke-tests) repository. Disclaimer that the `dependabot/smoke-tests` does **not** appear to have any license permitting this to be copied here, yet even if there were, many of the [tests](https://github.com/dependabot/smoke-tests/tree/0e13b71e2d17c7e570448f0696390c6239c1c089/tests) whose files need to be duplicated to replicate the same test, are using old commits, that wouldn't retroactively receive any license if one was added subsequently. I'm relying on the good faith that it absorbs the licensing of the repositories it tests, notably [`dependabot/cli`'s MIT license](https://github.com/dependabot/cli/blob/main/LICENSE) (which comes with `Copyright 2022 GitHub, Inc.`) and [`dependabot/dependabot-core`'s Properity license](https://github.com/dependabot/dependabot-core/blob/main/LICENSE) (which comes with `Contributor: GitHub Inc.`, and has other components duplicated in the gem of this repository, under [this repository's GPLv3 license](https://github.com/Skenvy/dependabot-linguist/blob/main/LICENSE) with a copy of [`dependabot/dependabot-core`'s Properity license](https://github.com/Skenvy/dependabot-linguist/blob/main/LICENSE.dependabot-core)). The most direct assertion of the right to utilise the [`dependabot/smoke-tests`](https://github.com/dependabot/smoke-tests) is exclusively the sentence "You're welcome to use this repo to test Dependabot functionality." from [the README](https://github.com/dependabot/smoke-tests/blob/006edd50f2d8789fea79e7413d15a9ed0348b17d/README.md). I'm hoping this exhaustive attribution is enough while I wait for a result to [asking them to add a license](https://github.com/dependabot/smoke-tests/issues/17).
3
-
4
- The previous commits that [the current set of smoke tests](https://github.com/dependabot/smoke-tests/tree/0e13b71e2d17c7e570448f0696390c6239c1c089/tests) use, are:
5
- * [8b2c0d821028c531826db20ca22cffdd2cc05abf](https://github.com/dependabot/smoke-tests/tree/8b2c0d821028c531826db20ca22cffdd2cc05abf)
6
- * [github_actions](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-actions.yaml#L14)
7
- * [/actions]()
8
- * [pub](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-pub.yaml#L26)
9
- * [/pub]()
10
- * [terraform](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-terraform.yaml#L23)
11
- * [/terraform]()
12
- * [832e37c1a7a4ef89feb9dc7cfa06f62205191994](https://github.com/dependabot/smoke-tests/tree/832e37c1a7a4ef89feb9dc7cfa06f62205191994)
13
- * [bundler](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-bundler.yaml#L18)
14
- * [/]()
15
- * [cargo](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-cargo.yaml#L23)
16
- * [/]()
17
- * [docker](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-docker.yaml#L14)
18
- * [/]()
19
- * [elm](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-elm.yaml#L26)
20
- * [/]()
21
- * [hex](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-hex.yaml#L17)
22
- * [/]()
23
- * [maven](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-maven.yaml#L14)
24
- * [/]()
25
- * [npm_and_yarn](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-npm.yaml#L14)
26
- * [/]()
27
- * [nuget](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-nuget.yaml#L14)
28
- * [/nuget]()
29
- * [pip](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-pip-compile.yaml#L13)
30
- * [/pip-compile]()
31
- * [pip](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-pip.yaml#L15)
32
- * [/pip]()
33
- * [pip](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-pipenv.yaml#L13)
34
- * [/pipenv]()
35
- * [pip](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-poetry.yaml#L14)
36
- * [/poetry]()
37
- * [bb98f0c3489713c240ccc1f1800008d4f0844dfd](https://github.com/dependabot/smoke-tests/tree/bb98f0c3489713c240ccc1f1800008d4f0844dfd)
38
- * [composer](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-composer.yaml#L14)
39
- * [/composer]()
40
- * [941c9223edd97d233737435a404d038a4bc846c4](https://github.com/dependabot/smoke-tests/tree/941c9223edd97d233737435a404d038a4bc846c4)
41
- * [go_modules](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-go.yaml#L17)
42
- * [/go]()
43
- * [9d77bc7063ed8328a7dbc4fc3b30605530322877](https://github.com/dependabot/smoke-tests/tree/9d77bc7063ed8328a7dbc4fc3b30605530322877)
44
- * [gradle](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-gradle.yaml#L23)
45
- * [/gradle]()
46
- * [4e5e081d77a06dd5092a65e161c1142fbec372bd](https://github.com/dependabot/smoke-tests/tree/4e5e081d77a06dd5092a65e161c1142fbec372bd)
47
- * [npm_and_yarn](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-npm-remove-transitive.yaml#L25)
48
- * [/npm/removed]()
49
- * [d55092e0297999bf4d29725606cfa082b378959a](https://github.com/dependabot/smoke-tests/tree/d55092e0297999bf4d29725606cfa082b378959a)
50
- * [submodules](https://github.com/dependabot/smoke-tests/blob/0e13b71e2d17c7e570448f0696390c6239c1c089/tests/smoke-submodules.yaml#L10)
51
- * [/]()
52
-
53
- The contents are used to test the functionality of **_both_** `linguist` _and_ `dependabot`. The contents don't necessarily need to use the same structure as the earlier commits that the smoke-test repository actually runs it's tests on as our tests are;
54
- 1. For linguist, that it is able to discover the contents of the folders.
55
- 1. That the code here is able to map what linguists discovers to the appropriate dependabot class to attempt to fetch the files with
56
- 1. That the result of running the dependabot classes we've chosen for the folders that linguist found to contain relevant code does result in a list of those ecosystems and the relevant folders in these smoke-test data files.
57
-
58
- The only adjustment that was notable was having to change the contents of the bundler folder to contain a gemspec.
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- gemspec
6
-
7
- gem "rubocop", "0.76.0"
8
- gem "toml-rb", "2.2.0"
9
- gem 'rack', git: 'git@github.com:rack/rack.git', tag: '2.1.4'
@@ -1,47 +0,0 @@
1
- GIT
2
- remote: git@github.com:rack/rack.git
3
- revision: f3cf79d6460dc592767941806d1b2b7008f73e01
4
- tag: 2.1.4
5
- specs:
6
- rack (2.1.4)
7
-
8
- PATH
9
- remote: .
10
- specs:
11
- dependabot-all-updates-test-staging (0.0.0)
12
- netaddr (= 2.0.1)
13
-
14
- GEM
15
- remote: https://rubygems.org/
16
- specs:
17
- ast (2.4.2)
18
- citrus (3.0.2)
19
- jaro_winkler (1.5.4)
20
- netaddr (2.0.1)
21
- parallel (1.22.1)
22
- parser (3.1.2.0)
23
- ast (~> 2.4.1)
24
- rainbow (3.1.1)
25
- rubocop (0.76.0)
26
- jaro_winkler (~> 1.5.1)
27
- parallel (~> 1.10)
28
- parser (>= 2.6)
29
- rainbow (>= 2.2.2, < 4.0)
30
- ruby-progressbar (~> 1.7)
31
- unicode-display_width (>= 1.4.0, < 1.7)
32
- ruby-progressbar (1.11.0)
33
- toml-rb (2.2.0)
34
- citrus (~> 3.0, > 3.0)
35
- unicode-display_width (1.6.1)
36
-
37
- PLATFORMS
38
- ruby
39
-
40
- DEPENDENCIES
41
- dependabot-all-updates-test-staging!
42
- rack!
43
- rubocop (= 0.76.0)
44
- toml-rb (= 2.2.0)
45
-
46
- BUNDLED WITH
47
- 2.1.4
@@ -1,10 +0,0 @@
1
- Gem::Specification.new do |s|
2
- s.name = 'dependabot-all-updates-test-staging'
3
- s.version = '0.0.0'
4
- s.description = "Dependabot test ruby"
5
- s.summary = "dependabot test"
6
- s.authors = ["No Reply"]
7
- s.email = 'noreply@github.com'
8
- s.license = 'MIT'
9
- s.add_runtime_dependency 'netaddr', '= 2.0.1'
10
- end