Commit graph

5892 commits

Author SHA1 Message Date
Rhys Arkins
c4463c69f9
feat(config): better config migration (#9493) 2021-04-19 14:42:29 +00:00
Emanuel Bennici
45739cddfd
feat: Allow multiple autodiscover filter (#9453) 2021-04-19 14:18:06 +00:00
Sergei Zharinov
16c080fadc
refactor(util): Fix unbound methods usage (#9626) 2021-04-19 13:51:02 +00:00
Sergei Zharinov
0375422fff
refactor(presets): Extract and de-duplicate error string constants (#9586)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-19 13:31:38 +00:00
Sergei Zharinov
4b7295ee22
fix(bitbucket): Return proper type for "createPr()" (#9623) 2021-04-19 12:57:06 +00:00
Rhys Arkins
d51b3aa40c fix: validate version before calling isGreaterThan
Closes #9602
2021-04-19 14:10:21 +02:00
Rhys Arkins
4280b8e08a refactor: drop skippedOverVersions 2021-04-18 21:36:04 +02:00
Rhys Arkins
6f54f09aa2
feat: don’t block updates due to pinning (#9600) 2021-04-18 17:27:41 +02:00
Rhys Arkins
56f57a34c4 refactor: res valueToVersion 2021-04-17 22:33:54 +02:00
Rhys Arkins
d3a477afd6 refactor: newDigestShort 2021-04-17 22:26:17 +02:00
Rhys Arkins
ac2ba7dd74 refactor: displayFrom/displayTo 2021-04-17 21:36:25 +02:00
Rhys Arkins
d398b7e72e test: generate newValue 2021-04-17 16:52:47 +02:00
Rhys Arkins
ccf1bc8264
refactor: rollback config (#9589) 2021-04-17 11:53:03 +00:00
Rhys Arkins
de53356573 refactor: currentVersion / lockedVersion 2021-04-17 11:08:23 +02:00
Rhys Arkins
61095e9091 chore: remove duplicate update.newVersion set 2021-04-17 09:29:35 +02:00
Rhys Arkins
4fb024e51b refactor: elapsed time utilities 2021-04-17 09:26:28 +02:00
Rhys Arkins
e36384a80c refactor: lookup types 2021-04-17 09:14:21 +02:00
Rhys Arkins
d0919ab99b refactor: travis result type 2021-04-17 06:53:54 +02:00
Rhys Arkins
074a78d933 chore: rename lookup variables 2021-04-17 06:14:07 +02:00
Rhys Arkins
f43cf690fd
fix(git-refs): insert token if found in host-rules (#9581) 2021-04-16 15:13:30 +02:00
Rhys Arkins
03223c6016 refactor: git url functions 2021-04-16 14:46:17 +02:00
Rhys Arkins
5ff0ad45ce refactor: processBranch return branchExists 2021-04-15 22:05:00 +02:00
Rhys Arkins
dbbeea1c13 test: branch worker use snapshots 2021-04-15 21:45:07 +02:00
Rhys Arkins
fb7138dc00 refactor: processBranch return object 2021-04-15 21:17:15 +02:00
Rhys Arkins
227f9f73dd refactor: branch worker handle existing PR 2021-04-15 19:53:44 +02:00
Rhys Arkins
14c5227ce3 refactor: ProcessBranchResult -> BranchResult 2021-04-15 19:06:55 +02:00
Rhys Arkins
f87d5e8b76
refactor: complex PR automerge result (#9567) 2021-04-15 16:30:02 +02:00
Rhys Arkins
91db1b5c61 fix(github): add UNSTABLE to canMerge states 2021-04-15 14:25:25 +02:00
Rhys Arkins
9ee35de2e1 refactor: perform branch deletion in automerge function 2021-04-15 14:09:06 +02:00
Rhys Arkins
6d17d7bbbd test: snapshot pr automerge result 2021-04-15 13:50:58 +02:00
Arkadiusz Kosmala
b070646186
feat(config): validate enabledManagers 2021-04-15 09:18:51 +00:00
Rhys Arkins
76962ae542
fix(hashicorp): update pre-1.0 short tilde ranges (#9559) 2021-04-15 05:19:05 +00:00
Rhys Arkins
e90593e339 refactor: move automerge check to branch worker 2021-04-14 22:58:06 +02:00
Rhys Arkins
064958908f refactor: simplify pr automerge function 2021-04-14 22:32:39 +02:00
Rhys Arkins
966e141de7 refactor: separate automerge function in pr 2021-04-14 22:18:57 +02:00
Rhys Arkins
27a35137f2
fix(git-submodules): don’t include token in lookupName (#9556) 2021-04-14 21:21:27 +02:00
Jamie Magee
7d4e7df87d
chore: more logging in git-submodules (#9542) 2021-04-14 15:43:09 +00:00
Sergei Zharinov
82fa5ce162
refactor(datasource): Enforce getName usage (#9524) 2021-04-14 17:28:20 +02:00
Luca Becker
34d6483257
feat(release-notes): running unemojify on release notes (#9535) 2021-04-14 11:03:08 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Sergei Zharinov
bab5346d09
refactor(manager): Enforce getName usage (#9523) 2021-04-13 12:07:57 +02:00
Rhys Arkins
6662db9765
fix: don’t disable repos if cannot fork (#9521) 2021-04-13 08:54:46 +02:00
Fredrik Blomqvist
f03c6843f9
fix(go): submodules behavior (#9519) 2021-04-13 05:57:14 +02:00
Rhys Arkins
0106d85284
fix(yarn): enableImmutableInstalls=false (#9515) 2021-04-12 20:04:58 +00:00
Sergei Zharinov
e5049e4904
feat(cake): Add support for Cake manager (#9512) 2021-04-12 21:51:48 +02:00
Rhys Arkins
893df627e4
feat(validation): language/manager top-level check (#9498) 2021-04-12 06:11:25 +02:00
Rhys Arkins
2973eb5d94 test: fix nested fileMatch test case 2021-04-11 19:26:46 +02:00
Rhys Arkins
4cf9c5028a
feat(validation): warn if packageRules contain all selectors (#9497) 2021-04-11 19:26:20 +02:00
Rhys Arkins
07abb3125a test: use valid packageRules 2021-04-11 18:43:22 +02:00
Rhys Arkins
6060911aef refactor: packageRules selector validation 2021-04-11 18:40:01 +02:00
Rhys Arkins
a55b5202e5 fix(validation): simplify packageRules validation message 2021-04-11 18:38:25 +02:00
Rhys Arkins
a4a151f458 refactor(presets): remove nested minor in groups 2021-04-11 18:30:12 +02:00
Rhys Arkins
1dad55586b
feat(config): migrate nested packageRules (#9496) 2021-04-11 18:00:29 +02:00
Jesse Rosenberger
60eba68eb3
fix(circleci): Expect whitespace/comments during CircleCI Orb parsing (#9486) 2021-04-11 08:04:42 +02:00
Rhys Arkins
74fcb41df4
fix(yarn): avoid yarn v2 rollback (#9487)
Closes #9483
2021-04-10 19:42:11 +02:00
Rhys Arkins
254d08fcbd
fix(config): migrate nested config (#9489)
Adds an extra migration step after resolving config in order to migrate nested presets.

Closes #8579
2021-04-10 19:41:39 +02:00
Rhys Arkins
c4f22fa389
fix(hex): short range replace (#9488) 2021-04-10 18:30:29 +02:00
Rhys Arkins
69a7b37c6b
fix(yarn): use major range for v2 constraint (#9482) 2021-04-10 06:13:08 +02:00
Sergei Zharinov
d1c8917a26
refactor(workers): Extract common file matching configuration logic (#9471) 2021-04-09 17:05:05 +02:00
Sebastian Poxhofer
c3bf66ee16
feat(ansible-galaxy): implement galaxy-collection DS and extend manager for collections (#9387) 2021-04-09 17:02:57 +02:00
Rhys Arkins
1914c187a6
fix: unhandledRejection (#9472)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-09 16:16:00 +02:00
Marco de Jongh
6afbcf8d18
feat: Add branch option for postUpgradeCommands (#8725)
* Add branch option for postUpgradeCommands

* Put the for loop back for async

* Fix tests & add documentation

* Change execution mode dependency to update

* Move postUpgradeCommand execution to seperate file

* Fix return time of upgradeTaskExecuter

* Fix test

* Finished new mode and added test

* Remove .only

* Remove defensive coding to make codecov happy

* Give inconfig a proper type

* Another missing type

* Fix typo in allowPostUpgradeCommandTemplating option description

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Move to 1 postUpgradeCommandExecutor call

* Appease the import order rule gods

* Refactor more

* Okay now it should be done

* Fix bug

* Import order rule

* Change import to a type import

* Also return artifacterrors

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Move checking if postUpgradeCommands can run

* remove unused import

* Fix prettier error

* Call getAdminConfig once

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Change type name to EnsurePrResult

* Update lib/workers/branch/index.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Fix enum imports

Co-authored-by: Carlin St Pierre <cstpierre@atlassian.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-09 05:51:03 +02:00
Timm Drevensek
8f3f3663b1
implement regex (#9407) 2021-04-08 19:16:15 +00:00
Sergei Zharinov
b160644db7
feat(preset): Support Azure local presets (#9458) 2021-04-08 19:49:46 +02:00
Sergei Zharinov
fa6d1e32a9
fix(azure): Fix additional argument for getRawFile (#9450)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-08 16:13:29 +00:00
Fredrik Blomqvist
a2aa5ce6fb
feat(gitlab): Allow descriptions longer than 25K characters (#9452) 2021-04-08 18:01:59 +02:00
Nils Plaschke
63b6cf66ac
feat: introduce dockerChildPrefix option (#8613)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-08 10:10:25 +00:00
Sergei Zharinov
e6537da51e
refactor(azure): Extract more utils from platform helper (#9443) 2021-04-08 11:53:03 +02:00
Fredrik Blomqvist
4262d4048b
feat(gitlab): Implement GitLab addReviewers (#9345)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-08 04:52:19 +00:00
chgl
a0e21e390e
fix: support the latest docker-compose 1.27 spec (#9424)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-04-08 06:38:57 +02:00
Sergei Zharinov
55ccf03144
fix(azure): Fix util function streamToString (#9430) 2021-04-07 22:16:28 +02:00
Sergei Zharinov
0a68e19d73
feat(presets): Support Bitbucket Cloud local presets (#9422) 2021-04-07 11:14:45 +02:00
Sergei Zharinov
612be5e449
refactor(presets): Reorder code and fix mocks (#9421) 2021-04-07 09:50:55 +02:00
Sergei Zharinov
36f8d1df0e
refactor(platform): getRawFile and getJsonFile throw instead of null (#9413)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2021-04-07 04:23:11 +00:00
Rhys Arkins
d1a74c838e
fix(lerna): swallow lerna info failure (#9416) 2021-04-06 18:04:19 +02:00
Rhys Arkins
6443902da9 chore: remove unused customPrFooter 2021-04-06 16:06:26 +02:00
Rhys Arkins
98f17c31a7 fix: defensive config check in cleanup 2021-04-06 15:55:41 +02:00
Sergei Zharinov
df0ac4a78e
refactor(presets): Reuse PRESET_INVALID_JSON variable (#9412)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-04-06 15:49:06 +02:00
Sebastian Poxhofer
0462860468
fix(terraform): skip interpretation of nested blocks (#9411) 2021-04-06 13:09:09 +02:00
Rhys Arkins
486f5747f6
refactor(github): vulnerability alerts warning (#9398) 2021-04-05 13:49:33 +02:00
Rhys Arkins
88ae12a65d
feat(config): validate config parent (#9350) 2021-04-05 10:41:31 +00:00
Sergei Zharinov
147304785e
refactor(platform): Extract getRawFile method (#9404) 2021-04-05 10:24:00 +00:00
Rhys Arkins
430249d626
refactor: Renovate configuration -> Configuration (#9399) 2021-04-05 10:09:41 +00:00
Rhys Arkins
0cb45ddbf3
feat: ENV_PREFIX (#9397) 2021-04-05 09:19:08 +00:00
Rhys Arkins
553bd99650 fix(npm): Revert "feat(npm): transitiveRemediation for v2 lockfiles (#9402)"
This reverts commit cec56faf52.
2021-04-05 10:56:08 +02:00
Rhys Arkins
325447e7da fix(docker): defensive digest check 2021-04-05 09:15:57 +02:00
Sergei Zharinov
b80e7035c5
fix(github): Don't rely on time precision in test (#9403) 2021-04-05 06:11:49 +00:00
Rhys Arkins
cec56faf52
feat(npm): transitiveRemediation for v2 lockfiles (#9402) 2021-04-05 07:16:56 +02:00
Rhys Arkins
3e22ad0ca3
feat(config): support RENOVATE_CONFIG (#9374) 2021-04-04 15:33:22 +02:00
Tom Jenkinson
e9477dade4
feat: add warning to rebase/retry checkbox if it will overwrite custom commits (#9378) 2021-04-04 09:31:30 +00:00
Sergei Zharinov
3e9bfa25d3
feat(github): Time threshold for PR reopening (#9392) 2021-04-04 11:08:08 +02:00
Rhys Arkins
5da6949c64 logs: warn about NPM_TOKEN 2021-04-04 09:14:35 +02:00
Sergei Zharinov
6074b99152
refactor(azure): Platform-wide getJsonFile (#9379) 2021-04-03 15:38:14 +02:00
Sergei Zharinov
425dcb5099
refactor(gitea): Platform-wide getJsonFile (#9381) 2021-04-03 14:50:03 +02:00
Sergei Zharinov
83fa6cd6ff
refactor(bitbucket-server): Platform-wide getJsonFile (#9382) 2021-04-03 14:49:15 +02:00
Sergei Zharinov
5928c8eb45
refactor(github): Platform-wide getJsonFile (#9383) 2021-04-03 14:47:54 +02:00
Sergei Zharinov
3915fa6512
refactor(gitlab): Platform-wide getJsonFile (#9384) 2021-04-03 14:46:18 +02:00
Sergei Zharinov
bb17af6f6d
refactor(bitbucket): Platform-wide getJsonFile (#9380) 2021-04-03 14:43:16 +02:00
Rhys Arkins
20147e30b9
feat: packageRules.matchPackagePrefixes (#9365) 2021-04-03 05:18:25 +00:00
Rhys Arkins
4f8a3a4fbc fix(cache): warn not error for pull 404 2021-04-02 06:40:50 +02:00
Rhys Arkins
c1663f0bc8 fix(git): catch fatal bad config 2021-04-02 06:37:19 +02:00
Rhys Arkins
47eb1324fb fix(npm): is.string check for npmrc 2021-04-01 18:09:36 +02:00
Rhys Arkins
95bf948020
refactor: config warning/error fields (#9349) 2021-04-01 15:50:17 +02:00
Rhys Arkins
2fb87eddcf
fix: revert npmrc handling changes (#9347) 2021-04-01 14:19:47 +02:00
Rhys Arkins
f5d4afecf7
fix(git): throw config error if branch is blocking (#9341) 2021-04-01 07:01:02 +02:00
Rhys Arkins
7903d51776
fix: catch unknown datasource early (#9344) 2021-04-01 06:59:43 +02:00
Rhys Arkins
a67d8a4f87
fix(github): catch branch protection and raise config error (#9340) 2021-03-31 22:14:17 +02:00
Rhys Arkins
94535d52e8
feat(github): reopen autoclosed PRs (#9305) 2021-03-30 12:07:44 +00:00
Alexandre Paradis
feb5995312
Add sharp to manualChangelogUrls (#9320)
The changelog for Sharp can be found in `docs` path.
2021-03-30 05:42:34 +02:00
Rhys Arkins
5949f39773
fix(npm): use configured npmrc (#9319) 2021-03-29 21:52:21 +02:00
Christoph Obexer
af7bd08c8b
fix: helm: add support for "alias:" repositories (#9316) 2021-03-29 18:41:44 +00:00
Rhys Arkins
ec07bbc2e4 refactor: npm extract 2021-03-28 21:25:07 +02:00
Rhys Arkins
a5e2a89817
fix: Revert "feat(github): reuse autoclosed PRs (#9300)" (#9304)
This reverts commit eb2873e22e.
2021-03-28 15:15:04 +00:00
Rhys Arkins
eb2873e22e
feat(github): reuse autoclosed PRs (#9300) 2021-03-28 11:02:15 +02:00
Sebastian Poxhofer
ca0cf2e6cd
fix(terraform): do not abort search after first block (#9302) 2021-03-28 05:50:27 +00:00
Rhys Arkins
9de36c4493
refactor: ignoreNpmrcFile (#9299) 2021-03-27 09:02:26 +01:00
Rhys Arkins
dd8c39ab62 fix(npm): don’t strip every npmrc line containing variables 2021-03-27 07:26:49 +01:00
Rhys Arkins
66c3b1c9ee logs: log npmrc file name 2021-03-27 07:21:09 +01:00
Rhys Arkins
486decbee6 refactor(npm): npmrc string check 2021-03-27 07:19:05 +01:00
Rhys Arkins
e541f3ed28 fix(npm): drop defensive catches to stop on errors 2021-03-27 07:15:36 +01:00
Rhys Arkins
db5a87edd4 fix(npm): is.string check for npmrc 2021-03-27 07:08:58 +01:00
Rhys Arkins
190c8598e6 fix(npm): reset npmrc no matter what 2021-03-27 07:08:58 +01:00
Matt Palmer
49a3a8ab27
feat(gomod): Update source import paths on major upgrade (#9144) 2021-03-27 06:02:32 +00:00
HonkingGoose
20752c8118
docs: improve versioning documentation (#9017) 2021-03-27 06:50:57 +01:00
Rhys Arkins
ba449c7b17 fix(npm): ignoreNpmrcFile per-package
Closes #9280
2021-03-25 22:12:51 +01:00
Florian Greinacher
c2dc36f0e5
feat: add System.IO.Abstractions monorepo (#9287) 2021-03-25 21:39:02 +01:00
Rafał Maciejewski
28ecac1960
fix: allow dash character in local preset path (#9284) 2021-03-25 16:48:54 +01:00
Alex Kvak
c9e147fcba
fix(gitlab): skipped jobs are ignored (#9247)
If GitLab pipeline has only skipped jobs — the result is yellow.
Otherwise standard rules are applied.
2021-03-25 11:20:49 +00:00
Grégory Joseph
15708fe926
fix: print lerna info 2021-03-25 05:35:52 +00:00
Rhys Arkins
fc8cdf7f73
fix(poetry): better getNewValue replace (#9267) 2021-03-24 09:33:45 +00:00
Michael Kriese
a82abe1f0a
fix: add http host legacy error property (#9263) 2021-03-24 09:07:34 +00:00
Michael Kriese
51f8c5fd34
feat(gradle-version): support unstable (#9262) 2021-03-24 07:24:14 +00:00
Michael Kriese
1ff41bccb4
fix(gradle-wrapper): parse prerelease and milestones (#9261) 2021-03-24 07:10:29 +00:00
Rhys Arkins
efc0067ccc chore: ignore for coverage 2021-03-22 17:31:34 +01:00
Alexandre Gaudreault
62e7fe3ac2
feat(jenkins-plugins): support yaml file format (#9069)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-22 15:08:52 +00:00
Rhys Arkins
af1e4ee1a7
feat: secrets (#8070) 2021-03-22 15:51:38 +01:00
Nik Skoufis
e7f90d50a6
fix: Add registryTemplateUrl field to allowed fields for regexManager (#9239) 2021-03-22 07:18:34 +01:00
renovate-testing
3ff8649e9a
fix(npm): Fix replace strategy edge-case for carets (#9106) 2021-03-20 23:19:59 +00:00
Armaan Tobaccowalla
e5c92e4cd9
feat(config): Support presets in subdirectories (#8724) 2021-03-20 23:03:10 +00:00
Florian Greinacher
5f84737539
feat: expose post upgrade command errors in PRs (#8944) 2021-03-20 21:36:43 +00:00
Rhys Arkins
7af7d3b081 refactor(npm): monorepo upath use 2021-03-20 22:07:47 +01:00
Rhys Arkins
460bfe95f0 refactor: fs.renameLocalFile 2021-03-20 21:54:03 +01:00
Rhys Arkins
d65fd4a974 fix: deprecate yarnrc 2021-03-20 20:35:15 +01:00
Rhys Arkins
9d6e96ef75
refactor: npm preset lookup direct (#9225) 2021-03-20 08:27:33 +00:00
Rhys Arkins
11454b547e
refactor: composer managerData (#9226) 2021-03-20 08:10:53 +01:00
Rhys Arkins
eb1f645e69 fix(npm): allow npm constraint install to fail 2021-03-19 22:31:01 +01:00
Rhys Arkins
1185a464ae refactor: CACHE_REVISION 2021-03-19 16:18:45 +01:00
Rhys Arkins
b63e035aaa refactor: better lock dir renaming 2021-03-19 16:10:58 +01:00
Rhys Arkins
adc2f24ba1 refactor: lernaJsonFile into managerData 2021-03-19 15:58:24 +01:00
Rhys Arkins
3d3cc74596 refactor: lernaDir -> lernaJsonFile 2021-03-19 15:33:23 +01:00