Commit graph

900 commits

Author SHA1 Message Date
Rhys Arkins
7f652315a3 test: fix coveralls coverage 2020-04-14 19:04:46 +02:00
Florian Greinacher
e6453ae423
feat(presets): add support for local presets (#5814) 2020-04-14 07:05:30 +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
Kieran
5dea0a9499
feat(composer): ignorePlatformReqs (#5937) 2020-04-11 08:40:19 +02:00
Rhys Arkins
a942b421d5
feat(internal): datasource defaultConfig (#5929)
Adds an optional new object `defaultConfig` to datasources. This object will be merged into config during the update flattening process, and before the last applyPackageRules. i.e. it can still be overridden by packageRules.
2020-04-09 15:44:23 +02:00
Michael Kriese
30fcff2194
feat(internal): dynamic platform imports (#5898) 2020-04-08 09:14:32 +02:00
Michael Kriese
20e18b6437
feat(internal): generate dynamic manager imports (#5818) 2020-04-06 19:38:20 +02:00
Rhys Arkins
59d140fc25
feat(internal): template fields enforcement (#5880) 2020-04-06 12:55:34 +02:00
Rhys Arkins
8172de1a3b
refactor: util/template for handlebars (#5878) 2020-04-05 10:09:55 +02:00
Rhys Arkins
4e4bfe9256
feat(internal): http util wrapper (#5841)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-04-03 13:45:55 +02:00
Jesse Dobbelaere
51337c476e
fix: undefined ignoreScripts config option (#5811) 2020-03-29 08:37:27 +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
Rhys Arkins
b2b8d7e953
feat: regex manager (#5617) 2020-03-06 09:07:55 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib (#5635) 2020-03-05 21:57:24 +01:00
Michael Kriese
6c4892b593
chore(types): fix more typescript types (#5615) 2020-03-02 12:06:16 +01:00
Rhys Arkins
6293edc19a
feat: replace datasource constants with IDs (#5595)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-03-01 08:01:12 +01:00
kroonprins
1088efde49
fix: bugfix for hourly limit for azure & bugfix for ignorePrefi… (#5600) 2020-02-29 23:04:59 +01:00
Nejc Habjan
0b5ee0b400
feat: allow config files in .gitlab directory (#5584) 2020-02-28 12:07:38 +01:00
Rhys Arkins
76cb6cf40d refactor: remove DATASOURCE_ constants from presets 2020-02-27 14:54:45 +01:00
Rhys Arkins
8dc52c7f30
refactor: move getPreset into lib/config/preset/ (#5578) 2020-02-27 14:19:58 +01:00
Rhys Arkins
cb5da82acc
docs: move manager docs out of config options (#5410) 2020-02-25 06:45:00 +01:00
Michael Kriese
9c717d9d57
fix: lgtm suggestions (#5562) 2020-02-24 12:27:10 +01:00
renovate[bot]
7fa1d41b6b
build(deps): update dependency typescript to v3.8.2 (#5561)
* chore(deps): update dependency typescript to v3.8.2

* fix: fix types

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-02-24 10:06:51 +01:00
Rhys Arkins
f1d0b7b5fe refactor: lower some levels from info to debug
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
adde436df0
feat(logger): logContext (#5553)
Adds a new concept `logContext`, to be added to each log entry when in JSON format.

Closes #5551
2020-02-23 07:31:13 +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
Jamie Magee
a7d1bd4b08
feat: add $schema to default onboarding configuration (#5496)
fixes #5427
2020-02-17 16:20:21 +01:00
Rhys Arkins
864e554db9
feat: dynamic manager config (#5392) 2020-02-07 18:25:27 +00:00
Rhys Arkins
aff618fa8e
feat: dynamic platform list retrieval (#5394) 2020-02-06 13:44:53 +00:00
Rhys Arkins
0ec6617b6d
feat: dynamic versionScheme import (#5393) 2020-02-06 13:23:24 +00:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types (#5171) 2020-02-06 12:15:54 +00:00
Michael Kriese
987b1ca17e
feat(manager): support helm values (#5384)
Co-authored-by: Dominik Horb <git@dominik.berlin>
2020-02-06 10:15:25 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Rhys Arkins
58fd6569db fix: Revert "feat: helm-values manager (#5134)"
This reverts commit edf85d42bf.
2020-02-04 18:06:06 +01:00
Dominik Horb
edf85d42bf
feat: helm-values manager (#5134) 2020-02-04 15:11:08 +01:00
Michael Kriese
8719f70dea
chore(eslint): simplify / update settings (#5296) 2020-02-04 10:37:00 +01:00
Carlin St Pierre
5b0c431dce
feat: post-upgrade tasks (#5202) 2020-02-04 06:59:13 +01:00
Gabriel Melillo
30f0c4230f
feat: helmfile manager (#5257) 2020-02-02 08:35:26 +01:00
Sergio Zharinov
ff9332486c
feat(cdnurl): Add CDNJS support (#5254) 2020-01-30 20:52:15 +01:00
Rhys Arkins
da6164f8d4 fix: validate handlebars templates and throw config error 2020-01-27 12:48:08 +01:00
Jamie Magee
8126705d3d feat(nuget): add support for fsproj and vbproj files (#5220) 2020-01-25 14:50:47 +01:00
Sourav Das
520429f1bd feat(constants): Version Scheme Constants (#5159) 2020-01-21 17:11:25 +01:00
Sourav Das
d671f2b8c4 refactor(constant): Refactor Platform File (#5206) 2020-01-21 11:13:19 +01:00
Sergio Zharinov
ef7357d022 fix(exec): Refactor binarySource out to global setting (#5190)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-20 16:50:32 +01:00
Sourav Das
c7c5dfd30f feat(constants): Platform Constants (#5179) 2020-01-17 08:26:42 +01:00
Sourav Das
58c444cb7e feat(constants): Data Source and Binary Source Constants (#5157) 2020-01-16 12:14:35 +01:00
Rhys Arkins
eb082ea4bf fix(config): generate config warning issue when decryption fails 2020-01-15 13:14:21 +01:00
David Straub
7b5485edaa feat(workers): implement additionalReviewers option (#5152)
Closes #5121
2020-01-15 04:32:31 +01:00
Vladislav Dolbilov
04a26722f3 feat(sbt): enhanced extract capabilities (#5126) 2020-01-14 12:45:17 +01:00
Sourav Das
ee153e560e feat: use error constants (#5088) (#5100)
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
da22cc35f1 refactor: global config massage 2020-01-11 11:22:42 +01:00
Michael Kriese
62b18dee78 fix(ts): convert worker/repository/process to ts (#5046) 2020-01-06 08:16:15 +00:00
Rhys Arkins
2b9da5c2e3 fix: add trailing slash to endpoint
Closes #5069, Closes #5082
2020-01-01 09:23:55 +00:00
Sourav Das
ff079793a5 fix(config): log error and exit immediately when config.js file has syntax error (#5057) 2019-12-26 09:08:43 +00:00
Rhys Arkins
0882828a74 fix: Revert "fix(poetry): remove incorrect versionScheme"
This reverts commit da220cbc9e.
2019-12-17 13:49:27 +01:00
Rhys Arkins
da220cbc9e fix(poetry): remove incorrect versionScheme
It should use python’s default of pep440

Fixes #5011
2019-12-17 12:13:28 +01:00
Michael Kriese
aae2519b0c fix(ts): convert worker/repository/init to typescript (#4975) 2019-12-17 07:56:42 +02:00
Rhys Arkins
5cb01d6191 fix: default binarySource to auto 2019-12-16 17:12:53 +01:00
Rhys Arkins
7eb629f43b docs: update config option descriptions 2019-12-15 08:28:13 +01:00
Sebastian Poxhofer
932aeefa40 feat(terraform): Support terraform providers (#4926) 2019-12-15 08:51:00 +02:00
Rhys Arkins
df9101c28b
fix: support hostRules in env (#4985) 2019-12-13 14:51:46 +02:00
Rhys Arkins
66ab41488c
feat: ignoreScripts (#4963)
Adds new `ignoreScripts` config option. If set to true, managers such as npm and composer will skip running install scripts even if trustLevel is configured to high.

Closes #4567
2019-12-11 13:59:03 +02:00
Michael Kriese
ffd28d7aec fix(typescript): convert workers/pr/body to ts (#4938) 2019-12-06 15:41:59 +01:00
Rhys Arkins
2adad0dae6
fix: drop configurable appName (#4931) 2019-12-05 11:55:14 +01:00
Rhys Arkins
1c33d1c101
fix: drop appSlug configurability (#4930) 2019-12-05 10:45:28 +01:00
Rhys Arkins
c7e129cdf6
feat: configurable product links (#4929) 2019-12-05 10:27:29 +01:00
Rhys Arkins
68c5684b89
feat(onboarding): configurable branch and title (#4928)
Adds options onboardingBranch and onboardingPrTitle to allow bot administrators to change the branch name and/or title in oboarding PRs.
2019-12-05 09:39:39 +01:00
Rhys Arkins
5ad362fb21 fix: Revert "fix: refactor appStrings imports"
This reverts commit aec281840b.
2019-12-04 16:44:04 +01:00
Rhys Arkins
aec281840b fix: refactor appStrings imports 2019-12-04 16:18:37 +01:00
Rhys Arkins
c210ad050d fix: Revert "fix: allow app string overrides"
This reverts commit 2a7e8cd117.
2019-12-04 12:52:24 +01:00
Rhys Arkins
2a7e8cd117 fix: allow app string overrides 2019-12-04 12:15:36 +01:00
Rhys Arkins
6d7acf81d7 fix: default git-submodules to false 2019-11-28 21:45:45 +01:00
Jamie Magee
ae2f0f7c84 feat: Initial support for git submodules (#4605) 2019-11-28 20:04:54 +01:00
Rhys Arkins
54a1da4446 fix(config): skip validating compatibility object
Closes #4889
2019-11-27 06:48:49 +01:00
Michael Kriese
d210191fec fix(typescript): convert workers/global to ts (#4883) 2019-11-26 14:05:24 +01:00
Tim Jacomb
cc07563b86 feat(helm): Add repo alias support (#4844) 2019-11-24 12:32:00 +01:00
Rhys Arkins
8d0aa39920 refactor(eslint): '@typescript-eslint/explicit-function-return-type' improvements 2019-11-24 08:43:24 +01:00
Rhys Arkins
473b7e1f4b refactor(eslint): enable @typescript-eslint/no-use-before-define 2019-11-24 05:09:13 +01:00
Rhys Arkins
84d5632bfd feat: promote managers out of alpha/beta to released 2019-11-20 09:02:14 +01:00
Mark Raymond
5d01acc514 feat(nuget): add version scheme (#4749) 2019-11-01 20:10:33 +01:00
Nikita Chashchinskii
f2534bcb56 fix(cargo): set default rangeStrategy to 'bump' (#4751)
It fixes unexpected "downgrading" behavior when updating normal
  versions like `0.9.21`, which are treated as caret ranges by cargo.

  For example if rangeStrategy is 'replace', an update like
  `0.9.21` -> `0.9.22` will result in newValue = `0.9.0`, because
  "caret range" `0.9.0` contains both `=0.9.21` and `=0.9.22`
2019-10-31 08:26:10 +01:00
Rhys Arkins
8b2c24f507 docs: fix persistRepoData description
Closes #4740
2019-10-29 07:20:04 +01:00
Rhys Arkins
c78d6510ea
refactor: use re2 for regex (#4687) 2019-10-22 08:48:40 +02:00
Rhys Arkins
f524557f21 fix: Revert "refactor: use re2 instead of RegExp (#4441)"
This reverts commit ab1c5b20ee.
2019-10-15 10:14:49 +02:00
Sumit Nihalani
ab1c5b20ee refactor: use re2 instead of RegExp (#4441) 2019-10-15 06:51:02 +02:00
Nikita Chashchinskii
0fffbaec1f feat: helm requirements.yaml support (#3805) 2019-10-14 15:54:23 +02:00
Julien SIMON
d1e7c17f25 feat: prCommitsPerRunLimit (#4392) 2019-10-14 13:15:37 +02:00
Rhys Arkins
da9b5e6ebd refactor: increase gradle timeout to 10 minutes 2019-10-13 08:17:52 +02:00
Zach Willard
9d9d7ec84e feat(docker): add insecureRegistry hostRule (#4590) 2019-10-08 09:19:11 +02:00
Daniel Cassidy
5617a3d9c3 fix(rust): Fix failure to update short version numbers (#4276) (#4598) 2019-10-08 06:56:12 +02:00
Rhys Arkins
63a66f46ce chore: do not validate vulnerabilityAlert 2019-10-06 10:53:51 +02:00
Björn Dahlgren
24a9e290fd feat: Allow specifying Docker user (#4578) 2019-10-05 13:56:58 +02:00
Florian Greinacher
53fc7d8a3e feat(gitlab): add support for 'merge when pipeline succeeds' (#4558)
This commit adds (back) support for GitLab's 'merge when pipeline succeeds'
feature. This feature needs to be enabled by bot owners explicitely because
of an possible race condition in current GitLab versions.

Closes #3265
2019-10-05 10:00:32 +02:00
Michael Kriese
e733f759f1 feat(worker): convert 'repository/onboarding' to typescript (#4433) 2019-10-04 09:36:07 +02:00
Sergio Zharinov
982896d5d1 feat: Elixir support (#4496) 2019-10-04 09:13:14 +02:00
Jamie Magee
0c538ebf78 feat(emoji): Adds support for configuring emoji types (#4409) 2019-09-25 11:40:16 +02:00
Gilbert Gilb's
af3cd372aa feat(workers): add option to randomize assignees and reviewers. (#4517)
Closes #4516
2019-09-22 09:19:26 +02:00
Ryan Murfitt
8c9a8f2c48 feat(bitbucket-cloud): Default reviewers (#4501) 2019-09-17 09:48:16 +02:00
Michael Kriese
f243e3cf22 fix(config): fix cyclic imports (#4477) 2019-09-12 08:43:08 +02:00
Michael Kriese
331863d211 feat(platform): remove global platform variable (#4455) 2019-09-10 09:50:29 +02:00
Michael Kriese
79f72f0b5d chore: move clone to utils (#4434) 2019-09-06 06:48:25 +02:00
Rhys Arkins
c3ba80c58f fix: throw baseBranch error from gitFs
Closes #4346
2019-09-05 09:47:53 +02:00
Matouš Dzivjak
b62e68200e fix(github-actions): handle updates of yaml file defined actions (#4420) 2019-09-05 09:10:46 +02:00
Herbert Ng
f103297b2f feat: add prPriority to config (#4401) 2019-09-03 15:52:53 +02:00
Michael Kriese
73f58899c6 fix: typescript types (#4390) 2019-08-28 06:46:48 +02:00
Rhys Arkins
c4e812a2c9 docs: update docs and app references 2019-08-27 13:11:25 +02:00
Rhys Arkins
e6b1d67efb
feat: stabilityDays (#4372) 2019-08-26 10:32:59 +02:00
Michael Kriese
2b11b661ed feat(config): convert to ts (#4299) 2019-08-23 15:46:31 +02:00
Michael Kriese
8073612d85 feat(versioning): Add regex versioner (#4323)
The regex versioner supports arbitrary, user-defined versioning
methods; it provides building blocks in the way of interacting capture
groups within a user-defined regex which can be combined to support
arbitrary use-cases.

Uses a new `versionConfig` option to configure this scheme -- this
feature is enabled dynamically for any new versioner which includes the
optional `configure?(new_config: string)` interface. Warns if used with
an invalid scheme.
2019-08-22 20:09:23 +02:00
Rhys Arkins
11ddd047da fix(config): object definitions 2019-08-16 03:50:06 +02:00
praveshtora
cb9437f72d feat: configWarningReuseIssue (#4101) 2019-08-15 07:41:01 +02:00
Rakesh Tembhurne
d2bb154bd4 feat: Add rebaseConflictedPrs configuration (#4275)
`rebaseConflictedPrs` is used to enable or disable auto-rebase
in case of merge conflicts with the master branch. It is `true`
by default which means branches will be rebased if there are conflicts
in a PR. By setting it to `false`, Renovate no longer will rebase it
with the master branch if there are merge conflicts.

Refer #4184
2019-08-14 05:59:14 +02:00
Rhys Arkins
a8ecc03c08 docs: improve platform-specific option descriptions 2019-08-13 09:54:03 +02:00
Hugo Xu
ba7b3c6693 feat: add option assignAutomerge (#4255) 2019-08-06 12:21:44 +03:00
IKEDA Sho
9b2f4576cd feat(gradle): Add basic Gradle Kotlin DSL support (#4086) 2019-08-04 14:18:05 +03:00
Nihal
5fc1eac45c feat: DroneCI (#4193) 2019-07-31 19:23:18 +02:00
Rhys Arkins
7379d548a9
feat(npm): dockerMapDotfiles (#4219) 2019-07-30 07:43:36 +02:00
Rhys Arkins
f417492730 fix: deprecate unstablePattern
Closes #3929
2019-07-22 21:17:55 +02:00
Richard
1207152cd9 feat: add pruneStaleBranches config option (#4107)
Closes #4106
2019-07-17 14:48:08 +02:00
Michael Kriese
d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
Rhys Arkins
27505b38b3 fix(logger): migrate last refs to ts
Closes #4094, Closes #4095
2019-07-15 15:04:03 +02:00
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
praveshtora
530e8cb036 feat: check for disabled renovate.json before cloning in platfo… (#3965) 2019-07-14 07:45:39 +02:00
Rhys Arkins
0ef94d3f79 feat: suppressNotifications=prValidation
Adds option to suppress PR validations by adding ‘prValidation’ to the ‘suppressNotifications’ array.

Workaround for #4061
2019-07-13 08:03:11 +02:00
praveshtora
64ee44f0d1 feat: Add prcreation == approval (#4032) 2019-07-11 13:48:41 +02:00
Rhys Arkins
733951ab50 logs: Preset fetch error 2019-07-11 09:14:45 +02:00
Mike Bryant
ad3ee49c8b feat: Add support for gitlab-ci include statements (#3946) 2019-07-01 15:43:01 +02:00
Sergio Zharinov
acd318a1d9 feat(swift): Support for Package.swift files (#3911) 2019-06-24 19:43:48 +03:00
Rhys Arkins
dd4eccf618 fix(presets): pass platform-failure up 2019-06-19 11:42:10 +02:00
Matouš Dzivjak
aa70cac628 fix(dockerfile): renovate Dockerfiles with suffix by default (#3941)
Signed-off-by: Matous Dzivjak <matous.dzivjak@kiwi.com>
2019-06-18 15:16:16 +02:00
Rhys Arkins
9a4f2b9eb7 fix(lock-file-maintenance): PR body Changes text 2019-06-11 12:29:14 +02:00
jgarec
3f4e464e2b feat(cli): enable onboarding-config cli option (#3910) 2019-06-11 06:19:05 +02:00
renovate[bot]
dab7b1c314 chore(deps): update dependency prettier to v1.18.0 (#3905) 2019-06-07 06:34:57 +02:00
Rhys Arkins
6c5687ba96
feat: commitBodyTable (#3868)
Adds a table to the commit message body listing all the updates in a commit. Disabled by default for now, so opt in by setting commitBodyTable=true
2019-06-02 10:50:35 +02:00
Rhys Arkins
8fd03d7ae8 feat(pr): better default PR body columns
Drops References column and embeds links in Package column.

Closes #3855
2019-06-01 11:20:38 +02:00
Rhys Arkins
9916c51ad1 fix(npm): escape dep name in diff link 2019-06-01 08:55:52 +02:00
Rhys Arkins
389ceed9a9 fix(npm): diff links via renovatebot.com 2019-06-01 08:38:14 +02:00
Rhys Arkins
fe41748e7b
feat(pr): simpler displayFrom/displayTo logic (#3853) 2019-06-01 08:23:18 +02:00
Rhys Arkins
65c67648aa fix: suppress 'deprecationWarningIssues' 2019-05-30 16:12:27 +02:00
Rhys Arkins
1ed047cd3b fix: pin dependencies groupSlug 2019-05-30 07:49:35 +02:00
Rhys Arkins
06cb50cf10 fix: Revert "fix: Revert "feat(host-rules): configurable timeout""
This reverts commit e3937fa89a.
2019-05-25 19:48:05 +02:00
Rhys Arkins
e3937fa89a fix: Revert "feat(host-rules): configurable timeout"
This reverts commit c9bfccfd9c.
2019-05-25 19:33:13 +02:00
Rhys Arkins
c9bfccfd9c feat(host-rules): configurable timeout
Closes #3640
2019-05-25 17:36:46 +02:00
Rhys Arkins
42becebf23 fix: migrate gitFs on CLI and bot config 2019-05-25 06:59:46 +02:00
Rhys Arkins
439e19d78c
chore: remove all gitFs references (#3807) 2019-05-25 06:23:44 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite (#3801)
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`

Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Sergio Zharinov
bda25d6ca7 feat(clojure): Add basic support for Leiningen and deps.edn (#3685) 2019-05-24 07:29:26 +02:00