Commit graph

5882 commits

Author SHA1 Message Date
Nils Plaschke
90e96805e1
docs: add documentation for forkToken (#9701) 2021-04-24 05:54:00 +00:00
Ross Rasmussen
108a00bad4
fix(terraform): support github repo source url with underscores (#9661)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-04-23 17:32:45 +00:00
Sergei Zharinov
b255275632
refactor(test): Load fixtures with helpers (#9699)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-23 16:58:48 +00:00
Muhammad Rehan Saeed
c862b5b4b5
feat(presets): Add HotChocolate monorepo (#9700) 2021-04-23 12:17:28 +00:00
Sergei Zharinov
5716077f99
refactor: Cache moo lexer instances (#9697) 2021-04-23 12:24:18 +02:00
Nils Andresen
37a8e28229
fix(cake): quoted references (#9692)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-23 07:43:19 +00:00
Florian Greinacher
2cc751a0a1
feat: ignore unavailable users (#9406) 2021-04-22 21:16:58 +02:00
Michael Kriese
8c0f7c12ef
fix(npm): repect allowScripts & ignoreScripts (#9684)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-04-22 15:11:26 +00:00
Michael Kriese
e0488a3ebb
fix(worker): wrong no branch delete on dry-run (#9682) 2021-04-22 16:03:47 +02:00
Rhys Arkins
e0deef3bc2 fix: disallow allowedVersions and matchUpdateTypes
Closes #9172
2021-04-22 09:55:14 +02:00
Rhys Arkins
61abc03a2e
feat(config): validate packageRules matchUpdateTypes combos (#9649) 2021-04-22 07:16:40 +00:00
Rhys Arkins
6232b654be chore: revert hasFancyRefs 2021-04-22 08:47:58 +02:00
Rhys Arkins
572749a398 refactor: artifactUpdateApproach -> skipInstalls
Roll back the previous refactor.
2021-04-22 08:47:58 +02:00
Rhys Arkins
5e3806f3e2 feat(npm): retain npmrc lines without variables (#9484)
Instead of ignoring the entire .npmrc file if it contains environment variables, instead just strip out the necessary lines.

BREAKING: .npmrc files with environment variables will no longer be completely ignore - instead only the lines with variables will be stripped.
2021-04-22 08:47:58 +02:00
Rhys Arkins
d592239410 chore: update snapshot 2021-04-22 08:47:58 +02:00
Rhys Arkins
247fa7b98d feat(docker): enable major updates by default (#9470)
Removes default settings which disabled docker major updates by default.

BREAKING CHANGE: Major updates for docker will now be enabled by default.
2021-04-22 08:47:58 +02:00
Rhys Arkins
3a1980811c feat: group:Nodejs (#9469)
Remove hardcoded Node.js rules from docker extract and instead add group:nodeJs to group:recommended

BREAKING CHANGE: node images founds in Dockerfiles will no longer have hardcoded commitMessageTopic. Add group:Nodejs or config:base to extends for backwards compatibility.
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
ac7a5c4d93 feat: drop dockerMapDotFiles (#9417)
Drops support for dockerMapDotfiles

BREAKING CHANGE: dockerMapDotfiles is no longer supported
2021-04-22 08:47:58 +02:00
Rhys Arkins
cbf8ea4e55 feat(config): delay preset resolution until after platform initialization (#9415)
Delay config preset resolution in admin config until after platform initialization. This will enable resolution of private “local>…” presets to work.

BREAKING CHANGE: Config presets will be resolved after platform initialization, so from now on platform credentials cannot be placed in presets.
2021-04-22 08:47:58 +02:00
Rhys Arkins
e7b5be9a15 feat(npm): remove ~/.npmrc support (#9400)
Drops support for reading `.npmrc` from the bot's home directory.

BREAKING CHANGE: Renovate will no longer read from ~/.npmrc. Configure `npmrc` in config instead.
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
Sebastian Poxhofer
0f3faff278 feat(terraform): rework dep types (#9116)
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
2021-04-22 08:47:58 +02:00
Rhys Arkins
0500042d1d feat: updateType=patch (#9393)
Changes behavior so that patch updateType is not rewritten to minor by default.

Closes #2818

BREAKING CHANGE: patch updates are not considered updateType=minor by default.
2021-04-22 08:47:58 +02:00
Rhys Arkins
13bbc5d6a2 feat(config): remove manager additionalBranchPrefix defaults (#9373)
Resets any language or manager` additionalBranchPrefix` values to empty string. Add the `compatibility:additionalBranchPrefix` prefix to restore previous behavior.

BREAKING CHANGE: Removal of default `additionalBranchPrefix` values will cause branch names to change for docker/helm/buildkite/cargo/homebrew.
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
95ac10998c feat: remove logLevel support in config (#9390)
Remove support for logLevel in config. Must be configured using LOG_LEVEL instead.

Closes #8291

BREAKING CHANGE: Configure LOG_LEVEL in env and not in config or CLI
2021-04-22 08:47:58 +02:00
Rhys Arkins
57015047b2 feat: drop NPM_TOKEN support (#9391)
Removes support for NPM_TOKEN.

BREAKING CHANGE: Do not use NPM_TOKEN in env to configure npm authentication. Configure hostRules instead.
2021-04-22 08:47:58 +02:00
Rhys Arkins
1a1ace919e feat: remove RENOVATE_LEGACY_GIT_AUTHOR_EMAIL (#9389)
Removes RENOVATE_LEGACY_GIT_AUTHOR_EMAIL support. 

Closes #9111

BREAKING CHANGE: RENOVATE_LEGACY_GIT_AUTHOR_EMAIL is no longer supported. Use `ignoredAuthors` in config instead.
2021-04-22 08:47:58 +02:00
Rhys Arkins
07affef41c fix(npm): run full install if npm: refs found
Closes #9654
2021-04-21 10:51:17 +02:00
Sergei Zharinov
2d04ae6bc3
refactor(http): Import proper OutgoingHttpHeaders on all http clients (#9653) 2021-04-20 18:31:43 +02:00
Sergei Zharinov
4f237ea680
refactor(http): Use default "accept-encoding" value (#9652) 2021-04-20 15:37:57 +02:00
Sergei Zharinov
b957d4afb7
refactor(config): Extract interfaces from "index.ts" to separate "types.ts" (#9629) 2021-04-20 10:52:57 +02:00
Rhys Arkins
f630963e66
logs: hostRules add/clear (#9644) 2021-04-20 10:52:38 +02:00
Rhys Arkins
f654f2d945
fix: Revert "feat: Allow multiple autodiscover filter (#9453)" (#9641)
This reverts commit 45739cddfd.
2021-04-20 06:59:42 +00:00
Rhys Arkins
9a306048a9
fix: rangeStrategy=replace with lockedVersion (#9634) 2021-04-20 04:56:16 +00:00
Sebastian Poxhofer
df2f451e37
fix(terraform): handle greater than with full version (#9632) 2021-04-19 21:43:13 +02:00
Sergei Zharinov
8b8d7767bc
fix(npm): Widen range only if necessary (#9630) 2021-04-19 18:15:46 +02:00
Sergei Zharinov
0355a75800
refactor(config): Move input config from util folder (#9625)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-19 15:03:04 +00:00
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