Commit Graph

153 Commits

Author SHA1 Message Date
Maksim 816621db6c refactor(migrations): suppressNotifications (#14603) 2022-03-11 08:31:26 +00:00
Maksim 92f8cb6e31 refactor(migrations): renovateFork (#14532) 2022-03-05 21:11:02 +00:00
Rhys Arkins 143c9a6751 refactor: rename lookupName -> packageName (#14494)
Renames `lookupName` to be `packageName`.

BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01:00
Maksim 00cab7c3a7 refactor(migrations): pathRules (#14203)
* refactor(migrations): pathRules

* refactor(migrations): fix typings & test

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-15 07:15:09 +00:00
Maksim da3772ab18 refactor(migrations): host rules (#13874) 2022-02-13 20:07:09 +00:00
Maksim 090c81af1b refactor(migrations): compatibility (#13869)
* refactor(migrations): compatibility

* refactor(migrations): fix test coverage

* refactor(migrations): add unit test

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-10 14:42:58 +00:00
Maksim 638d958cc2 fix(migrations): don't migrate properties twice (#14101) 2022-02-09 16:20:47 +00:00
Maksim 8f64db2ff2 refactor(migrations): endpoints (#13868)
* refactor(migrations): endpoints

* refactor: fix unit test snapshot
2022-01-27 19:54:52 +00:00
Maksim fee8aa26a8 refactor(migrations): raiseDeprecationWarnings (#13761)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-24 08:20:00 +00:00
Maksim 38a6119154 feat(migrations): composerIgnorePlatformReqs (#13759) 2022-01-23 22:00:02 +01:00
Maksim e02aaa42ac feat(migrations): managerBranchPrefix (#13757) 2022-01-23 18:49:21 +00:00
Maksim 9d87ffbe38 feat(migrations): versionStrategy (#13755) 2022-01-23 17:30:05 +01:00
Maksim 34f4901699 feat(migrations): upgradeInRange (#13734)
* feat(migrations): upgradeInRange

* feat(migrations): add test case

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-22 12:53:07 +00:00
Maksim 574196a384 feat(migrations): split (#13499) 2022-01-13 08:50:20 +00:00
Maksim 6e94385f31 refactor(migrations): validator (#13073)
* refactor(migrations): implemented migration validator

* refactor(migrations): introduce deprecated flag

* refactor(migrations): tidy

* refactor(migrations): improve validator

* refactor: fix launch.json

* refactor: fix build

* refactor: fix coverage

* refactor: fix coverage

* refactor: introduce new jest custom matcher

* refactor: revert unnecessary changes

* refactor: return override
2022-01-10 21:01:57 +00:00
RahulGautamSingh 4f65b57225 refactor: refactor static regex out of for loops (#13065) 2021-12-29 07:26:13 +01:00
Maksim a4249f9afe refactor(migrations): extend abstract migration (#12963)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-11 13:56:51 +00:00
Maksim 06d8c27043 refactor: global config (#12743)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-23 21:10:45 +01:00
Maksim 5377b1f1aa feat(config): migrate inline with the same sort (#12091)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-17 15:43:55 +00:00
Rhys Arkins bf09337076 fix: enable eslint eqeqeq (#12574)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-09 07:02:59 +00:00
HonkingGoose ab018191fa chore: report and fix unused ESLint disable directives (#12548) 2021-11-08 20:20:03 +01:00
Oleg Krivtsov c7f74e3f91 feat(config): migrate yarn -> npm in enabledManagers (#11965) 2021-10-20 14:56:28 +00:00
RahulGautamSingh 4b16903ff1 fix: modified regex to use RE2 (#12025)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-19 14:53:34 +02:00
Sergei Zharinov 6f649eb661 feat(platform): Use uniform platformAutomerge option (#12069)
Existing `azureAutoComplete` and `gitLabAutomerge` options are now unified/renamed to `platformAutomerge`, and also defaulting to `true`.

BREAKING CHANGE: Azure autocomplete will now only be enabled when `automerge` is also enabled (to align with how GitLab automerge already worked). If you were using `azureAutoComplete` before without explicitly enabling Renovate `automerge` field then you will now need to do so. Platform automerge is now the default behavior whenever automerge is enabled.
2021-10-11 06:36:07 +00:00
Rhys Arkins e108537964 fix(config): migrate empty array check (#11713) 2021-09-13 15:27:01 +02:00
Maksim 7801ae7c16 feat(config): migrate requiredStatusChecks to ignoreTests (#11355)
* feat(config): migrate requiredStatusChecks to ignoreTests

* fix(config): restore order of props

* feat(config): add applyMigrations function

* feat(platform): check ignoreTests param in worker

* feat(config): rename getBranchStatus to resolveBranchStatus

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-12 15:23:18 +00:00
Bob van de Vijver 3505508c9c feat: Add fully configurable composer ignore platform requirement configuration (#11138)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-23 18:13:30 +00:00
Rhys Arkins 9150854d75 chore: rename config/admin -> config/global 2021-08-17 07:57:45 +02:00
Rhys Arkins bf69924b78 refactor: rename config admin functions to global 2021-08-17 07:57:45 +02:00
Rhys Arkins 750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Rhys Arkins 123dc4444e feat(travis): remove supportPolicy (#11176) 2021-08-17 07:57:45 +02:00
Rhys Arkins 99eef28ea0 feat(gradle): merge gradle-lite into gradle (#10132)
Removes standalone gradle-lite manager and merges it into the gradle manager as the default behavior, while adding deepExtract as an option to re-enable previous behavior.

Closes #10091

BREAKING CHANGE: Gradle extraction now defaults to JS-based parsing (previously "gradle-lite")
2021-08-17 07:57:45 +02:00
Rhys Arkins 66820cfe27 feat: migratePresets (#10111) 2021-05-22 23:47:28 +02:00
renovate[bot] b8e36daa87 chore(deps): update dependency prettier to v2.3.0 (#10012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Rhys Arkins 1ca736e277 fix: delete hostRules.hostName after migration 2021-05-14 09:40:07 +02:00
Rhys Arkins f00413c298 feat(host-rules): use only matchHost (#9892)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-13 20:53:18 +00:00
Michael Kriese 7daa93a78d refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Rhys Arkins ffd0269ab6 fix(config): nested packageRules migration (#9814) 2021-05-01 23:01:26 +02:00
Sergei Zharinov 38620be343 refactor: Replace some TODO items with issue ids (#9596) 2021-04-26 20:19:30 +00:00
Rhys Arkins 572749a398 refactor: artifactUpdateApproach -> skipInstalls
Roll back the previous refactor.
2021-04-22 08:47:58 +02:00
Rhys Arkins b22a0355aa refactor(config): explicit migration string check 2021-04-22 08:47:58 +02:00
Rhys Arkins 13ece707d4 feat(npm): remove ignoreNpmrcFile support (#9409)
Removes support for the ignoreNpmrcFile config option.

BREAKING CHANGE: ignoreNpmrcFile is no longer supported. Use an empty string for config.npmrc instead.
2021-04-22 08:47:58 +02:00
Rhys Arkins 59d728b16b refactor: skipInstalls -> artifactUpdateApproach (#9119)
Renames skipInstalls to artifactUpdateApproach and changes from boolean to enum.

BREAKING CHANGE: skipInstalls has been changed to artifactsUpdateApproach
2021-04-22 08:47:58 +02:00
Rhys Arkins 8af905e8f5 feat: split trustLevel into separate options (#9388)
Removes trustLevel and replaces it with 3 other options instead. No longer necessary to set anything additional is configuring `allowedPostUpgradeCommands`

BREAKING CHANGE: `trustLevel` is no longer supported and instead broken into `allowCustomCrateRegistries` , `allowScripts` , and `exposeAllEnv`.
2021-04-22 08:47:58 +02:00
Rhys Arkins c4463c69f9 feat(config): better config migration (#9493) 2021-04-19 14:42:29 +00:00
Rhys Arkins 1dad55586b feat(config): migrate nested packageRules (#9496) 2021-04-11 18:00:29 +02:00
Rhys Arkins edfac73a08 refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00
Rhys Arkins d4d0e74c7a refactor: dequal (#9071) 2021-03-10 23:04:12 +01:00
Rhys Arkins eb8f895f2e refactor: eslint no-negated-condition (#8973) 2021-03-04 06:21:55 +01:00
Michael Kriese 74d7691bef refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00