dependabot-core 0.86.24 → 0.86.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/helpers/php/composer.lock +47 -45
- data/lib/dependabot/pull_request_creator.rb +3 -0
- data/lib/dependabot/pull_request_creator/github.rb +13 -0
- data/lib/dependabot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6e66bf13b402cf7fd7b581515e71ed136d3ca1f69b1e05fac82dc9c7cdda6c4
|
4
|
+
data.tar.gz: 85bf874a2ed62f4793bd5a1ac0d0a8d2e322d6b2bef9d15aa6ed26246a517c0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c099e0bb79b50dfb23128451840afafd868d629c6d4b712d472265afb533c26c288ff32239cf353a55446e5f86dd3f0cccb1d7064ef20c0f911cb1474ded368a
|
7
|
+
data.tar.gz: c9ec5ce9b2ad8e8a619f79a6e141d385144ae373b3134213982debeb698ce4a6c29e41c8ccc0a5cf4f84f80d3795afa98f22af708689e7feb8341edd2ef46a0a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## v0.86.25, 2 January 2019
|
2
|
+
|
3
|
+
- Raise RepoNotFound errors when creating PRs
|
4
|
+
- Merge pull request #875 from dependabot/dependabot/composer/helpers/php/friendsofphp/php-cs-fixer-2.13.2
|
5
|
+
- Bump friendsofphp/php-cs-fixer from 2.13.1 to 2.13.2 in /helpers/php
|
6
|
+
- Python: Don't treat post-releases as pre-releases
|
7
|
+
- Save a couple of lines
|
8
|
+
|
1
9
|
## v0.86.24, 1 January 2019
|
2
10
|
|
3
11
|
- Python: Augment hashes from pip-compile if necessary
|
data/helpers/php/composer.lock
CHANGED
@@ -517,7 +517,7 @@
|
|
517
517
|
},
|
518
518
|
{
|
519
519
|
"name": "symfony/console",
|
520
|
-
"version": "v4.2.
|
520
|
+
"version": "v4.2.1",
|
521
521
|
"source": {
|
522
522
|
"type": "git",
|
523
523
|
"url": "https://github.com/symfony/console.git",
|
@@ -586,16 +586,16 @@
|
|
586
586
|
},
|
587
587
|
{
|
588
588
|
"name": "symfony/contracts",
|
589
|
-
"version": "v1.0.
|
589
|
+
"version": "v1.0.2",
|
590
590
|
"source": {
|
591
591
|
"type": "git",
|
592
592
|
"url": "https://github.com/symfony/contracts.git",
|
593
|
-
"reference": "
|
593
|
+
"reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf"
|
594
594
|
},
|
595
595
|
"dist": {
|
596
596
|
"type": "zip",
|
597
|
-
"url": "https://api.github.com/repos/symfony/contracts/zipball/
|
598
|
-
"reference": "
|
597
|
+
"url": "https://api.github.com/repos/symfony/contracts/zipball/1aa7ab2429c3d594dd70689604b5cf7421254cdf",
|
598
|
+
"reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf",
|
599
599
|
"shasum": ""
|
600
600
|
},
|
601
601
|
"require": {
|
@@ -650,11 +650,11 @@
|
|
650
650
|
"interoperability",
|
651
651
|
"standards"
|
652
652
|
],
|
653
|
-
"time": "2018-
|
653
|
+
"time": "2018-12-05T08:06:11+00:00"
|
654
654
|
},
|
655
655
|
{
|
656
656
|
"name": "symfony/filesystem",
|
657
|
-
"version": "v4.2.
|
657
|
+
"version": "v4.2.1",
|
658
658
|
"source": {
|
659
659
|
"type": "git",
|
660
660
|
"url": "https://github.com/symfony/filesystem.git",
|
@@ -704,7 +704,7 @@
|
|
704
704
|
},
|
705
705
|
{
|
706
706
|
"name": "symfony/finder",
|
707
|
-
"version": "v4.2.
|
707
|
+
"version": "v4.2.1",
|
708
708
|
"source": {
|
709
709
|
"type": "git",
|
710
710
|
"url": "https://github.com/symfony/finder.git",
|
@@ -870,7 +870,7 @@
|
|
870
870
|
},
|
871
871
|
{
|
872
872
|
"name": "symfony/process",
|
873
|
-
"version": "v4.2.
|
873
|
+
"version": "v4.2.1",
|
874
874
|
"source": {
|
875
875
|
"type": "git",
|
876
876
|
"url": "https://github.com/symfony/process.git",
|
@@ -1043,16 +1043,16 @@
|
|
1043
1043
|
},
|
1044
1044
|
{
|
1045
1045
|
"name": "friendsofphp/php-cs-fixer",
|
1046
|
-
"version": "v2.13.
|
1046
|
+
"version": "v2.13.2",
|
1047
1047
|
"source": {
|
1048
1048
|
"type": "git",
|
1049
1049
|
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
|
1050
|
-
"reference": "
|
1050
|
+
"reference": "ce6c4bbc24302f535c7bbf9ad35fbb0be4f5a4b2"
|
1051
1051
|
},
|
1052
1052
|
"dist": {
|
1053
1053
|
"type": "zip",
|
1054
|
-
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/
|
1055
|
-
"reference": "
|
1054
|
+
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/ce6c4bbc24302f535c7bbf9ad35fbb0be4f5a4b2",
|
1055
|
+
"reference": "ce6c4bbc24302f535c7bbf9ad35fbb0be4f5a4b2",
|
1056
1056
|
"shasum": ""
|
1057
1057
|
},
|
1058
1058
|
"require": {
|
@@ -1079,7 +1079,7 @@
|
|
1079
1079
|
"require-dev": {
|
1080
1080
|
"johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0",
|
1081
1081
|
"justinrainbow/json-schema": "^5.0",
|
1082
|
-
"keradus/cli-executor": "^1.
|
1082
|
+
"keradus/cli-executor": "^1.2",
|
1083
1083
|
"mikey179/vfsstream": "^1.6",
|
1084
1084
|
"php-coveralls/php-coveralls": "^2.1",
|
1085
1085
|
"php-cs-fixer/accessible-object": "^1.0",
|
@@ -1130,7 +1130,7 @@
|
|
1130
1130
|
}
|
1131
1131
|
],
|
1132
1132
|
"description": "A tool to automatically fix PHP code style",
|
1133
|
-
"time": "
|
1133
|
+
"time": "2019-01-01T20:26:47+00:00"
|
1134
1134
|
},
|
1135
1135
|
{
|
1136
1136
|
"name": "paragonie/random_compat",
|
@@ -1230,20 +1230,21 @@
|
|
1230
1230
|
},
|
1231
1231
|
{
|
1232
1232
|
"name": "symfony/event-dispatcher",
|
1233
|
-
"version": "v4.1
|
1233
|
+
"version": "v4.2.1",
|
1234
1234
|
"source": {
|
1235
1235
|
"type": "git",
|
1236
1236
|
"url": "https://github.com/symfony/event-dispatcher.git",
|
1237
|
-
"reference": "
|
1237
|
+
"reference": "921f49c3158a276d27c0d770a5a347a3b718b328"
|
1238
1238
|
},
|
1239
1239
|
"dist": {
|
1240
1240
|
"type": "zip",
|
1241
|
-
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/
|
1242
|
-
"reference": "
|
1241
|
+
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/921f49c3158a276d27c0d770a5a347a3b718b328",
|
1242
|
+
"reference": "921f49c3158a276d27c0d770a5a347a3b718b328",
|
1243
1243
|
"shasum": ""
|
1244
1244
|
},
|
1245
1245
|
"require": {
|
1246
|
-
"php": "^7.1.3"
|
1246
|
+
"php": "^7.1.3",
|
1247
|
+
"symfony/contracts": "^1.0"
|
1247
1248
|
},
|
1248
1249
|
"conflict": {
|
1249
1250
|
"symfony/dependency-injection": "<3.4"
|
@@ -1262,7 +1263,7 @@
|
|
1262
1263
|
"type": "library",
|
1263
1264
|
"extra": {
|
1264
1265
|
"branch-alias": {
|
1265
|
-
"dev-master": "4.
|
1266
|
+
"dev-master": "4.2-dev"
|
1266
1267
|
}
|
1267
1268
|
},
|
1268
1269
|
"autoload": {
|
@@ -1289,20 +1290,20 @@
|
|
1289
1290
|
],
|
1290
1291
|
"description": "Symfony EventDispatcher Component",
|
1291
1292
|
"homepage": "https://symfony.com",
|
1292
|
-
"time": "2018-
|
1293
|
+
"time": "2018-12-01T08:52:38+00:00"
|
1293
1294
|
},
|
1294
1295
|
{
|
1295
1296
|
"name": "symfony/options-resolver",
|
1296
|
-
"version": "v4.1
|
1297
|
+
"version": "v4.2.1",
|
1297
1298
|
"source": {
|
1298
1299
|
"type": "git",
|
1299
1300
|
"url": "https://github.com/symfony/options-resolver.git",
|
1300
|
-
"reference": "
|
1301
|
+
"reference": "a9c38e8a3da2c03b3e71fdffa6efb0bda51390ba"
|
1301
1302
|
},
|
1302
1303
|
"dist": {
|
1303
1304
|
"type": "zip",
|
1304
|
-
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/
|
1305
|
-
"reference": "
|
1305
|
+
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/a9c38e8a3da2c03b3e71fdffa6efb0bda51390ba",
|
1306
|
+
"reference": "a9c38e8a3da2c03b3e71fdffa6efb0bda51390ba",
|
1306
1307
|
"shasum": ""
|
1307
1308
|
},
|
1308
1309
|
"require": {
|
@@ -1311,7 +1312,7 @@
|
|
1311
1312
|
"type": "library",
|
1312
1313
|
"extra": {
|
1313
1314
|
"branch-alias": {
|
1314
|
-
"dev-master": "4.
|
1315
|
+
"dev-master": "4.2-dev"
|
1315
1316
|
}
|
1316
1317
|
},
|
1317
1318
|
"autoload": {
|
@@ -1343,20 +1344,20 @@
|
|
1343
1344
|
"configuration",
|
1344
1345
|
"options"
|
1345
1346
|
],
|
1346
|
-
"time": "2018-
|
1347
|
+
"time": "2018-11-11T19:52:12+00:00"
|
1347
1348
|
},
|
1348
1349
|
{
|
1349
1350
|
"name": "symfony/polyfill-php70",
|
1350
|
-
"version": "v1.
|
1351
|
+
"version": "v1.10.0",
|
1351
1352
|
"source": {
|
1352
1353
|
"type": "git",
|
1353
1354
|
"url": "https://github.com/symfony/polyfill-php70.git",
|
1354
|
-
"reference": "
|
1355
|
+
"reference": "6b88000cdd431cd2e940caa2cb569201f3f84224"
|
1355
1356
|
},
|
1356
1357
|
"dist": {
|
1357
1358
|
"type": "zip",
|
1358
|
-
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/
|
1359
|
-
"reference": "
|
1359
|
+
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/6b88000cdd431cd2e940caa2cb569201f3f84224",
|
1360
|
+
"reference": "6b88000cdd431cd2e940caa2cb569201f3f84224",
|
1360
1361
|
"shasum": ""
|
1361
1362
|
},
|
1362
1363
|
"require": {
|
@@ -1402,20 +1403,20 @@
|
|
1402
1403
|
"portable",
|
1403
1404
|
"shim"
|
1404
1405
|
],
|
1405
|
-
"time": "2018-
|
1406
|
+
"time": "2018-09-21T06:26:08+00:00"
|
1406
1407
|
},
|
1407
1408
|
{
|
1408
1409
|
"name": "symfony/polyfill-php72",
|
1409
|
-
"version": "v1.
|
1410
|
+
"version": "v1.10.0",
|
1410
1411
|
"source": {
|
1411
1412
|
"type": "git",
|
1412
1413
|
"url": "https://github.com/symfony/polyfill-php72.git",
|
1413
|
-
"reference": "
|
1414
|
+
"reference": "9050816e2ca34a8e916c3a0ae8b9c2fccf68b631"
|
1414
1415
|
},
|
1415
1416
|
"dist": {
|
1416
1417
|
"type": "zip",
|
1417
|
-
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/
|
1418
|
-
"reference": "
|
1418
|
+
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9050816e2ca34a8e916c3a0ae8b9c2fccf68b631",
|
1419
|
+
"reference": "9050816e2ca34a8e916c3a0ae8b9c2fccf68b631",
|
1419
1420
|
"shasum": ""
|
1420
1421
|
},
|
1421
1422
|
"require": {
|
@@ -1457,29 +1458,30 @@
|
|
1457
1458
|
"portable",
|
1458
1459
|
"shim"
|
1459
1460
|
],
|
1460
|
-
"time": "2018-
|
1461
|
+
"time": "2018-09-21T13:07:52+00:00"
|
1461
1462
|
},
|
1462
1463
|
{
|
1463
1464
|
"name": "symfony/stopwatch",
|
1464
|
-
"version": "v4.1
|
1465
|
+
"version": "v4.2.1",
|
1465
1466
|
"source": {
|
1466
1467
|
"type": "git",
|
1467
1468
|
"url": "https://github.com/symfony/stopwatch.git",
|
1468
|
-
"reference": "
|
1469
|
+
"reference": "ec076716412274e51f8a7ea675d9515e5c311123"
|
1469
1470
|
},
|
1470
1471
|
"dist": {
|
1471
1472
|
"type": "zip",
|
1472
|
-
"url": "https://api.github.com/repos/symfony/stopwatch/zipball/
|
1473
|
-
"reference": "
|
1473
|
+
"url": "https://api.github.com/repos/symfony/stopwatch/zipball/ec076716412274e51f8a7ea675d9515e5c311123",
|
1474
|
+
"reference": "ec076716412274e51f8a7ea675d9515e5c311123",
|
1474
1475
|
"shasum": ""
|
1475
1476
|
},
|
1476
1477
|
"require": {
|
1477
|
-
"php": "^7.1.3"
|
1478
|
+
"php": "^7.1.3",
|
1479
|
+
"symfony/contracts": "^1.0"
|
1478
1480
|
},
|
1479
1481
|
"type": "library",
|
1480
1482
|
"extra": {
|
1481
1483
|
"branch-alias": {
|
1482
|
-
"dev-master": "4.
|
1484
|
+
"dev-master": "4.2-dev"
|
1483
1485
|
}
|
1484
1486
|
},
|
1485
1487
|
"autoload": {
|
@@ -1506,7 +1508,7 @@
|
|
1506
1508
|
],
|
1507
1509
|
"description": "Symfony Stopwatch Component",
|
1508
1510
|
"homepage": "https://symfony.com",
|
1509
|
-
"time": "2018-
|
1511
|
+
"time": "2018-11-11T19:52:12+00:00"
|
1510
1512
|
}
|
1511
1513
|
],
|
1512
1514
|
"aliases": [],
|
@@ -10,6 +10,9 @@ module Dependabot
|
|
10
10
|
require "dependabot/pull_request_creator/branch_namer"
|
11
11
|
require "dependabot/pull_request_creator/labeler"
|
12
12
|
|
13
|
+
class RepoNotFound < StandardError; end
|
14
|
+
class RepoArchived < StandardError; end
|
15
|
+
|
13
16
|
attr_reader :source, :dependencies, :files, :base_commit,
|
14
17
|
:credentials, :pr_message_footer, :custom_labels,
|
15
18
|
:author_details, :signature_key, :vulnerabilities_fixed,
|
@@ -47,6 +47,12 @@ module Dependabot
|
|
47
47
|
annotate_pull_request(pull_request)
|
48
48
|
|
49
49
|
pull_request
|
50
|
+
rescue Octokit::Forbidden => error
|
51
|
+
raise unless error.message.include?("Repository was archived")
|
52
|
+
raise RepoArchived
|
53
|
+
rescue Octokit::NotFound => error
|
54
|
+
raise if repo_exists?
|
55
|
+
raise RepoNotFound
|
50
56
|
end
|
51
57
|
|
52
58
|
private
|
@@ -79,6 +85,13 @@ module Dependabot
|
|
79
85
|
).any?
|
80
86
|
end
|
81
87
|
|
88
|
+
def repo_exists?
|
89
|
+
github_client_for_source.repo(source.repo)
|
90
|
+
true
|
91
|
+
rescue Octokit::NotFound
|
92
|
+
false
|
93
|
+
end
|
94
|
+
|
82
95
|
def create_commit
|
83
96
|
tree = create_tree
|
84
97
|
|
data/lib/dependabot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.86.
|
4
|
+
version: 0.86.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-ecr
|