Commit graph

136 commits

Author SHA1 Message Date
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
Rhys Arkins
32440f26a4
refactor: toVersion -> newVersion (#8711) 2021-02-16 12:33:44 +01:00
Rhys Arkins
0869d6e8d7
refactor: remove newVersion usage (#8710) 2021-02-16 11:26:46 +01:00
Rhys Arkins
a8819c4610
refactor: fromVersion -> currentVersion (#8709) 2021-02-16 10:52:05 +01:00
Rhys Arkins
5b38d39739 refafctor: currentVersion -> fromVersion 2021-02-16 09:55:06 +01:00
Rhys Arkins
acf57144f8
refactor: remove currentVersion (#8708) 2021-02-16 09:43:38 +01:00
Rhys Arkins
dae58a49c2 refactor: better template string migration 2021-02-16 09:17:26 +01:00
Rhys Arkins
855db036d5
fix: rename baseDir to packageFileDir for templating (#8625) 2021-02-10 23:39:06 +00:00
Rhys Arkins
df2a31c7f5
fix: remove unused binarySource=auto (#8461) 2021-02-04 12:14:34 +01:00
Rhys Arkins
46851d1a47 fix: migrate prTitle 2021-02-04 09:43:37 +01:00
Rhys Arkins
83a511a08c fix: loosen newXMajor migration 2021-02-03 16:08:35 +01:00
Rhys Arkins
1914a2eaf7 fix: expose more fields to templates 2021-02-03 15:02:36 +01:00
Sergei Zharinov
72b0b85640
feat(config): Rename packageRules selectors (#6939) 2021-01-29 11:43:42 +01:00
Rhys Arkins
14166e9538 fix(config): harden packageRules migration 2020-12-16 09:08:39 +01:00
Sergei Zharinov
3d48283423
fix(npm): Migrate unpublishSafe presets (#7983) 2020-12-13 18:43:27 +01:00
Rhys Arkins
ca11767763
fix: migrate packageRules objects to array (#7981) 2020-12-13 10:16:37 +01:00
Rhys Arkins
5c3ec876dd
refactor: recursively migrate configs (#7963) 2020-12-11 14:49:27 +01:00
Rhys Arkins
9e99a8c2c9
refactor: calculate isMigrated programmatically (#7961) 2020-12-11 14:08:24 +01:00
Sergei Zharinov
6f7b4afd1e
feat(npm): migrate and deprecate unpublishSafe (#7464)
The existing npm-specific `unpublishSafe` setting will be removed and migrated instead to use `stabilityDays` (3). The `renovate/unpublish-safe` status check is also deprecated and the existing `renovate/stability-days` will be used instead.

Closes #5265

BREAKING CHANGE: The status check `renovate/unpublish-safe` will be replaced with `renovate/stability-days`. Please migrate any branch protection rules if you were relying on `renovate/unpublish-safe`.
2020-12-11 10:09:58 +01:00
Sergio Zharinov
561d646819
feat(config): Allow single strings for preset setting (#7508) 2020-10-27 16:39:11 +01:00
Michael Kriese
09be0d9198
feat: replace later (#7565)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-10-27 13:23:21 +01:00
Rhys Arkins
75737805c8
refactor: rename compatibility -> constraints (#7308) 2020-09-30 11:02:25 +02:00
jgarec
662a249ba0
fix(migration): do not migrate semanticCommits if not necessary (#7280) 2020-09-15 06:34:00 +02:00
Tobias Bieniek
2663dc5d32
fix: Fix semanticCommits migration code (#7258)
The code was overriding any non-boolean value with `auto`, even if `enabled` or `disabled` was set.
2020-09-12 11:36:41 +02:00
Rhys Arkins
243728f263 fix(config): Migrate semantic commit option to enum type (#7170)
This reverts commit d1d7901a0a.
2020-09-11 13:15:04 +02:00
Rhys Arkins
d1d7901a0a fix: Revert "fix(config): Migrate semantic commit option to enum type (#7170)"
This reverts commit d2a5b7167b.
2020-09-11 12:43:49 +02:00
Sergio Zharinov
d2a5b7167b
fix(config): Migrate semantic commit option to enum type (#7170)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-11 11:45:14 +02:00
Rhys Arkins
ed1f650030 feat(config): templated branchPrefix migration 2020-09-01 14:37:09 +02:00
Rhys Arkins
7651d2e420 feat: additionalBranchPrefix 2020-09-01 14:36:10 +02:00
Rhys Arkins
0ce9837b9d fix: Revert "feat: additionalBranchPrefix"
This reverts commit 9385fb557b.
2020-08-31 09:33:34 +02:00
Rhys Arkins
655bdc1dda fix: Revert "feat(config): templated branchPrefix migration"
This reverts commit 7235c14df6.
2020-08-31 09:33:19 +02:00
Rhys Arkins
7235c14df6 feat(config): templated branchPrefix migration 2020-08-31 08:04:38 +02:00
Rhys Arkins
9385fb557b feat: additionalBranchPrefix
Renamed from managerBranchPrefix
2020-08-31 07:47:24 +02:00
Sergio Zharinov
95f9af2ba6
refactor(config): Fix lint warnings (#7108) 2020-08-26 14:59:50 +02:00
Sergio Zharinov
0701419d6e
fix: remove statusCheckVerify option (#7094)
Closes #7057

BREAKING CHANGE: statusCheckVerify config option is no longer supported and will be ignored
2020-08-25 13:11:24 +02:00
Sergio Zharinov
838996dbe0
feat: remove lazyGrouping feature (#7093)
Closes #7056

BREAKING CHANGE: lazyGrouping is no longer supported
2020-08-25 13:10:26 +02:00
Rhys Arkins
1a8a381c4f fix: very string value before startsWith 2020-08-11 17:38:59 +02:00
Rhys Arkins
fc21a76833 fix: harden startsWith checks 2020-08-11 08:08:16 +02:00
renovate[bot]
9f6c193557
build(deps): update dependency @sindresorhus/is to v3.1.0 (#6867)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-30 06:54:20 +02:00
Rhys Arkins
d3ce8d7693 fix: migrate string to boolean for masterIssue
Closes #6819
2020-07-22 19:11:52 +02:00
Jamie Magee
456245aabe
chore(eslint): enable typescript 3.7 rules (#6765) 2020-07-18 08:42:32 +02:00
Rhys Arkins
a8f27e0bf3
feat: dependencyDashboard (#6729) 2020-07-11 11:55:30 +02:00
Rhys Arkins
1663058426
feat(pr): pr edited body not comment (#6695) 2020-07-07 14:30:45 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Jamie Magee
5ce5ef39c1
chore(internal): disallow implicit braces (#5730) 2020-03-17 12:15:22 +01:00
Michael Kriese
e779d895f7
test(coverage): lib/config (#5656) 2020-03-07 11:27:10 +01:00
Michael Kriese
6c4892b593
chore(types): fix more typescript types (#5615) 2020-03-02 12:06:16 +01:00
Rhys Arkins
55b1cd0e37
feat: rebaseWhen (#5547)
New config option `rebaseWhen` replaces existing options `rebaseStalePrs` and `rebaseConflctedPrs`. Migration code added.
2020-02-22 16:31:49 +01:00
Rhys Arkins
9cceffddf9 fix: deprecate/migrate engines config 2020-02-22 16:31:01 +01:00
Rhys Arkins
485f66914e
feat: versionScheme -> versioning (#5504) 2020-02-18 08:34:10 +01:00
Michael Kriese
79f72f0b5d chore: move clone to utils (#4434) 2019-09-06 06:48:25 +02:00
Michael Kriese
73f58899c6 fix: typescript types (#4390) 2019-08-28 06:46:48 +02:00
Michael Kriese
2b11b661ed feat(config): convert to ts (#4299) 2019-08-23 15:46:31 +02:00
Renamed from lib/config/migration.js (Browse further)