Commit graph

1961 commits

Author SHA1 Message Date
Rhys Arkins
d0434d5df1 chore: GlobalConfig -> AllConfig 2021-06-02 11:25:10 +02:00
Sergei Zharinov
1b6ecd87c0
refactor: move binarySource option to admin config (#10022) 2021-06-02 06:50:23 +00:00
HonkingGoose
faa040ac12
feat(config): add fontsource monorepo (#10208) 2021-05-28 09:15:12 +00:00
Rhys Arkins
4eae87d881
fix(config): validate secrets as plain object (#10206)
Closes #10205
2021-05-28 10:04:26 +02:00
Michael Kriese
3c7546f7cd
test: simplify nock handling (#10170) 2021-05-27 14:13:31 +02:00
renovate[bot]
2f544b1fb2
build(deps): update dependency commander to v7 (#10175)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-26 13:36:50 +00:00
Rhys Arkins
79592f848a
fix: Revert "refactor: localDir -> cloneDir" (#10166)
This reverts commit 0b287c763d.
2021-05-26 11:22:16 +00:00
Rhys Arkins
0b287c763d
refactor: localDir -> cloneDir (#10158) 2021-05-26 10:30:23 +02:00
HonkingGoose
5731da899b
fix(config): workaround for Repology server overload (#10146) 2021-05-26 05:43:34 +00:00
Rhys Arkins
66820cfe27
feat: migratePresets (#10111) 2021-05-22 23:47:28 +02:00
Rhys Arkins
42a846e867 fix(config): filter npm_ env 2021-05-21 13:30:30 +02:00
Rhys Arkins
5d647da0a3
fix: @types/node presets in config:base (#10085)
No longer disable @types/node major updates, instead use node versioning.
2021-05-20 14:02:46 -07:00
Michael Kriese
48af0da981
fix: validate customEnvVariables (#10070) 2021-05-20 12:25:22 +02:00
Rhys Arkins
22e982503c
feat(config): convert datasource env to hostRules (#9698) 2021-05-20 08:34:17 +00:00
Fredrik Blomqvist
9f894ce814
feat(git): Add gitNoVerify option (#9676)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-19 16:05:29 +02:00
Rhys Arkins
9ebf804d4e fix(cache): cacheDir adminConfig 2021-05-19 12:27:37 +02:00
HonkingGoose
e5afaf5990
fix(config): fix typo in chakra-ui repoGroups name (#10041) 2021-05-19 08:40:23 +00:00
Sergei Zharinov
fbbbce608e
chore: Configure fs local dirs via admin config (#9990)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-17 13:21:28 +00: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
Michael Kriese
9e08eaa1dc
refactor: rename Error location to validationSource (#10018) 2021-05-17 07:40:54 +00:00
Rhys Arkins
f0a193dc13 fix(config): drop non-selectors when cloning rules 2021-05-15 14:44:47 +02: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
Rhys Arkins
50ab6b4bfd
docs: expand requireConfig (#9973) 2021-05-13 16:09:50 +02:00
Michael Kriese
9ca604b345
refactor: extract more types (#9959) 2021-05-11 19:08:02 +02:00
Michael Kriese
7daa93a78d
refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Rhys Arkins
1bc09b0bfc
feat: internalChecksFilter (#9796) 2021-05-08 14:38:27 +02:00
Rhys Arkins
13112b75bb
fix: separate patch branchName only if separateMinorPatch=true (#9901) 2021-05-07 10:01:16 +00:00
Rhys Arkins
856b28841d
feat: hostRules.matchHost (#9815)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-06 07:57:44 +00:00
Yusuke Fujiki
c9c961c10a
feat(config): add 'chakura-ui' monorepo (#9881) 2021-05-05 21:25:53 -07:00
Rhys Arkins
65bbf45319
fix(validation): only warn when extending group in rules (#9871) 2021-05-05 17:46:34 +02:00
Rhys Arkins
e0fa64db9b
fix(config): warn not error if extending group presets (#9836) 2021-05-04 08:02:39 +02:00
Tiago Martins
8c07d4d757
feat: Add setting to auto approve PRs in Azure DevOps (#9702)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-05-03 23:48:59 +00:00
Rhys Arkins
ffd0269ab6
fix(config): nested packageRules migration (#9814) 2021-05-01 23:01:26 +02:00
Rhys Arkins
915bd15ce9 chore: fix HostRule type 2021-05-01 22:52:10 +02:00
Sergei Zharinov
38620be343
refactor: Replace some TODO items with issue ids (#9596) 2021-04-26 20:19:30 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Muhammad Rehan Saeed
a91c85317a
Add Open Telemetry Dotnet monorepo (#9710) 2021-04-24 22:25:52 +02:00
Nils Plaschke
90e96805e1
docs: add documentation for forkToken (#9701) 2021-04-24 05:54:00 +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
Florian Greinacher
2cc751a0a1
feat: ignore unavailable users (#9406) 2021-04-22 21:16:58 +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
572749a398 refactor: artifactUpdateApproach -> skipInstalls
Roll back the previous refactor.
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
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
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
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
f654f2d945
fix: Revert "feat: Allow multiple autodiscover filter (#9453)" (#9641)
This reverts commit 45739cddfd.
2021-04-20 06:59:42 +00: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
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
Rhys Arkins
6f54f09aa2
feat: don’t block updates due to pinning (#9600) 2021-04-18 17:27:41 +02:00
Rhys Arkins
ccf1bc8264
refactor: rollback config (#9589) 2021-04-17 11:53:03 +00:00
Arkadiusz Kosmala
b070646186
feat(config): validate enabledManagers 2021-04-15 09:18:51 +00:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00: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
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
Sergei Zharinov
b160644db7
feat(preset): Support Azure local presets (#9458) 2021-04-08 19:49:46 +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
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
Rhys Arkins
6443902da9 chore: remove unused customPrFooter 2021-04-06 16:06:26 +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
Rhys Arkins
88ae12a65d
feat(config): validate config parent (#9350) 2021-04-05 10:41:31 +00:00
Rhys Arkins
0cb45ddbf3
feat: ENV_PREFIX (#9397) 2021-04-05 09:19:08 +00:00
Rhys Arkins
3e22ad0ca3
feat(config): support RENOVATE_CONFIG (#9374) 2021-04-04 15:33:22 +02:00
Rhys Arkins
20147e30b9
feat: packageRules.matchPackagePrefixes (#9365) 2021-04-03 05:18:25 +00:00
Rhys Arkins
95bf948020
refactor: config warning/error fields (#9349) 2021-04-01 15:50:17 +02:00
Matt Palmer
49a3a8ab27
feat(gomod): Update source import paths on major upgrade (#9144) 2021-03-27 06:02:32 +00: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
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
Armaan Tobaccowalla
e5c92e4cd9
feat(config): Support presets in subdirectories (#8724) 2021-03-20 23:03:10 +00: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
bca8931d53
fix(npm): datasource improvements (#9178) 2021-03-17 14:40:50 +01:00
renovate-testing
ea0bcdd185
feat(git): Specify additional git authors to ignore (#9082) 2021-03-14 09:27:40 +01:00
Rhys Arkins
edfac73a08
refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00
Michael Kriese
a4c6cb5690
fix: wrong validation property (#9084) 2021-03-11 15:40:31 +01:00
Rhys Arkins
3357e6333d
refactor: Object.assign -> object spread (#9076) 2021-03-11 08:03:37 +01:00
Rhys Arkins
d4d0e74c7a
refactor: dequal (#9071) 2021-03-10 23:04:12 +01:00
Michael Kriese
607b151f0e
feat(http): support custom auth types (#9053) 2021-03-09 19:25:18 +01:00
Daniel Tschinder
9ee984b2b3
chore: fix typo in switchToGradleLite description (#9027) 2021-03-08 05:28:38 +01:00
Rhys Arkins
30537d6849 feat: gradle-list enablement 2021-03-07 22:39:58 +01:00
Rhys Arkins
eb8f895f2e
refactor: eslint no-negated-condition (#8973) 2021-03-04 06:21:55 +01:00
Rhys Arkins
f2bd0f9d7d fix(logs): ensure logFile parent directory exists 2021-03-03 09:40:39 +01:00
Rhys Arkins
370715cace fix: throw for config file TypeError 2021-03-03 09:40:38 +01:00
Michael Kriese
74d7691bef
refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Michael Kriese
91a7e6b660
build: remove babel (#8929) 2021-03-02 16:16:05 +00:00
Rhys Arkins
98d55394e6
feat: transitiveRemediation (#8883)
* save remediations

* enhance and export NpmResponse

* sort branch lists

* transitive remediation init

* update-lockfile not bump

* version not value

* remediate package.json

* isVulnerabilityAlert

* simplify config

* fix circular

* update snapshots

* add config and docs

* TODO

* flatten tests

* remediation -> update

* lots of renames

* improve readability

* refactor

* remove fetch

* more tests

* reduce fiixtures sizes

* more tests

* fix parent null

* remove exec

* explicit false

* fix

* Apply suggestions from code review

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

* use type-fest PackageJson

* more tests

* coverage

* Update lib/workers/branch/get-updated.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-01 07:59:57 +00:00
HonkingGoose
4292f51739
docs: list allowed values for matchStringsStrategy (#8896) 2021-02-27 12:34:44 +00:00
Rhys Arkins
c3c04ba4a1 chore: set updateInternalDeps explicitly false 2021-02-25 11:58:11 +01:00
Rhys Arkins
7f75e5768b refactor: vulnerabilityAlert -> isVulnerabilityAlert 2021-02-24 15:13:41 +01:00
Rhys Arkins
b294b73769 fix: use update-lockfile for vulnerabilityAlerts 2021-02-24 14:35:45 +01:00
Matt Palmer
384a1e7384
feat(regex): support registryUrlTemplate (#8611) 2021-02-24 12:58:15 +01:00
Rhys Arkins
9171e712d4
feat: updateInternalDeps (#8809) 2021-02-22 15:09:35 +00:00
Rhys Arkins
c2029ec1d0
feat: enable node major updates (#8806) 2021-02-22 14:13:51 +01:00
Rhys Arkins
a456c8b5ab fix: rangeStrategy=bump for npm vulnerabilities 2021-02-22 11:18:46 +01:00
Rhys Arkins
5c5e00cdf8 fix: allow vulnerabilityAlerts to override branchTopic, prCreation 2021-02-22 11:08:39 +01:00
Rhys Arkins
6b494027b6
feat: matchFiles (#8769) 2021-02-19 16:29:50 +01:00
Kieran
a719136752
feat: add require to semanticPrefixFixDepsChoreOthers (#8738)
* feat: add require to semanticPrefixFixDepsChoreOthers

* update snapshots

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-02-18 04:54:37 +00:00
Rhys Arkins
68f89c4816 fix: Revert "build(deps): update dependency commander to v7 (#8676)"
This reverts commit 083755161b.
2021-02-16 16:17:19 +01:00
Sergei Zharinov
64f93ec2a7
feat(presets): Restrict internal presets validation (#8382) 2021-02-16 15:10:02 +00: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
Michael Kriese
d9ca0a3c2b
feat(preset): add pnpjs monorepo (#8696) 2021-02-15 11:52:00 +01:00
renovate[bot]
083755161b
build(deps): update dependency commander to v7 (#8676) 2021-02-15 08:56:50 +01:00
Daniel Tschinder
cb8a94bfef
feat: add playwright to monorepo grouping (#8648) 2021-02-11 15:17:22 +01:00
matbest1
89ed1c526b
feat: add 'MassTransit' monorepo (#8645) 2021-02-11 12:58:07 +01:00
Jeremy Hayes
c8835cb2f5
feat: add 'aspnet-api-versioning' monorepo (#8636)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-02-11 05:37:05 +00:00
Jeremy Hayes
e102b36fc2
feat: add 'Steeltoe' monorepo (#8635)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-02-11 05:24:16 +00:00
Jeremy Hayes
bfa87da0cb
feat: add 'Hangfire' monorepo (#8634) 2021-02-11 06:08:28 +01:00
Rhys Arkins
855db036d5
fix: rename baseDir to packageFileDir for templating (#8625) 2021-02-10 23:39:06 +00:00
Jeremy Hayes
5ed94a4923
feat: add 'dotnet' monorepo (#8620) 2021-02-10 15:58:52 +01:00
Jeremy Hayes
9bd54c86f8
feat: add ngular-eslint monorepo (#8618)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-02-10 04:44:18 +00:00
HonkingGoose
d15933d382
docs: shorten description allowedPostUpgradeCommands (#8603) 2021-02-09 14:01:39 +01:00
Rhys Arkins
78551afdec chore: LegacyAdminConfig 2021-02-07 22:13:55 +01:00
Rhys Arkins
f21b761572 chore: GlobalOnlyConfig 2021-02-07 22:12:54 +01:00
Rhys Arkins
80fd1fe0d6 refactor: move customEnvVariables to admin config 2021-02-07 22:07:16 +01:00
Rhys Arkins
d203def3d0 refactor: baseDir to global config 2021-02-05 22:35:03 +01:00
Rhys Arkins
88f5414485 refactor: configWarningReuseIssue type 2021-02-05 22:24:20 +01:00
Rhys Arkins
6fa37294cf refactor: dryRun admin config 2021-02-05 22:21:24 +01:00
Rhys Arkins
675bd2604f chore: move postUpdateOptions 2021-02-05 17:55:37 +01:00
Rhys Arkins
c80165dd11 fix: move privateKey to admin config 2021-02-05 17:53:50 +01:00
Rhys Arkins
8be1f04198 chore: move privateKeyPath to global config 2021-02-05 17:37:31 +01:00
Rhys Arkins
90db7e28a6
feat(config): delete after setting admin config (#8557) 2021-02-05 16:08:52 +00:00
Rhys Arkins
878d9db983 chore: config type comments 2021-02-05 15:19:51 +01:00
Rhys Arkins
d00d1e8b5b refactor: more GlobalConfig 2021-02-05 12:43:26 +01:00
Rhys Arkins
4e1271b702
fix(config): move trustLevel to admin config (#8555) 2021-02-05 12:30:01 +01:00
Michael Kriese
8eccebc424
refactor(go): Remove depNameShort usage (#8076) 2021-02-05 11:56:40 +01:00
Rhys Arkins
3756f2aec3 refactor: GlobalConfig type 2021-02-05 10:49:34 +01:00
Rhys Arkins
25f43fd1d7
refactor: move post upgrade commands to repo admin config (#8552) 2021-02-05 09:58:48 +01:00
Rhys Arkins
4e2c33f10e
feat: admin config init (#8546) 2021-02-05 09:20:47 +01:00
Rhys Arkins
5490c3d9d0 chore: remove unused config.global 2021-02-04 14:49:33 +01: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
9d586b090b
feat: regexManagers presets (#8536) 2021-02-04 09:39:43 +01:00
Rhys Arkins
03dae5a5e9 fix: don’t filter template fields when validating 2021-02-03 16:33:28 +01:00
Rhys Arkins
83a511a08c fix: loosen newXMajor migration 2021-02-03 16:08:35 +01:00
Tobias Bieniek
ee178df01a
feat: hashedBranchLength option (#8502) 2021-02-03 15:48:54 +01:00
Rhys Arkins
1914a2eaf7 fix: expose more fields to templates 2021-02-03 15:02:36 +01:00
Rhys Arkins
40242fc0b5 logs: warn for config warnings 2021-02-02 13:13:13 +01:00
Joël Galeran
fe8b3e1ad2
feat: add redwood monorepo (#8498) 2021-02-02 12:35:21 +01:00
Rhys Arkins
f9217501a3 fix(config): make vulnerabilityAlerts mergeable 2021-02-02 07:19:04 +01:00
Rhys Arkins
800a3d15ca fix(validation): allow description in regexManagers 2021-02-01 07:03:38 +01:00
HonkingGoose
fb72b5baf8
chore: fix punctuation plus other small fixes (#8463) 2021-01-30 11:12:14 +01:00
HonkingGoose
2cd92c1a88
chore: small fixes to descriptions (#8455)
* chore: small fixes to descriptions

* http -> HTTP

* revert to lowercase npm

Co-authored-by: Rhys Arkins <rhys@arkins.net>

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-01-29 15:05:14 +01:00
Sergei Zharinov
72b0b85640
feat(config): Rename packageRules selectors (#6939) 2021-01-29 11:43:42 +01:00
Nicolas Da Mutten
6984a02f87
fix(config): Support local presets in bot admin config (#8195) 2021-01-29 10:54:55 +01:00
HonkingGoose
94e1d14004
feat: add preset to opt-out of rebase checkbox within PRs (#8390) 2021-01-25 07:29:20 +01:00
Michael Kriese
419c916e1e
fix(preset): remove invalid reference (#8370) 2021-01-21 14:01:13 +01:00
Sergei Zharinov
6e84bb1780
fix(ivy): Make the versioning implementation more precise (#8363) 2021-01-21 12:35:36 +01:00
Rhys Arkins
6cf8735204 build: add junit5 monorepo 2021-01-21 08:28:41 +01:00
HonkingGoose
dbd7a0d73f
chore: remove old TODO comment (#8351) 2021-01-20 10:10:45 +01:00
Michael Kriese
434fdbd4be
feat: deprecated logLevel option (#8301)
* feat: deprecated logLevel option

* feat: deprecated logLevel option

* docs: update logging

* fix: remove log level env option

* Update warn

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-01-19 09:29:45 +00:00
Rhys Arkins
22245ceff7
tests: fix coverage (#8340) 2021-01-19 09:15:31 +00:00
Halil İbrahim Şener
207b177d60
feat: customEnvVariables (#8321)
Introduces a new option to pass custom environment variables to child processes. So that users can provide/override environment variables to influence executions, e.g. setting MAVEN_OPTS or passing credentials for private registries for the locking process.
2021-01-19 09:11:45 +01:00
Rhys Arkins
e77253208e fix: Revert "feat: deprecated logLevel option (#8293)"
This reverts commit 76ada5e7d5.
2021-01-14 15:12:53 +01:00
Michael Kriese
76ada5e7d5
feat: deprecated logLevel option (#8293)
* feat: deprecated logLevel option

* feat: deprecated logLevel option

* docs: update logging
2021-01-14 12:11:23 +00:00
Sergei Zharinov
2d7a0dad2f
fix(sbt): Ignore http4s digest-based milestone releases (#8282) 2021-01-14 08:47:42 +01:00
Markus Tacker
8c974915c8
feat(monorepo): add aws-sdk-js-v3 (#8249)
This adds https://github.com/aws/aws-sdk-js-v3 as a monorepo.
2021-01-11 12:50:25 +01:00
Sergei Zharinov
746d170824
feat(limits): Add "branchConcurrentLimit" option (#8046)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-01-10 13:29:14 +01:00
HonkingGoose
c2ee26c3fc
feat: add yearly schedule to presets (#8228) 2021-01-10 12:39:39 +01:00
Jérémie Astori
347f68d838
fix(presets): add @cds packages to the Clarity pattern group (#8219)
Clarity is currently migrating their projects to the @cds scope, and keep the @clr ones as well. Now that we have migrated to the @cds packages, we're back to having separate PRs 😅
2021-01-08 05:51:22 +01:00
Rhys Arkins
38709c6321
fix: add sbt latest.integration workaround (#8209)
Works around #8208
2021-01-07 14:39:23 +01:00
Leif Segen
964f1e71c4
fix: Update help URLs due to archiving of renovatebot/config-help repo (#8084)
* Update help URLS

* Update help URLS

* Make changes consistent

* Fix typo
2020-12-19 08:12:09 +01:00
Rhys Arkins
116693be64
fix: Revert "feat: secrets" (#8069)
This reverts commit ec1b3c386b.
2020-12-18 15:33:21 +01:00
Rhys Arkins
ec1b3c386b
feat: secrets (#6664) 2020-12-18 13:38:28 +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
55cc5dd9b3 fix(presets): restore unpublishSafe 2020-12-13 09:46:57 +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
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
Rhys Arkins
8ec93ef764
refactor: remove packageRules nesting from internal presets (#7960) 2020-12-11 13:10:07 +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
Sergei Zharinov
663117beab
feat(http): Support for per-host http concurrency limits (#6983) 2020-12-11 10:09:09 +01:00
Rhys Arkins
df5d27b7d8
chore(presets): remove workaround for actions/setup-node (#7934) 2020-12-10 09:29:11 +01:00
Michael Kriese
f18b7f3504
feat(gitea): support presets (#7920)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2020-12-09 13:31:06 +01:00
Fernando Mora
858af635e6
fix(sbt-package): Add sbt-package to mavenCommonsAncientVersion (#7905)
Given that `sbt-package` datasource is using an underlying maven one, same problem is happening here with sbt.
It makes sense to add `sbt-package` datasource to `mavenCommonsAncientVersion` workaround.
2020-12-08 05:46:22 +01:00
Alex Ruffo
b7495330c0
feat: customize onboarding file name (#7866) 2020-12-07 10:14:46 +01:00
Fernando Mora
693f58e178
feat(config): Add mergeable addLabels option (#7869)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-03 15:20:09 +01:00
Rhys Arkins
54c8f2e588
feat: ignorePrAuthor (#7853)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-02 15:01:48 +01:00
Sergei Zharinov
16e5e46882
fix(maven): Make generic workaround for very old versions (#7837) 2020-11-28 19:12:08 +01:00
Sebastian Poxhofer
405cb8f29b
feat(regex): matchStringsStrategy (#7687)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-11-27 06:55:57 +01:00
Rhys Arkins
91bc90c795
feat(maven): workaround for spring cloud numeric versions (#7818) 2020-11-25 21:54:43 +01:00
Sergei Zharinov
8ff8669ae5
fix(maven): Add workaround for ancient commons-cli version (#7780)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-11-22 15:48:37 +01:00
Rhys Arkins
378618eb7b fix: separate angularfire from angular monorepo
Fixes #7771
2020-11-20 06:07:49 +01:00
Michael Kriese
ac124f453e
fix(github): fully support ghe for releases and tags datasource (#7752)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-11-19 11:05:56 +01:00
Rhys Arkins
5d99ff9862
refactor: convert all path to upath (#7712) 2020-11-12 21:46:08 +01:00
Sergio Zharinov
8d0f7dddd2
feat(package-rules): matchCurrentVersion regular expressions (#7684) 2020-11-12 08:21:05 +01:00
Rhys Arkins
e0bf8814ac
feat: workarounds presets (#7695) 2020-11-11 14:06:46 +01:00
Mike Bryant
ad50398fb3
feat(helmv3): Add support for bumpVersion (#7670) 2020-11-10 22:06:34 +01:00
Igor Katsuba
b22ea768fc
feat: allow compilation of post-upgrade commands (#7632)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-11-10 14:25:37 +01:00
Sergio Zharinov
fe83cf914e
refactor(config): Generalize allowedVersions regex (#7683) 2020-11-10 10:12:03 +01:00
Kyℓe Hensel
86e36c7f0f
feat(preset): add nivo monorepo (#7675) 2020-11-07 09:23:48 +01:00
Jamie Magee
9788a0a0e3
feat(git-submodules): add cloneSubmodules configuration option (#7644) 2020-11-04 15:39:21 +01:00
Rhys Arkins
2f471b415a
fix(presets): add patternGroups rule for clarity monorepo (#7618)
References:

- https://github.com/renovatebot/renovate/issues/7617
- https://github.com/vmware/clarity/issues/5235
2020-10-31 08:01:13 +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
3bffe6fae7
fix: support constraints.node override (#7561)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-27 09:01:48 +01:00
Rhys Arkins
c2f914028b fix(config): don’t validate force.constraints 2020-10-27 08:13:23 +01:00
andrea11
424fc9ce49
fix(bitbucket-server): remove / from url for local presets (#7539) 2020-10-24 17:06:20 +02:00
andrea11
264b150ba5
improve debug message (#7530)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-10-23 17:03:12 +02:00
Josh Soref
9aff7a955f
chore: spelling (#7499) 2020-10-20 08:49:28 +02:00
Jean-Michel Leclercq
bb9e30f64a
feat: New Configuration option fetchReleaseNotes (#7404) 2020-10-19 10:05:05 +02:00
Rhys Arkins
082f1ba03f
fix: regex manager filematch validation (#7500) 2020-10-19 09:33:54 +02:00
Sergio Zharinov
8fc712d7b0
feat(config): Validate parent of fileMatch field (#7492)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-18 07:56:16 +02:00
Rhys Arkins
97dad2da76 fix(config): explicitly config error for proto 2020-10-16 10:23:50 +02:00
IKEDA Sho
f52fe033de
feat(preset): add googleapis packages and group presets (#7419) 2020-10-12 08:02:50 +02:00
Lukas
5bbbb7a972
feat(preset): add feathersjs monorepos (#7442) 2020-10-11 08:13:33 +02:00
Joe Athman
dae7eadf14
feat: add the Resilience4j libraries as a package grouping (#7426) 2020-10-08 07:03:59 +02:00
Rhys Arkins
1cfc7cc300 docs: clarify allowedVersions syntax
Closes #7424
2020-10-07 16:31:35 +02:00
Mike Bryant
40852754aa
feat: Add organization-level presets (#7403)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-06 22:02:35 +02:00
Rhys Arkins
75737805c8
refactor: rename compatibility -> constraints (#7308) 2020-09-30 11:02:25 +02:00
Tobias Bieniek
cb5da4bac2
fix(group/glimmer): Fix glimmer grouping config (#7326) 2020-09-18 22:40:57 +02:00
Rhys Arkins
62bc64970a
feat: extractVersion (#7307)
Adds a new option extractVersion which allows for extracting a substring of raw versions from datasources, to be used as the actual version.

Closes #7297, Closes #6793
2020-09-17 10:06:06 +02:00
Rhys Arkins
953101bf15
fix: don’t force cli token or hostRules (#7303)
Closes #7298
2020-09-16 16:34:18 +02:00
Jérémie Astori
ba71eff36d
feat(preset): add the formatjs monorepo (#7294) 2020-09-16 06:33:36 +02:00
Robert Lin
cd57b3e3df
fix: do not override config.force with forceCli (#7274) 2020-09-15 10:17:44 +02:00
jgarec
662a249ba0
fix(migration): do not migrate semanticCommits if not necessary (#7280) 2020-09-15 06:34:00 +02:00
Tobias Bieniek
e872011546
feat: Add ember-template-lint to packages:linters preset (#7259) 2020-09-12 13:34:11 +02:00
Tobias Bieniek
b0cfbbae98
feat: Add @embroider monorepo (#7256)
see https://github.com/embroider-build/embroider/
2020-09-12 13:09:50 +02:00
Tobias Bieniek
02936d4650
feat: Add group:glimmer (#7257)
from https://github.com/glimmerjs/glimmer.js/tree/master/packages/%40glimmer

Note that not all packages should be included since these two are the only ones that are currently considered stable and officially used in Ember.js
2020-09-12 13:09:38 +02:00
Tobias Bieniek
c474d717b0
feat: Add ember-exam|qunit|mocha to packages:jsUnitTest preset (#7260) 2020-09-12 13:09:26 +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
Shotaro Watanabe
487753a71b
feat(preset): add reg-suit monorepo (#7248) 2020-09-11 06:45:37 +02:00
Michael Kriese
0503ad7c7a
feat: add docker image prefix (#7164)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-08 12:59:47 +02:00
ylemkimon
efafeea3c4
fix(preset): add istanbuljs monorepo (#7201)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-08 07:00:19 +02:00
renovate[bot]
907b2b054e
chore(deps): update linters (major) (#7185)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-07 09:54:07 +02:00
Tim Gatzemeier
ee5e0ad162
feat: add privateKeyPath to support reading PK from file (#7158)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:42:33 +02:00
Lukas
b21530bb16
feat(preset): add fullcalendar monorepo (#7182) 2020-09-04 12:14:26 +02:00
Christian Murphy
63b487aad1
feat(preset): add lrnwebcomponents monorepo (#7172) 2020-09-03 17:31:52 +02:00
Rhys Arkins
1627db8c3f
refactor: simplify baseBranchSha, reduce checkouts (#7159) 2020-09-01 18:32:58 +02:00
Rhys Arkins
bb708262c8 refactor: remove defaultBranchSha from repo init 2020-09-01 17:10:58 +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
Tane Morgan
4924b3cb39
Add prisma monorepo (#7129) 2020-08-29 09:17:36 +02:00
Tobias
aeb3b1d207
feat(preset): add date-io monorepo (#7127) 2020-08-28 22:46:22 +02:00
Julien Poissonnier
d78dc8f01c
feat(config): Add support for prBodyTemplate (#7122)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-28 09:27:31 +02:00
Julien Poissonnier
9be76acd56
feat(config): Make baseBranches configurable via env var (#7123) 2020-08-27 16:45:05 +02:00
jparnone
67a8fe519d
feat(config): Added option "onboardingCommitMessage" (#6997)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-26 15:00:45 +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
Damien Varron
3437ebac7a
feat(presets): add Reach UI monorepo (#7082)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-24 20:54:05 +02:00
Jamie Magee
5c1947108d
test: feature support for prs rarer than 1 month (#7033) 2020-08-24 10:43:21 +02:00
Michael Kriese
5488db85a5
fix(bitbucket-server): wrong contents fetch (#7029)
* fix(bitbucket-server): wrong contents fetch

* fix: wrong string join
2020-08-19 13:49:52 +02:00
Michael Kriese
13bedd5c80
feat(presets): local bitbucket-server presets (#7000) 2020-08-19 08:58:38 +02:00
Rhys Arkins
92fc56784a chore: add defaultBranchSha to RenovateConfig 2020-08-18 15:39:58 +02:00
Rhys Arkins
1a8a381c4f fix: very string value before startsWith 2020-08-11 17:38:59 +02:00
Michael Kriese
bbea59939e
feat: add http2 option (#6957) 2020-08-11 11:53:23 +02:00
Rhys Arkins
fc21a76833 fix: harden startsWith checks 2020-08-11 08:08:16 +02:00
renovate[bot]
ccf286240e
chore(deps): update linters (major) (#6769)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-10 16:18:08 +02:00
Daniel Hochman
8df4694708
feat(preset): add docusaurus monorepo (#6914) 2020-08-04 20:10:49 +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
0823b14a5f
feat: dependency dashboard header and footer (#6839)
Adds the ability to customize the dependency dashboard contents through customizable header and footer.
2020-07-23 15:35:43 +02:00
Rhys Arkins
5e945db707 fix(presets): pass rate limit up 2020-07-23 14:23:26 +02:00
Rhys Arkins
ae43b51391
feat: change default bot email (#6740) 2020-07-22 20:11:22 +02:00
Rhys Arkins
d3ce8d7693 fix: migrate string to boolean for masterIssue
Closes #6819
2020-07-22 19:11:52 +02:00
Rhys Arkins
8f7d2bad5e fix(validation): matchCurrentVersion is a valid selector 2020-07-22 08:32:01 +02:00
Michael Kriese
9b4bff0051
fix(internal): fix linting (#6803) 2020-07-22 07:45:57 +02:00
Jamie Magee
456245aabe
chore(eslint): enable typescript 3.7 rules (#6765) 2020-07-18 08:42:32 +02:00
Rhys Arkins
bb10d784e7
refactor: platform.initRepo return defaultBranch not baseBranch (#6737) 2020-07-12 21:30:11 +02:00
Rhys Arkins
a8f27e0bf3
feat: dependencyDashboard (#6729) 2020-07-11 11:55:30 +02:00
Rhys Arkins
e95bd0ba3d
feat(host-rules): add support for disabling hosts (#6715)
* feat(host-rules): support disabling hosts

Adds “enabled” to the list of recognized configuration options for hostRules. A host or domain can be disabled by setting `”enabled”: false` within the host rule. Also added presets :disabledHost() and :disableDomain().

* docs

* tests

* Update configuration-options.md

* fixes
2020-07-09 17:34:26 +02:00
Rhys Arkins
1663058426
feat(pr): pr edited body not comment (#6695) 2020-07-07 14:30:45 +02:00
Jeff Fairley
ed13e22b6c
fix(presets): include '@typescript-eslint' with eslint preset (#6687)
* fix(presets): include '@typescript-eslint' with eslint preset

This updates the eslint package preset to include the @typescript-eslint monorepo. This is a suite of plugins and configs that enables eslint to support typescript.

* test(presets): update eslint test snapshots and expectations
2020-07-06 19:48:29 +02:00
Rhys Arkins
53c99a7993 fix: gitPrivateKey stage global 2020-07-03 15:33:34 +02:00
Rhys Arkins
ae0fb696b4
refactor: github presets use util/http/github (#6658) 2020-07-03 07:27:00 +02:00
Rhys Arkins
4506497ea9 test: use 404/200 for github preset 2020-07-03 07:05:17 +02:00
Rhys Arkins
d70b8c1f2f
feat: repositoryCache (#6589)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-29 15:51:22 +02:00
Rhys Arkins
031ad87b62 refactor: move ExternalHostError 2020-06-23 11:44:52 +02:00
Rhys Arkins
daf2a485ab
feat: abortOnError / abortIgnoreStatusCodes (#6556) 2020-06-23 09:25:03 +02:00
Rhys Arkins
52a074e041
refactor: ExternalHostError (#6563) 2020-06-22 21:28:02 +02:00
Rhys Arkins
e834f2b826
feat: prHeader and prFooter (#6511) 2020-06-14 08:49:52 +02:00
Michael Kriese
997909d6e4
feat(presets): allow sub presets for gitlab (#6238) 2020-06-09 17:33:39 +02:00
Michael Kriese
5a87c8b7e3
feat(presets): extract generic platform preset fetch (#6467) 2020-06-09 10:13:52 +02:00
Michael Kriese
4d7c109a6b
test: use nock for preset tests (#6449) 2020-06-07 13:00:49 +02:00
Michael Kriese
17d205d8a4
fix(preset): add chromely monorepo (#6446) 2020-06-05 19:57:24 +02:00
Praveen Adusumilli
0e218922b1
fix: Add validations for aliases (#6426) 2020-06-04 15:47:56 +02:00
Rhys Arkins
08de7aff5d
fix(npm): replace all instances of $NPM_TOKEN in npmrc (#6431) 2020-06-04 14:03:20 +02:00
Tanet Trimas
818cbdb73a
feat(github): Add support for Draft PRs (#6390) 2020-06-01 07:30:11 +02:00
Florian Greinacher
81a5deeb29
feat: add support for setting assignees/reviewers from code owners (#6244) 2020-05-30 07:15:08 +02:00
Rhys Arkins
efb851ae6a
feat: write git private key (#6321)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-05-29 12:46:21 +02:00
Sergio Zharinov
9617248f86
refactor(gitlab): Use new http wrapper for Gitlab platform (#6275) 2020-05-29 07:52:40 +02:00
Rubén
d9253ac742
feat(changelog): support gitlab-hosted changelogs (#5699)
Co-authored-by: Yura Beznos <yury.beznos@ocado.com>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
Co-Authored-By: Rhys Arkins <rhys@arkins.net>
2020-05-28 12:56:17 +02:00
Yamagishi Kazutoshi
0ee84ed88c
fix(presets): replace to vercel/next.js from zeit/next.js (#6345) 2020-05-28 07:10:08 +02:00
Arda Tanrıkulu
2f810b7d67
feat: add graphql-mesh and graphql-tools monorepos (#6340) 2020-05-28 06:26:30 +02:00
Rhys Arkins
8ed1eb08d1
feat(cache): redis global cache (#6315) 2020-05-25 10:23:32 +02:00
Rhys Arkins
0aae466cc1
fix(cache): global cache init (#6314) 2020-05-24 10:58:58 +02:00
Rhys Arkins
73694efd82
fix(cache): run cache init (#6312) 2020-05-24 07:13:55 +02:00
Rhys Arkins
e8bbdf9647 feat: default unicodeEmoji to true
To revert to old behaviour, configure unicodeEmoji=false.

BREAKING CHANGE: emoji’s now default to using unicode
2020-05-19 13:09:54 +02:00
Rhys Arkins
082cd4ee89 feat: remove third party pr validation
Renovate will no longer attempt to retrieve and validate the config of PRs created by other users or bots.

BREAKING CHANGE: Renovate will no longer create renovate/verify status checks on third party PRs.
2020-05-19 13:09:54 +02:00
Sergio Zharinov
eaf8f254d3
refactor(gitlab): Refactor other tests which use gitlab platform (#6276) 2020-05-18 17:34:34 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Michael Kriese
2515a89dab
fix(logging): sanitize known token (#5917) 2020-05-16 12:35:41 +02:00
Paul Reichelt
54f4a035f0
feat(presets): Add opentelemetry as well-known monorepo (#6216) 2020-05-13 10:46:54 +02:00
Rhys Arkins
7caac0987c chore: better runCache import 2020-05-12 19:21:14 +02:00
Rhys Arkins
6104c4637a
refactor: global cache (#6198) 2020-05-11 10:38:07 +02:00
Rhys Arkins
04cba3f6c7 refactor(cache): rename run cache 2020-05-11 08:00:55 +02:00
Michael Kriese
bf3527899c
refactor(internal): refactor local presets (#6183) 2020-05-09 09:04:39 +02:00
Rhys Arkins
0c6935f8d0 refactor(presets): use subdirectories 2020-05-09 07:55:00 +02:00
Michael Kriese
9d9c77547e
fix(presets): fix docker presets (#6159) 2020-05-07 12:25:39 +02:00
Michael Kriese
00c56d8bde
chore: fix types (#5904)
* chore: fix types

* fix more types

* chore: mote fixes

* fix frmat

* chore: fix tests

* chore: fix type

* chore: cleanup

* chore: cleanup

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-07 10:23:45 +02:00
Rhys Arkins
258c675a54 logs: don’t log empty depNames in flattened updates 2020-05-06 09:56:52 +02:00
Rhys Arkins
b3316c0793 fix: don’t filter endpoint after repository stage
Closes https://github.com/renovatebot/config-help/issues/607
2020-05-05 08:07:11 +02:00
Rhys Arkins
f3c9efb060 refactor: return and store base branch SHA 2020-05-03 20:38:09 +02:00
Rhys Arkins
899b351643 refactor: split extractAllDependencies logic 2020-05-03 17:03:23 +02:00
Rhys Arkins
927d9c3a82 chore: add fileMatch to CustomManager type 2020-05-03 16:57:17 +02:00
Rhys Arkins
a21bb60d40 chore: improve extract typings 2020-05-03 10:14:22 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Rhys Arkins
498ec20618
fea(internal): remove repoCache global (#6098) 2020-05-01 07:47:31 +02:00
Rhys Arkins
fbc485fc33
feat(presets): internalize presets (#6090)
Moves Renovate's currently external renovatebot/presets data into this repo.
2020-04-29 14:45:51 +02:00
Rhys Arkins
25af50ccb7 chore: description can be string 2020-04-29 14:27:33 +02:00
Michael Kriese
797fd09e71
fix: missing repoCache (#6089) 2020-04-29 11:37:52 +02:00
Rhys Arkins
38a10b64bc logs: log preset validationError 2020-04-29 08:00:47 +02:00
Rhys Arkins
537e911e39
fix: fetch internal presets over www not api (#6078) 2020-04-29 07:00:53 +02:00
Rhys Arkins
d2f8aaa409
feat(presets): use github for native presets (#6075) 2020-04-28 14:33:01 +02:00
Rhys Arkins
cc3554ffe7 fix(presets): correct github file name 2020-04-28 13:34:47 +02:00
Rhys Arkins
61065ea773 feat(presets): github preset and subpreset names 2020-04-28 11:41:56 +02:00
renovate[bot]
f102faf842
build(deps): update dependency commander to v5.1.0 (#6066) 2020-04-28 08:49:22 +02:00
Rhys Arkins
807b354ea3 fix: autoReplace handle non-pinning of digests 2020-04-26 07:50:01 +02:00
Florian Greinacher
9647ea7acd
fix(config-presets): do not use custom endpoints when using git… (#6022)
Fixes #6014
Supersedes #5973
2020-04-21 15:44:32 +02:00
Michael Kriese
212dcdfe54
fix(presets): fix typo (#5970) 2020-04-16 10:14:22 +02:00
Rhys Arkins
4104ba04e3
feat: support allowedVersions regular expressions (#5979) 2020-04-15 22:07:53 +02:00
Michael Kriese
e84528086e
fix(presets): use default endpoint on platform missmatch (#5973) 2020-04-15 11:38:52 +02:00
Rhys Arkins
79608dffaa
fix: allow parentDir/baseDir in branchName (#5967) 2020-04-15 10:33:00 +02:00
renovate[bot]
c7042c5092
build(deps): update dependency commander to v5 (#5968)
* build(deps): update dependency commander to v5

* chore: fix types

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-04-15 08:04:01 +02:00
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
Rhys Arkins
c02abf0976
feat: rename hostRules.platform to hostRules.hostType (#3768)
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Rhys Arkins
dbb1332a04 fix(npm): ignoreNpmrcFile until artifact generation 2019-05-20 23:37:43 +02:00
Rhys Arkins
ee218097dc
feat: refactor platform authentication (#3758) 2019-05-20 10:59:30 +02:00
Johan Hillerström
88b1f0f0c1 feat(devops): Add azureAutoComplete config option (#3661) 2019-05-13 16:19:31 +02:00
Rhys Arkins
7c3df18898 fix(migration): check automergeType is a string 2019-05-12 06:46:16 +02:00
Michael Kriese
0143c20c08 feat(bitbucket-server): use default reviewers (#3647) 2019-05-10 13:28:35 +02:00
Nikita Chashchinskii
5c23ec69ea feat: Add homebrew manager (#3530) 2019-05-01 10:39:40 +02:00
Sergio Zharinov
ca9a21d3e5 feat(scala): Add sbt support (#3603) 2019-05-01 08:40:35 +02:00
Rhys Arkins
294c7a127c
feat: excludeCommitPaths (#3614)
A file that matches any of these glob patterns will not be committed, even if it has been updated.
2019-04-30 08:52:01 +02:00
Rhys Arkins
267518aa64 docs: fix ignorePaths description 2019-04-30 07:48:11 +02:00
Rhys Arkins
481c48b212 docs: ruby-version description 2019-04-25 07:03:21 +02:00
Rhys Arkins
474df1c5d0 docs: masterIssue
Closes #2937
2019-04-23 16:13:48 +02:00
Rhys Arkins
2f7ccc308a feat: enable beta managers
Enables cargo, pub, pipenv, poetry, gradle and maven
2019-04-23 11:59:59 +02:00
Sergio Zharinov
d68da97edd feat(ivy): Add support for Ivy version scheme (#3541) 2019-04-22 12:53:01 +02:00
mohd hassaan
8e195cef03 feat: Add JSON5 parser (#3555)
Added support for `renovate.json5` filename. Now configuration can be parsed from a `json5` format file.

Closes #3484
2019-04-19 08:39:20 +02:00
Rhys Arkins
e340fe5eeb feat: default requireConfig to true (#3409)
Defaults `requireConfig` value to `true`.

Closes #3337

BREAKING CHANGE: If you run your own bot and wish to allow config-less repositories (e.g. no `renovate.json`) then override this value to `false` in your bot config.
2019-04-16 16:06:25 +02:00
Jamie Magee
05a46ddb4c fix: nodejs 11 support (#3549)
Due to an update in the v8 runtime, Node.js `Array.prototype.sort()` is now stable (See [here](https://github.com/nodejs/node/pull/22754#issuecomment-423452575)).

These changes allow for tests to pass on both Node.js 10 and 11.

Fixes #3445
2019-04-16 16:03:37 +02:00
Sergio Zharinov
b7848757cb feat(dart): Add support for Dart (#3468)
It works for most of Dart pubfiles (except invalid YAML). Later maybe we should implement own "weaker" parser.

Closes #3301
2019-04-15 15:07:54 +02:00
Jamie Magee
6ca8991c3a feat(azure-devops): link to an existing work item when creating PRs (#3542)
Looks like I was (happily) wrong about this. There is currently no API to add a work item to a PR as an individual action. Instead you have to link the work item when creating the PR, or by using the `updatePullRequest` API.

I've tested with the default (0), a non-existent work item ID, and a real work item ID, and they all work with this implementation.

Fixes #3395
2019-04-15 14:57:54 +02:00
Nikita Chashchinskii
f5ef05d54b feat: Add ruby-version manager (#3515)
Adds functionality to detect and update `.ruby-version` files.
2019-04-10 14:17:21 +02:00
Rhys Arkins
a599eab231
feat: unify file locations (#3507)
feat: unify file locations
2019-04-09 17:14:08 +02:00
Matt Lavin
47e8dd9ac2 feat(bitbucket): Enable bitbucket reviewers (#3509)
feat(bitbucket): Enable bitbucket reviewers
2019-04-09 15:46:40 +02:00
Nikita Chashchinskii
9d74afe9f2 feat: Add support for python poetry manager (#3440) 2019-04-07 09:48:48 +03:00
Rhys Arkins
ec7ad01faa fix(maven): escape period matching in filename 2019-04-06 09:59:15 +02:00
Dmitry
fb587a3cae feat(bazel): expand support to non-WORKSPACE files (#3459)
Now supports `*.bzl` files including when definitions are nested.
2019-04-05 19:12:38 +03:00
Rhys Arkins
53318b0c40
refactor: force CLI params (#3475)
Changes forceCli default from false to true.
2019-04-02 11:28:03 +02:00
Rhys Arkins
a74eabb1a1 fix: Revert "feat: default forceCli to true"
This reverts commit 20d6f8448e.
2019-04-02 10:45:48 +02:00
Rhys Arkins
20d6f8448e
feat: default forceCli to true
Any parameters passed to the CLI will now be added to a `force` object by default.

BREAKING CHANGE: params passed by CLI now force override settings in repositories. Set `--force-cli=false` to revert this behaviour.
2019-03-31 16:43:34 +02:00
Rhys Arkins
01e02ff22f fix(schema): add freeChoice 2019-03-31 09:52:58 +02:00
Rishabh Jain
b7e5546788 refactor(config): change definitions to match schema (#3434) 2019-03-31 02:01:05 -04:00
Seb Flippence
021e060d73 docs: Documented Bunyan log levels (#3444) 2019-03-26 08:04:58 -04:00
Rhys Arkins
2e6b7aea85 fix(schema): more allowedValues 2019-03-23 08:50:48 +01:00
Rhys Arkins
82a9263d00 fix(schema): regex arrays 2019-03-23 08:27:46 +01:00
Rhys Arkins
0f38a1a33f fix(schema): add missing subType to lists 2019-03-23 08:22:19 +01:00
Rishabh Jain
8124634b6a feat: create json schema from definitions file (#3425)
Closes #545
2019-03-23 07:38:24 +01:00
Rhys Arkins
006b28ec82 fix: add hex to allowed versionSchemes 2019-03-19 10:32:13 +01:00
Rhys Arkins
56a1c1548d fix: remove escapes from invalid config warning 2019-03-17 07:21:25 +01:00
Nick Oliver
4b6de0f485 feat(autodiscover): add autodiscoverFilter option (#3394)
adds a `autodiscoverFilter` option which can be a [minimatch](https://www.npmjs.com/package/minimatch) glob-style pattern for filtering `autodiscover`ed repositories. Ex: `project/*`

Closes #3341
2019-03-17 06:49:38 +01:00
Gautier Pelloux-Prayer
acbb5d6b29 feat(cli): properly handle boolean values (#3356) 2019-03-13 14:58:39 +01:00
Rhys Arkins
6297010ff2 feat: validate baseBranches
Validates that configured baseBranches exist, and raises a Config Warning issue if any are not found in the repo.
2019-03-13 10:49:21 +01:00
Dmitry
5d045c1e31 feat(package-rules): add datasources selector (#3344) 2019-03-12 07:27:49 +01:00
Rhys Arkins
5bb6802bab refactor: rename deepcopy to clone 2019-03-11 23:43:30 +01:00
Rhys Arkins
320c414350 refactor: drop fast-clone 2019-03-11 23:42:22 +01:00
Rhys Arkins
f146956e35 refactor: enable pip_setup by default 2019-03-11 23:30:19 +01:00
Rishabh Jain
8acc17eea4 feat(packageRules): support baseBranchList (#3358) 2019-03-11 17:42:30 +01:00
Rhys Arkins
9ea64f42da refactor(github): hardcode vulnerability branchTopic 2019-03-10 08:46:46 +01:00
Rhys Arkins
fe9230f849 fix(github): special branch name for vulnerability alerts 2019-03-10 08:44:29 +01:00
Rhys Arkins
7cb4ae9a82 fix: add dotnet language 2019-03-09 07:15:16 +01:00
Rhys Arkins
587bb215f5 docs: fix languages example 2019-03-09 07:10:50 +01:00
Rhys Arkins
68bc2939af fix: vulnerability alerts update lockfile 2019-03-08 08:18:30 +01:00
Rhys Arkins
1258630faa
feat(npm): dedupe (#3322)
Allows dedupe options for npm and yarn.

Closes #2883
2019-03-07 16:37:07 +01:00
Rhys Arkins
9a93c8e99a feat: postUpdateOptions
Adds new config option postUpateOptions. Currently supports one value - gomodTidy.
2019-03-07 15:15:01 +01:00
Rhys Arkins
6417aba868 refactor: deepcopy 2019-03-07 10:56:06 +01:00
Rhys Arkins
398a00b9fc feat: link to intrinsic npm diff
Closes #3304
2019-03-07 00:45:45 +01:00
Rhys Arkins
99e870a5d9 fix(cargo): add fileMatch 2019-02-25 18:19:28 +01:00
FidoX
ee06ad2ed1 feat(gradle): use maven datasource (#3223) 2019-02-23 22:24:44 +01:00
Dmitry
069b9816e0 feat: validate managers list (#3240) 2019-02-20 22:29:38 +01:00
Rhys Arkins
e76ef17db5 feat: ignorePresets
Closes #841
2019-02-18 22:22:33 +01:00
Paul Tyng
8f79b660b0 feat(gomod): Run go mod tidy if configured (#3201)
Adds a configurable option to run `go mod tidy` on a repo between the `go get...` and the `go mod vendor`.

Closes #2594
2019-02-13 13:05:52 -05:00
Rhys Arkins
3f7661b429 fix(config): reset ignorePaths 2019-02-11 04:41:49 -05:00
Rhys Arkins
2705172376
feat: GitHub Actions docker image support (#3197)
Detect GitHub Actions workflow files and pin/update any Docker image references found within.

Closes #2750
2019-02-11 09:42:54 +01:00
Rhys Arkins
13cc5b5b0e refactor: rename lock files -> artifacts 2019-02-09 07:08:15 +01:00
Rhys Arkins
da56512306 fix(golang): ignore vendor paths 2019-02-08 15:41:28 +01:00
Rhys Arkins
5332eeb4b0 fix(npm): decrypt tokens < 50 chars
Closes #3184
2019-02-08 05:51:53 +01:00
Rhys Arkins
67cbbba80b fix: Revert "feat(gradle): use maven datasource (#3062)"
This reverts commit 0a2b212c76.
2019-02-04 21:31:04 +01:00
FidoX
0a2b212c76 feat(gradle): use maven datasource (#3062) 2019-02-04 16:05:04 +01:00
Rhys Arkins
2db6f16482 refactor(bitbucket): username/password overwrite token 2019-02-04 12:34:30 +01:00
Rhys Arkins
ebd81cd0bc fix(maven): use maven versioning, not semver 2019-02-04 12:16:33 +01:00
Sergio Zharinov
59eebe3ce9 feat(maven): Add support for Maven (#3147)
Alpha version of Maven support

Closes #3029
2019-02-02 18:27:02 +01:00
Rhys Arkins
2b1223450a fix(config): don’t try to massage non-array packageRules 2019-02-02 02:17:07 +01:00
Gautier Pelloux-Prayer
ca31580cb0 docs: specify supported binarySource modes (#3138) 2019-01-30 21:17:10 +01:00
Rhys Arkins
03698c211a refactor: default rollbackPrs=false 2019-01-25 06:36:27 +01:00
Rhys Arkins
79a11e8387 tests: fix coverage 2019-01-25 06:36:07 +01:00
Rhys Arkins
4741ef8f8a refactor: log default padding decrypt 2019-01-24 15:24:46 +01:00
Rhys Arkins
bdd6836777 fix: don’t massage encrypted object 2019-01-24 13:41:45 +01:00
Rhys Arkins
d30f0e5790 fix(decrypt): throw error for empty string 2019-01-24 13:41:23 +01:00
Rhys Arkins
91e9514e56 refactor: log masked decrypted token 2019-01-24 13:19:38 +01:00
Rhys Arkins
78d6d52a2e feat(pr): support displayFrom / displayTo for PR templating 2019-01-24 06:39:23 +01:00
Rhys Arkins
62d92660b2
feat: new 'lockfile-update' rangeStrategy (#3108)
Adds a new `rangeStrategy` value `lockfile-update'. Enabling this means you will get PRs that contain updates for the versions in your lock file (currently npm and yarn only) even if the range in the `package.json` file hasn't changed because the update is "in range".

Closes #1382
2019-01-24 06:23:08 +01:00
Rhys Arkins
e8a487a90f refactor: drop mirrorMode 2019-01-23 00:05:56 +01:00
Rhys Arkins
03d0066de2 refactor(config): move autodiscover to global 2019-01-22 20:05:38 +01:00
Ilya Savchuk
f6ed2256f7 refactor: changed all VSTS to Azure DevOps (#3022)
Rename all VSTS references to be Azure DevOps.

Closes #2810

BREAKING CHANGE: 'vsts' platform is now renamed to 'azure'
2019-01-22 09:41:06 +01:00
Rhys Arkins
d471ed83f1 feat: deprecate platform tokens (#3067)
Deprecate use of “special” env var like `GITHUB_TOKEN` and instead standardize on `RENOVATE_*` environment variables instead.

Closes #2834

BREAKING CHANGE: For GitHub, GitLab, Bitbucket and VSTS you need to migrate `*_ENDPOINT` to `RENOVATE_ENDPOINT`, `*_TOKEN` to `RENOVATE_TOKEN`, and same for `BITBUCKET_USERNAME` and `BITBUCKET_PASSWORD`.
2019-01-22 09:41:06 +01:00
Rhys Arkins
d4cff79374 refactor: gitFs stage 2019-01-21 14:48:55 +01:00
Rhys Arkins
1f49fcd523 refactor: compatibility through to branch 2019-01-21 14:13:20 +01:00
Rhys Arkins
2ea047f4eb fix(bundler): ignore .cache 2019-01-15 09:47:23 +01:00
Rhys Arkins
ce8090ea33 docs: ruby/bundler alpha 2019-01-14 06:59:15 +01:00
Rhys Arkins
ba77d4a0e7
feat(bundler): extract, update, artifacts (#3058)
This completes the work of adding basic Ruby/Bundler support to Renovate. It will now find all Gemfiles in a repository, extract dependencies from them, look up results on Rubygems, and raise PRs if updates are found.

Closes #932
2019-01-14 06:52:13 +01:00
Rhys Arkins
1a610ff3f5 fix(config): don’t require token if in appMode 2019-01-13 06:49:46 +01:00
Rhys Arkins
c7b8e79426 fix(config): don’t set token if dummy token used 2019-01-13 06:41:35 +01:00
Rhys Arkins
827e9de100 refactor: info not warn for duplicate presets 2019-01-09 22:39:32 +01:00
Rhys Arkins
b7c65cd9c8 chore: gradle beta 2019-01-09 21:17:54 +01:00
Jan Sauer
1fb755c89c feat: gradle-wrapper (#3038)
Adds support for updating the gradle version used in a project via the gradle-wrapper.
See https://docs.gradle.org/current/userguide/gradle_wrapper.html
2019-01-09 12:50:53 +01:00
Rhys Arkins
bfccc52504 fix: add maven to allowed versionSchemes 2019-01-07 14:32:46 +01:00
Fedor Lukyanov
1a7326efeb refactor: Extract mask token function from npm datasource to utils (#3040)
Helps with https://github.com/renovatebot/renovate/pull/3039 😄
2019-01-07 06:38:24 +01:00
Rhys Arkins
6d09535c9f
feat: split out npm versioning from semver (#3023)
Closes #2069
2019-01-07 05:49:47 +01:00
Rhys Arkins
55257fff26
feat: centralise app strings (#3032) 2019-01-06 14:47:42 +01:00
Rhys Arkins
56d55fb1dc feat: node versioning
Very basic at first. A slim wrapper around npm semver that normalizes versions.
2019-01-04 12:41:22 +01:00
Rhys Arkins
738408b728 refactor: semver-hashicorp -> hashicorp 2019-01-03 08:41:59 +02:00
Rhys Arkins
7fb377ebad refactor: semver-composer -> composer 2019-01-03 08:32:44 +02:00
Rhys Arkins
cfb7a4750f refactor: rename semver-cargo -> cargo 2019-01-03 08:27:08 +02:00
Rhys Arkins
1ddf747eed fix: add ruby versioning to definitions 2019-01-03 08:24:39 +02:00
Nikita Chashchinskii
419692a2f3 feat: semver-cargo versioning (#3002)
This PR adds support for semver-cargo versioning.

Closes #2780
2019-01-03 07:33:22 +02:00
Rhys Arkins
67e3825f42 refactor: renovateFork -> includeForks 2018-12-31 07:46:00 +02:00
rtaum
0a8264612d feat: Add gitlab preset (#2984) 2018-12-21 20:28:26 +02:00
Rhys Arkins
820a8a8ab5 fix: reenable deprecation warning issues 2018-12-19 06:28:39 +01:00
Jan Sauer
ca8eafcfbc feat: Add new ansible manager (#2947)
Updates docker dependencies in ansible playbooks.

- https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout
- https://docs.ansible.com/ansible/2.5/modules/docker_container_module.html
- https://docs.ansible.com/ansible/latest/modules/docker_service_module.html
2018-12-18 11:18:27 +01:00
Rhys Arkins
f0220e8bd1 fix: disable deprecationWarningIssues 2018-12-16 18:45:44 +01:00
Rhys Arkins
d2e8c875bd fix: suppressNotifications mergeable 2018-12-16 18:45:32 +01:00
Rhys Arkins
7dbf57317d fix: preserve versionScheme 2018-12-13 17:12:23 +01:00
Rhys Arkins
079afe1820
feat: configurable versionScheme (#2945)
Closes #2914
2018-12-13 05:29:11 +01:00
Jan Sauer
5f02a987a2 docs: Fix logging example (#2946)
`verbose` is not a valid level.
2018-12-13 05:14:51 +01:00
Rhys Arkins
8c2cad0647 feat: packageRules>languages
Adds new filter option “languages” to packageRules to filter on language time.
2018-12-11 12:55:12 +01:00
Rhys Arkins
31849e215b feat: packageRules>managers
Adds new filter option `managers` to `packageRules`. This allows you to define rules that filter on package manager (e.g. pipenv) before applying the rule.
2018-12-11 12:40:35 +01:00
Rhys Arkins
6819764295 feat: packageRules>sourceUrlPrefixes
Adds filtering option “sourceUrlPrefixes” to allow matching updates based on one or more prefixes. Prefixes could be a full source repo, e.g. https://github.com/renovatebot/presets, or it could be an org prefix like https://github.com/renovatebot/

This will make monorepo groupings easier.
2018-12-11 12:03:09 +01:00
rtaum
3b74108e6c feat: suppressNotifications onboardingClose (#2934) 2018-12-11 07:22:07 +01:00
Rhys Arkins
a69376ab46 feat: printConfig
Adds an option to print the full, resolved config for a repo at INFO level. e.g.

renovate —print-config owner/repo

Closes https://github.com/renovatebot/config-help/issues/128
2018-12-10 08:53:55 +01:00
Rhys Arkins
e190851f8e
feat(docker): use whole tag as currentValue (#2922) 2018-12-10 04:26:14 +01:00
Rhys Arkins
bd163effb0 chore: prettier 2018-12-09 13:17:37 +01:00
rtaum
90af9fc3ab feat: refactor raiseDeprecationWarnings into suppressNotifications (#2921) 2018-12-09 11:39:35 +01:00
Rhys Arkins
846c16529d
refactor: versioning require (#2915)
Simplify when statically selected
2018-12-08 15:51:34 +01:00
rtaum
2146bafdbd feat: suppressNotifications (#2906)
Adds ability so suppress certain notifications/warnings/comments.

Closes #2794
2018-12-08 12:42:56 +01:00
Rhys Arkins
4d940b5d13 fix(migration): clone original schedule before update 2018-12-05 06:00:38 +01:00
Rhys Arkins
b339a98dfa fix(config): handle complicated “and” massaging
Closes #2880
2018-12-05 05:39:24 +01:00
Sam Bull
bed39f10ed feat: Support pipenv (#2623)
Add support for pipenv as a manager. Disabled by default (needs opt-in) until out of beta.

Closes #2212
2018-11-23 07:58:25 +01:00
Rhys Arkins
ebfa90d40d
feat: add ruby/bundler skeleton (#2852) 2018-11-20 19:16:13 +01:00
Rhys Arkins
7e182cde16 fix(buildkite): better fileMatch 2018-11-19 21:03:56 +01:00
Rhys Arkins
27aa59f5bc fix(bazel): better PR change description 2018-11-19 07:18:13 +01:00
Rhys Arkins
4df7e32cc5 feat(bazel): migrate commits to tags 2018-11-18 22:27:20 +01:00
Rhys Arkins
e3265cd7e4 fix: simplify fileMatches 2018-11-17 07:16:49 +01:00
Rhys Arkins
db0efdf053 feat: trustLevel
New config option replaces existing option exposeEnv. Set trustLevel=high in the bot config if you trust the contents of the repositories you are renovating. Doing so results in env being exposed, access to localhost, etc.

Closes #2739
2018-11-16 12:16:37 +01:00
Rhys Arkins
e879bf6f30 fix(config): migrate file config 2018-11-16 12:02:30 +01:00
Rhys Arkins
bb17863a84 chore: update pip_setup docs for beta 2018-11-15 18:47:30 +01:00
Ayoub Kaanich
08d22eba50 feat: Support setup.py files (#2805) 2018-11-15 18:42:01 +01:00
Rhys Arkins
0f6772e699
refactor: flatten updateTypes inside packageRules (#2808)
Closes #2799
2018-11-13 09:29:53 +01:00
Rhys Arkins
45da51aa6d refactor: add cargo skeleton
Begins #1870
2018-11-09 14:22:11 +01:00
Rhys Arkins
cd185ab3b0
fix: revert gitlab oauth (#2770) 2018-11-08 14:59:04 +01:00
Ayoub Kaanich
164b9af513 feat: gitFs over SSH (#2768)
Support setting git clone protocol `http`, `https` or `ssh`.
Config name: `gitFsProtocol`.
Platform independent.

Closes #2708
2018-11-08 13:21:36 +01:00
Rhys Arkins
c40a7d9842 fix(gradle): match gradle.properties
Closes #2749
2018-11-05 11:27:07 +01:00
Ayoub Kaanich
4f320ed9cd feat: Python compatibility (#2736) 2018-11-04 18:12:58 +01:00
FidoX
be65176dc4 feat: gradle support (#2610)
Closes #934
2018-10-29 17:32:31 +01:00
Rhys Arkins
70415861cd fix: delete child description in onboarding 2018-10-27 06:39:55 +02:00
Rhys Arkins
05fa91e9cd feat: dry run
Adds support to run Renovate like “renovate owner/repo —dry-run”. Instead of creating branches, PRs or comments, an INFO level dry run message will be logged each time instead.

Closes #1399
2018-10-26 09:48:49 +02:00
Rhys Arkins
e2ee255b17 fix: ignore vendor directories
Closes #2673
2018-10-21 15:00:53 +02:00
Rhys Arkins
0f1710faf8
feat(composer): custom registries and basic auth (#2650)
Adds support for custom Packagist registries.

- [x] Support dynamic packages.json interface for wpackagist.org
- [x] Support static packages.json for satis
- [x] Support basic auth using hostRules
- [x] Write basic auth to `auth.json`

Closes #2574, Closes #2354
2018-10-16 04:52:57 +02:00
Scott Rudiger
b04ee9cb7f docs(configuration-options): fix typos (#2655) 2018-10-15 15:47:48 +02:00
Rhys Arkins
0a9b6d1e8e fix: no commitMessageExtra for pin group 2018-10-14 21:56:42 +02:00
Rhys Arkins
13dde6eeff feat(gitlab): oauth token support
Adds ability to use a GitLab OAuth2 token by settings oauth=true in admin config.
2018-10-13 15:54:58 +02:00
Rhys Arkins
6fc40ad4f4 refactor: default skipInstalls to null
This allows users to control true/false explicitly via config.

Related: #2647
2018-10-12 20:00:49 +02:00
Rhys Arkins
61b7d3d1a4 fix(digest): fix PR table for all digest updates 2018-10-08 12:08:51 +02:00
Rhys Arkins
084fc4536c fix(docker): fix commit message/pr title for digest groups
Fixes #2613
2018-10-08 11:50:17 +02:00
Rhys Arkins
1abad41beb
feat: terraform support (#2606)
Adds terraform support for github sources with semver refs as well as fixed and ranged versions of Terraform registry modules.

Closes #1860
2018-10-06 13:39:39 +02:00
Rhys Arkins
69cf9d309f feat(schedule): default to “at any time”
Closes #2601
2018-10-05 10:50:21 +02:00
Rhys Arkins
77997770f1 fix(schedule): don’t massage null value 2018-10-05 10:03:30 +02:00
Rhys Arkins
95d01e7ab1 feat: master issue
Adds undocumented/experimental “master issue” feature.

Setting `config.masterIssue = true` will result in Renovate opening and maintaining an issue that contains a list of all PRs both pending and open, and allowing some control over them (e.g. bypass schedule, force retry, etc).

Setting `config.masterIssueApproval` in addition will mean that branches are not created automatically and instead await approval in that master issue.

Closes #2595
2018-10-04 10:08:20 +02:00
Rhys Arkins
2056245c49 feat: enable go support by default 2018-10-02 15:34:26 +02:00
Rhys Arkins
99df4f0f31 feat(golang): digest updates
Adds support to update dependencies that have pseudo-versions like v0.0.0-20140422174119-9fd32a8b3d3d.
2018-10-02 10:34:37 +02:00
Rhys Arkins
2107ae1948 fix: rename go -> golang 2018-10-01 14:05:40 +02:00
Rhys Arkins
f4210631c0
feat: go modules support (#2584)
Adds support for updating go modules (found in go.mod) and the accompanying go.sum checksum files.

Limitations:

- github.com modules only (but supports "redirects" to github e.g. by gopkg.in and golang.org)
- skips major upgrades > v1
- no vendoring support

Closes #933, Closes #2578, Closes #2579
2018-10-01 13:50:36 +02:00
Rhys Arkins
7402b9b7c4
feat(composer): enable composer by default (#2577) 2018-10-01 11:38:00 +02:00
renovate[bot]
9bf339a24b build(deps): update dependency @sindresorhus/is to v0.12.0 (#2570) 2018-09-28 15:20:46 +02:00
Rhys Arkins
6f16f1c569 feat: prBody default to Change column 2018-09-24 22:04:04 +02:00
Rhys Arkins
19a77f8901 fix(npm): force package-lock.json update when widening
Removes dependency record from package-lock.json before running “npm install” to ensure the latest version is installed.

Closes #2480
2018-09-22 18:17:49 +02:00
Rhys Arkins
66a4aa40d8
feat: custom PR body notes (#2545)
Adds field “prBodyNotes” to allow customisable content in PR body.

Closes #1802
2018-09-21 11:36:07 +02:00
Rhys Arkins
dcec25c291
feat: customisable PR tables (#2544)
Adds ability to both redefine column definitions in PRs as well as add or remove columns.
2018-09-21 09:46:51 +02:00
Rhys Arkins
013a4d44f5 chore: remove yarn lock comment 2018-09-21 09:26:20 +02:00
Rhys Arkins
29251352e8
feat: common prBody across all types (#2542)
Closes #442
2018-09-21 05:43:51 +02:00
Rhys Arkins
0c3c5603eb fix(docker): digest template 2018-09-19 19:50:51 +02:00
Klaus Meinhardt
e9e71f4c1d feat: followTag (#2538)
If `followTag` is defined for a package, then Renovate will ignore all other available versions and instead stick strictly to whatever version is defined for the tag. npm-only for now.

Closes #2258
2018-09-19 09:59:33 +02:00
Rhys Arkins
e70fe59810 fix: typo in digest pr body 2018-09-17 12:08:32 +02:00
Rhys Arkins
eeae416ac9
feat(npm): support git digest updates (#2528)
Adds support for renovating git references in `package.json` files. Supports updating semver tags or sha1 references ("commit hashes").

Also includes support for updating git references from *private* GitHub repositories, if the following conditions are met:
- Renovate user/token is authorised to read from the source private repository
- Dependency is written like `git+https://github.com/owner/repo.git#ref` in `package.json`

Closes #415, Closes #817
2018-09-17 11:18:18 +02:00
Rhys Arkins
cf6bb03a25 fix: remove npm-specific rollback terminology in pr body
Closes #2250
2018-09-15 14:22:50 +02:00
Rhys Arkins
23e7cdf0b2 feat: re-activate npm rollback PRs
Re-activating npm rollback PRs now that they have resolved their scoped package ttl, which caused previous false positives.
2018-09-15 14:17:03 +02:00
Rhys Arkins
598d57c315 feat: binarySource
Defaulting to ‘bundled’ (default behaviour), this option can be changed to ‘global’ if you wish Renovate to use globally installed npm, yarn, pnpm and lerna binaries. Note: composer always uses global regardless.
2018-09-14 20:38:52 +02:00
Rhys Arkins
b817db10a3
feat: rebase on demand (#2522)
Adds functionality to force rebase a PR if the label "rebase" is added. Also, the label is configurable via a new `rebaseLabel` config option.

Closes #1406
2018-09-14 12:51:33 +02:00
Rhys Arkins
58d5483e7b feat: changelogUrl
Allows static configuration of custom changelog URLs per npm package, which will then be displayed in PR bodies.

Closes #2520
2018-09-14 06:55:38 +02:00
Rhys Arkins
f6d9fb620b refactor(logs): log configs after log file created
Closes #2515
2018-09-13 21:13:52 +02:00
Rhys Arkins
f8cf83380f
refactor: endpoints -> hostRules (#2509)
Renames `endpoints` to `hostRules`
2018-09-12 12:16:17 +02:00
Rhys Arkins
9c93f04c4a tests: fix tests 2018-09-12 07:02:09 +02:00
Rhys Arkins
a0e41b669c refactor: env not process.env 2018-09-12 06:51:56 +02:00
Rhys Arkins
805cd837dd refactor: GITHUB_COM_TOKEN after GITHUB_TOKEN 2018-09-12 06:51:56 +02:00
Rhys Arkins
ca72f49c3e refactor: move env deletion into env parsing 2018-09-12 06:51:55 +02:00
Rhys Arkins
f543b8a163 refactor: better debug config 2018-09-10 17:33:06 +02:00
Rhys Arkins
11c6be8fba refactor: deprecate copyLocalLibs
This can/should be enabled by default now.
2018-09-10 09:38:03 +02:00
Rhys Arkins
e2b8cef040 refactor: gitFs configuration option
Adds configuration option gitFs for git-based file operations.
2018-09-05 14:46:36 +02:00
Rhys Arkins
f0e53028b0 fix: set endpoint for GITHUB_COM_TOKEN 2018-09-04 15:56:37 +02:00
Rhys Arkins
3ac7f7923d logs: simplify config file missing error 2018-09-04 15:34:08 +02:00
Rhys Arkins
61466b7114 fix: remove prBody double compile 2018-09-02 19:18:44 +02:00
Rhys Arkins
d660c57a19 feat: add prBanner to default prBody template 2018-09-02 18:21:48 +02:00
Erik Seliger
6cf6eab8fa fix: allow cli json lists (#2457)
Now supports `--endpoints=[........]` via CLI.

Closes #2455
2018-08-31 21:44:40 +02:00
Vladimir Starkov
608d8c5be0 feat: Bitbucket Cloud support
Adds platform support for Bitbucket cloud.

Closes #136, Closes #2238
2018-08-29 07:30:23 +02:00
Rhys Arkins
f99af76370 fix(circleci): support nested directories 2018-08-29 06:58:55 +02:00
Rhys Arkins
4ef12ff598 fix: check val before migrating 2018-08-27 17:05:24 +02:00
Rhys Arkins
df142f475e fix: add line break after Compare Source in PR template 2018-08-27 13:51:37 +02:00
Rhys Arkins
5fb9d77bba
feat: separate groups into major/minor/patch (#2426)
Previously if grouping, all major/minor updates within that group were combined into one. Instead, we now honour the “separateMajorMinor”, "separateMinorPatch", and "separateMultipleMajor" settings and keep the groups separate if necessary.

For maximum compatibility with existing PRs, we name branches like `renovate/group-name` whenever possible and only name them like `renovate/major-group-name` or `renovate/patch-group-name` if major or patch are found.

Closes #2425
2018-08-27 06:25:17 +02:00
Rhys Arkins
50acfff1ba fix: packageRules.paths definition 2018-08-24 17:08:32 +02:00
Rhys Arkins
3d0637f432 feat: support encryption with RSA_PKCS1_PADDING
Renovate will now attempt to decrypt with existing default padding, and if that fails then try with RSA_PKCS1_PADDING.
2018-08-22 11:00:19 +02:00
Rhys Arkins
c1dd5c0c8c feat: show both homepage and source repo for each dep
Changes PR body to show both homepage and source repo if both are present in the datasource metadata.

Closes #2387
2018-08-17 17:27:54 +02:00
Maximilian Gaß
8a9c371bef fix(docker): fix Docker group template (#2398) 2018-08-17 10:46:30 +02:00
Rhys Arkins
d0ec341e15
feat: skipInstalls (#2390)
Adds new admin option “skipInstalls” that is applicable for npm-only for now (including lerna-npm). If set to false, Renovate will perform a full install of modules rather than `—package-lock-only`. This is necessary in some cases to work around bugs in npm.

Self-hosted bot users can set this option themselves on the bot’s config, but app users will require it to be enabled per-repository by the app admin.
2018-08-15 17:13:07 +02:00
Rhys Arkins
3761aabea6 fix(vsts): set endpoint from env 2018-08-15 09:16:44 +02:00
Rhys Arkins
7d8d4faea5 fix(npm): Disable npm rollback PRs
Necessary because of https://npm.community/t/scoped-packages-have-latest-version-disappear-temporarily-soon-after-publish/633

Until the npmjs registry can return consistent results, we need to disable roll back PRs.

Closes #2148
2018-08-15 08:42:10 +02:00
Rhys Arkins
b0ea6790eb fix(docker): use currentValue not currentTag in digest updates 2018-08-11 11:26:08 +02:00
Rhys Arkins
103d8fbf68
feat: prettyDepType (#2376)
Adds field prettyDepType available for templates, currently used for npm only. Allows for PR titles like “Update devDependency left-pad to v1.3.0” instead of default “Update dependency left-pad to v1.3.0”.

To enable in PR titles: add this configuration: `"commitMessageTopic": "{{prettyDepType}} {{depName}}”`

This is not enabled by default as otherwise it could lead to the reopening of previously manually-closed PRs.

Closes #2371, Closes #1863
2018-08-11 11:24:38 +02:00
Rhys Arkins
b41a2a9256 feat: support DOCKER_USERNAME and DOCKER_PASSWORD 2018-08-05 07:39:38 +02:00
Rhys Arkins
5a89b27f88 refactor: move endpoints from global to repository 2018-08-05 07:32:20 +02:00
Rhys Arkins
a53eb1adf8 refactor: expose endpoints configuration object 2018-08-05 07:02:08 +02:00
renovate[bot]
48bddceb4d fix: update dependency commander to v2.17.0 (#2343) 2018-08-04 08:36:28 +02:00
Maximilian Gaß
4a3ed1dd6b feat: Implement Kubernetes manager (#2341)
Add support for renovating Docker images in Kubernetes manifests
2018-08-04 08:04:11 +02:00
Rhys Arkins
048eb6bf6e
feat: github-hosted presets (#2328)
Adds support for GitHub-hosted presets, using the `github>` prefix. Supports single preset per repository only.

Example:

```json
{
  "extends": ["github>renovatebot/renovate"]
}
```

The above would extend the `renovate.json` inside this repository (probably not a good idea, but an example).

Closes #2102, Closes #2312
2018-07-31 06:48:56 +02:00
Rhys Arkins
83e00f2adc refactor(presets): move more logic into datasource 2018-07-30 08:08:28 +02:00
Rhys Arkins
32c775265a refactor: separate npm.getPresets 2018-07-30 07:12:30 +02:00
Rhys Arkins
31f2f4c610 refactor: rename getDependency to getPkgReleases 2018-07-29 16:04:00 +02:00
Rhys Arkins
1da53671b8 feat: vulnerabilityAlertsOnly
For use in new app
2018-07-29 09:03:54 +02:00
Rhys Arkins
ac371e2a37
feat(github): vulnerability alerts (#2321)
Adds rules to skip any configured grouping or schedules that prevent insecure packages from being updated immediately.

If GitHub's vulnerability alerts are detected, package rules are added to force empty schedule and grouping for each affected package. Settings are configurable via new `vulnerabilityAlerts` config object, e.g. so that custom PR titles, labels or assignees can be configured.

Closes #1567
2018-07-29 06:35:25 +02:00
Rhys Arkins
21ed038eed fix: add commitMessageSuffix to definitions 2018-07-28 20:47:25 +02:00
Rhys Arkins
28afece617 feat: use release notes name in pr body if found 2018-07-22 10:29:55 +02:00
Rhys Arkins
c97c71a31d refactor(buildkite): use default pr body template 2018-07-22 10:21:07 +02:00
Rhys Arkins
95475be47a refactor(docker): disable rollback PRs by default 2018-07-22 06:51:20 +02:00
Rhys Arkins
14cbd68d42 feat: rollbackPrs
Adds new config option `rollbackPrs` which defaults to `true` (current behaviour). Setting to false will disable creation of rollback PRs - configurable globally, per-language, per-package, etc.
2018-07-22 06:49:04 +02:00
Rhys Arkins
37b1c8f0de
feat: gitlabci.yml support (#1744)
Adds support for .gitlabci.yml files. Part of the logic is same as Docker Compose files, however the “services” list is new/different so requires additional logic.

Closes #1598
2018-07-22 06:33:11 +02:00
Rhys Arkins
91215af1ba refactor(js): use language ‘js’ for npm and meteor 2018-07-21 21:28:38 +02:00
Rhys Arkins
a0e2a18e7a
refactor(docker): rename docker manager to dockerfile (#2298)
"docker" in config now refers to the Docker "language", which is the parent of dockerfile, docker-compose and circleci managers.
2018-07-21 19:40:50 +02:00
Rhys Arkins
441eac73b7 fix(docker): currentTag in pr body 2018-07-20 09:40:56 +02:00
Rhys Arkins
8c0857b88b fix: scheduler parse check 2018-07-20 08:40:43 +02:00
Rhys Arkins
b3fb4e3bf7 fix: ignore $schema when validating 2018-07-18 09:31:55 +02:00
Rhys Arkins
2c8b817b4d fix(config): return config.endpoint from env parsing
This should address the GITHUB_ENDPOINT problem in #2249
2018-07-12 14:10:19 +02:00
Rhys Arkins
d56ca3ae23 fix(vsts): detect VSTS_TOKEN 2018-07-12 14:05:10 +02:00
Rhys Arkins
ee4132fd14 refactor: if/else with return 2018-07-09 11:28:42 +02:00
Rhys Arkins
11c4741271 refactor: fix import order 2018-07-09 11:15:06 +02:00
Rhys Arkins
42145e60fc refactor: log npmrc 2018-07-06 16:56:29 +02:00
Ayoub Kaanich
219950399e feat: endpoints credentials handling 2018-07-06 07:26:52 +02:00
Rhys Arkins
41b733ce4f fix: Revert "fix: force pin dependencies config"
This reverts commit 247bdf6bb3.
2018-07-05 22:08:19 +02:00
Rhys Arkins
9521b08b03 refactor: use isSingleVersion in template instead of isRage
Refactors template logic to test for isSingleVersion instead of the negative of isRange. This means that new values like `==1.2.0` in python will be presented as v1.2.0
2018-07-05 21:11:58 +02:00
Rhys Arkins
d4f2572651 fix: assign config.force after every mergeChildConfig 2018-07-05 18:55:00 +02:00
Rhys Arkins
13f09b9f36 refactor: simplify patch branch name 2018-07-05 18:21:43 +02:00
Rhys Arkins
6643a3d09e feat: npm token substitution in npmrc
If an encrypted npmToken is found alongside an unencrypted npmrc in config, then the token will replace any `${NPM_TOKEN}` placeholder found, or be appended to the end of the file. This enables large npmrc files to be defined in config without needing to enrypt the entire thing.

Closes #1796
2018-07-05 15:44:42 +02:00
Rhys Arkins
16d88aee4c feat: ignoreDeprecated
Renovate now ignores any upgrades that are marked as deprecated, unless the current version is itself also deprecated. The new config option `ignoreDeprecated` can be set to false to disable this if necessary.

Closes #1988
2018-07-05 15:10:50 +02:00
Rhys Arkins
247bdf6bb3 fix: force pin dependencies config 2018-07-05 12:40:30 +02:00
Rhys Arkins
0144bac228 fix: force config after each package rules apply 2018-07-05 12:37:46 +02:00
Rhys Arkins
517de6f545
feat: repositoryUrls (#2221)
Adds config option repositoryUrls which can be used by pip to define an alternate host to pypi.

Closes #2181
2018-07-05 11:33:50 +02:00
Rhys Arkins
24a89a775b
feat(npm): deprecation warnings (#2222)
Raises a deprecation warning issue per-dependency. Uses logic that if latest version is deprecated then the package is deprecated.

Closes #1592
2018-07-05 09:16:53 +02:00
Rhys Arkins
38334fc362 feat: packageRules updateTypes
Adds an `updateTypes` field to `packageRules` that lets you specify rules based on update types such as major, minor, patch, pin, etc.
2018-07-04 09:30:29 +02:00
Rhys Arkins
173a2b7c26 feat: enable pip requirements support by default
Closes #2216
2018-07-04 07:45:36 +02:00
Rhys Arkins
7669dc36d5 chore: fix prettier formatting 2018-07-03 15:05:06 +02:00
Rhys Arkins
9fb25cb434 fix(npm): strip trailing \n from npmToken 2018-07-03 14:45:13 +02:00
Rhys Arkins
1242cc5735 logs: log masked token after decryption 2018-07-03 14:21:29 +02:00
Rhys Arkins
068ff16ec4 fix: Revert "feat: endpoint credentials handling (#2146)"
This reverts commit 04e0ca1f80.
2018-07-02 13:18:37 +02:00
Ayoub Kaanich
04e0ca1f80 feat: endpoint credentials handling (#2146)
Refactors credentials/token handling to rely less on env variables and instead use an endpoints middleware for credentials handling.

First step towards #2105
2018-07-02 10:01:42 +02:00
Rhys Arkins
8da5888ef6 feat: combine branch automergeTypes
This deprecates branch-push and branch-merge-commit automergeTypes and replaces with “branch”, which has the same behaviour as the previous branch-push.

BREAKING CHANGE: branch-merge-commit automergeType behaviour is no longer supported, all branch automerges now use branch push approach.
2018-06-26 14:01:13 +02:00
Rhys Arkins
4d44752847 feat: disable pinDigests by default 2018-06-26 14:01:13 +02:00
Rhys Arkins
cab66158e0 feat: make gitAuthor admin-only
Changes gitAuthor to be an admin-only setting, i.e. configurable by bot admin and not by repo admin.

BREAKING CHANGE: gitAuthor can no longer be configured in repository config and can be set by bot admin only.
2018-06-26 14:01:13 +02:00
Rhys Arkins
47305b975e refactor: add pro pr footer 2018-06-25 11:55:12 +02:00
Rhys Arkins
9d92a958c4 refactor: massage [] or empty string for cli lists 2018-06-21 10:40:55 +02:00
Rhys Arkins
53b6050017
feat: force, forceCli (#2145)
Adds config options force and forceCli. These cover the use case where a certain setting is desired to be forced by the bot admin, regardless of repository config, for example removing all configured schedules in order to force PR creation.

Closes #1731
2018-06-21 10:23:59 +02:00
Rhys Arkins
2decb37a1d refactor: resolve configs immediately 2018-06-21 08:43:19 +02:00
Rhys Arkins
5705ee32fe refactor: enable nuget by default 2018-06-14 16:13:47 +02:00
Sam Neirinck
87575f49a3 feat: nuget support
Adds basic support for renovating C# project files. The scope is initially limited to:

- .Csproj only (no VB.NET / F#)
- SDK style csproj's only (this is the default in .net core anyway)
- Limited to nuget.org support (no custom repository support)

Closes #935, Closes #2050
2018-06-14 11:17:14 +02:00
Ayoub Kaanich
697b80aaf0 feat: composer exact semver support (without lockfile updates) (#1993)
This PR adds the packagist datasource plus basic exact semver Composer support. Composer lockfile updating is not yet supported.
2018-06-08 06:15:13 +02:00
Rhys Arkins
98e9198c8e refactor: replace indexOfs 2018-06-04 20:44:32 +02:00
Connor Brathwaite
398303235b (refactor): delegate generic predicate checking to @sindresorhus/is (#2021)
Closes #1764
2018-06-04 20:07:22 +02:00
Rhys Arkins
d8cb261ecb
refactor: rename version -> value (#2076)
Renames currentVersion to currentValue, newVersion to newValue, newVersionMajor to newMajor, and newVersionMinor to newMinor.
2018-06-04 05:48:20 +02:00
Rhys Arkins
e6c43be773 refactor: simplify Node.js commit message 2018-06-02 18:23:18 +02:00
Rhys Arkins
ba4d9b4f24 fix: use major template for buildkite 2018-06-01 19:50:48 +02:00
Rhys Arkins
3ba49df83d refactor: disable non-offline tests 2018-05-28 16:25:53 +02:00
Dragomir Țurcanu
65b9934a5b tests: remove semver validation (#2027)
Closes #2024
2018-05-27 16:54:11 +02:00
Rhys Arkins
d6cc5b0755 fix: default rangeStrateg to “replace” 2018-05-23 11:17:20 +02:00
Rhys Arkins
7a1d30c8b6 refactor: move semver to lib/versioning 2018-05-21 17:30:55 +02:00
Rhys Arkins
93379c4b79 refactor: separatePatchReleases -> separateMinorPatch
Closes #1952
2018-05-17 07:40:29 +02:00
Rhys Arkins
6c3645d18c refactor: separateMajorReleases -> separateMajorMinor 2018-05-17 07:37:37 +02:00
Rhys Arkins
eaf10143c2 refactor: rename multipleMajorPrs -> separateMultipleMajor 2018-05-17 07:33:59 +02:00
Rhys Arkins
7f4cb4aa57
feat: rangeStrategy (#1954)
This PR replaces the existing `pinVersions`, `upgradeInRange` and `versionStrategy` settings with a single one: `rangeStrategy`.

Previously:
 - `pinVersions` could be `true` or `false`, but defaulted to `null`, which meant that Renovate would decide. `true` meant that Renovate would replace existing ranges like `^1.0.0` with an exact/pinned version such as `1.2.0`.
 - `upgradeInRange` could be true or false, default to false. If `true`, it would mean Renovate would replace an existing range like `^1.0.0` with something like `^1.2.0`
 - `versionStrategy` could be `replace` or `widen` and was mainly used for `peerDependencies` to widen existing ranges, e.g. from `^1.0.0` to `^1.0.0 || ^2.0.0`

It was possible to set conflicting settings, e.g. configuring `pinVersions=true` and `upgradeInRange=true`.

Now, we combine them into a single setting: `rangeStrategy`:
 - `auto` = Renovate decides (this will be done on a manager-by-manager basis)
 - `pin` = convert ranges to exact versions
 - `bump` = same as `upgradeInRange` previously, e.g. bump the range even if the new version satisifies the existing range
 - `replace` = Same as pinVersions === false && upgradeInRange === false, i.e. only replace the range if the new version falls outside it
 - `widen` = Same as previous versionStrategy==='widen'
2018-05-17 07:16:13 +02:00
Rhys Arkins
71a8fb894f fix(docker): update old docs link
Closes #1977
2018-05-16 05:44:43 +02:00
Rhys Arkins
ecdcd9df4f
feat: refactor dependency extraction (#1912)
Rewrite of dependency extraction, particularly for npm. Paves way for easier addition of new package managers.

Closes #1882
2018-05-09 08:03:59 +02:00
Rhys Arkins
9ffd0abda1 refactor: replace stringify/parse with fast-clone 2018-05-07 21:50:40 +02:00
Rhys Arkins
e7ef20d33b refactor: simplify config stages 2018-05-06 11:59:33 +02:00
Rhys Arkins
9e49017456 fix: deep copy in mergeChildConfig 2018-05-06 11:52:53 +02:00
Rhys Arkins
7e5aeacd1d refactor: rename option.parents -> parent 2018-05-06 08:29:38 +02:00
Rhys Arkins
1762ee68a0
feat: automergeComment (#1906)
Adds new option “pr-comment” for `automergeType` and a new option `automergeComment` to use in such a case.
2018-05-04 06:55:01 +02:00
Rhys Arkins
cb570f58f6 fix(templates): skip depType if not present 2018-05-04 06:49:32 +02:00
Rhys Arkins
3a5c3dd908 fix: make ignoreDeps mergeable 2018-05-03 14:14:05 +02:00
Rhys Arkins
626ef3fd92 refactor: add parents for parentRules 2018-05-03 14:11:25 +02:00
Rhys Arkins
3cfbb36577 fix: don’t add options with parents to defaults 2018-05-03 14:07:20 +02:00
Rhys Arkins
64a45bf6dd feat: enable buildkite by default 2018-05-03 09:43:15 +02:00
Rhys Arkins
d5c0729f64
feat: buildkite release notes (#1910)
Adds a link to the latest version notes in the PR body, as well as a source compare link for all commits between the current version and the new version.

Closes #1876
2018-05-03 09:39:12 +02:00
Ayoub Kaanich
0b64cfac3e feat: refactor commits retrieval (#1886)
Refactor changelog (commits) logic to separate sources, and remove the `changelog` dependency. Instead of a full copy/paste of commits, a link is now provided to the source repo.

Closes #381
2018-05-01 11:55:40 +02:00
Rhys Arkins
a94088ba28
feat: deprecate packageFiles (#1898)
This PR deprecates the use of `packageFiles` and migrates it to `includePaths` and `packageRules`.

Closes #1887
2018-05-01 09:21:15 +02:00
Rhys Arkins
43742467f6
feat: includePaths (#1896)
Adds a config option `includePaths` that allows the user to specify one or more paths to include in renovation and the rest will be excluded.
2018-04-30 16:13:32 +02:00
Rhys Arkins
c356bb0349
feat: custom filenames for package files (#1894)
Renovate now comes with a variety of package managers supported, each with their own filename pattern(s). These patterns are now exposed for user configuration through the new `fileMatch` list/array configuration option, which has been added to each manager (npm, bazel, docker-compose, etc). `fileMatch` is defined as a mergeable list, meaning that users can add to the default pattern to extend the files being detected.

Closes #799
2018-04-30 13:18:51 +02:00
Rhys Arkins
9306297338 fix(config): massage \\n in env to \n 2018-04-30 10:07:59 +02:00
Rhys Arkins
d13d6a0495
feat: deprecate deptypes and migrate to packageRules (#1892)
Rules for dep types (e.g. dependencies, devDependencies, peerDependencies, optionalDependencies) should now be done with `packageRules` and the `depTypeList` selector
2018-04-30 08:21:48 +02:00
Rhys Arkins
23051355fb fix: properly migrate pathRules 2018-04-29 23:07:39 +02:00
Rhys Arkins
72742f99f9 fix: drop parentManager from definitions 2018-04-29 22:02:49 +02:00
Rhys Arkins
122fffea99
Fix pathRules migration (#1885)
Fix pathRules migration
2018-04-29 14:05:45 +02:00
Ayoub Kaanich
c8ae853d58 feat: python requirements.txt support (#1858)
This PR adds basic support for requirements.txt. Currently it works on fully specified (pinned) versions only, so is disabled by default. Enable it by setting `pip_requirements.enabled = true` in config.
2018-04-28 20:39:07 +02:00
Rhys Arkins
898b913f3b
feat: deprecate pathRules (#1881)
pathRules are now migrated to packageRules.

Closes #1880
2018-04-28 14:05:39 +02:00
Rhys Arkins
757154ded4
feat: add paths selector to packageRules (#1879) 2018-04-28 08:56:15 +02:00
Rhys Arkins
f618b30633 refactor: sort errors and warnings alphabetically 2018-04-28 08:48:12 +02:00
Rhys Arkins
4349a21484
feat: buildkite plugin renovation (#1874)
This PR adds initial support for buildkite plugin renovation.

It supports `plugin-name` or `my/plugin-name` plugins, and fully specified semver versions only (e.g. `v1.3.2`). Currently it will always propose an upgrade to the latest version available, e.g. if current version is v1.3.1 and both v1.3.2 and v2.0.0 exist then v2.0.0 will be proposed. Looks for any yml file in the `.buildkite/` directory.

Closes #1869
2018-04-27 19:54:44 +02:00
Țurcanu Dragomir
305f094bd4 Added matchCurrentVersion selector to packageRules (#1835)
The matchCurrentVersion option sets a range of versions that a package update can be in. If the package's current version doesn't satisfy the matchCurrentVersion range, it won't match the rule.

Closes #1771
2018-04-27 05:45:22 +02:00
Rhys Arkins
6415833a4b refactor: renovateapp.com -> renovatebot.com 2018-04-24 13:59:42 +02:00
Rhys Arkins
1564150d9f refactor: streamline debug logging 2018-04-18 21:19:00 +02:00
Rhys Arkins
04c239e07a fix: add space after semantic prefix colon in migration 2018-04-17 14:40:00 +02:00
Rhys Arkins
693738024b refactor: remove engines groupName 2018-04-17 14:10:18 +02:00
Rhys Arkins
c0878fa8be fix: escape templates with triple handlebars 2018-04-17 12:49:59 +02:00
Rhys Arkins
2bb4276d41 fix: lock file maintenance commit message and pr title 2018-04-17 12:22:11 +02:00
Rhys Arkins
8d439ffc5e fix: migrate semanticPrefix to semanticCommitType/semantiCommitScope 2018-04-17 12:09:34 +02:00
Rhys Arkins
c26e1226e9 fix: Use v prefix for all major npm upgrades 2018-04-17 10:56:58 +02:00
Rhys Arkins
b10ee7c5dd fix: don’t strip semanticPrefix when migrating 2018-04-17 10:37:48 +02:00
Rhys Arkins
9753f9dcba
feat: modular branchName/prTitle/commitMessage templating (#1760)
This PR refactors `branchName`, `commitMessage` and `prTitle` so that they are more easily editable and hopefully more understandable. By breaking each up into subsections, users can modify one part without needing to copy/paste the entire string.

Directly editing any of these fields will now be deprecated and a warning issued.
2018-04-17 08:39:26 +02:00
Rhys Arkins
d4163fe2fb fix: test for unsafe regex and warn 2018-04-13 06:52:08 +02:00
Țurcanu Dragomir
6c46ddf20e feat: validate packageRules selectors (#1810)
packageRules selectors should only ever be inside a packageRule object, or at the top level of a preset. This feature enforces this rule with a validation check.

Closes #1773
2018-04-12 12:13:39 +02:00
Rhys Arkins
1bdc548876 feat: print full config path in validation errors 2018-04-11 21:38:31 +02:00
Rhys Arkins
cc7c6dc191
fix: remove logger lines from validator code
Remove logger.* statements as this can be called from the CLI validator which has no logger defined.

Closes #1816
2018-04-11 16:20:11 +02:00
Rhys Arkins
50b3b195c0 fix: check discovered length, not manually configured length
Closes #1823
2018-04-11 12:03:38 +02:00
Rhys Arkins
523b02fbc8
refactor: npm and semver (#1817) 2018-04-10 05:20:46 +02:00
Rhys Arkins
ea447cfa0d
feat: depTypeList in packageRules (#1815)
Adds a field `depTypeList` to `packageRules`, enabling rules for packages to be applied for any `depType`. Config objects `dependencies`, `devDependencies` and `peerDependencies` will be deprecated in favour of this new approach.

Closes #1807
2018-04-09 16:10:34 +02:00
Rhys Arkins
b974d2f116 fix: don’t resolve onboardingConfig 2018-04-09 13:29:47 +02:00
Rhys Arkins
865ac3ea47 fix: mergeChildConfig should support nested mergeable=true 2018-04-09 13:19:23 +02:00
Steven Hargrove
02e52a8c79 feat: merge configured repositories with autodiscovered
Merges any static config from config.js with repositories list that is autodiscovered.

BREAKING CHANGE: Repositories in config.js will have their config combined with the autodiscover list and a warning if any statically configured repositories are not found.
2018-04-09 09:24:37 +02:00
Rhys Arkins
1f63173194 fix: remove enabled=true requirement from managers
Simplify manager definitions by removing need for explicit enabled=true
2018-04-09 08:23:59 +02:00
Rhys Arkins
662828ab1b fix: default pinVersions to false
Change default of pinVersions from null (autodetect) to false. Note: The preset “config:base” still reverts this to null/autodetect.

BREAKING CHANGE: pinVersions defaults to false. To switch back to autodetect, use preset “:autodetectPinVersions”, which is already included within “config:base”.
2018-04-09 07:43:08 +02:00
Rhys Arkins
756954efcd fix: remove semanticCommitType=fix default from dependencies
Removes hardcoded “fix” commitType from dependencies. Doing so allows for easier overriding without requiring complicated/deep presets or config.

BREAKING CHANGE: dependencies default semantic commit type now uses main config commit type (chore)
2018-04-09 07:33:20 +02:00
Rhys Arkins
0904588c3d feat: empty onboarding config
Changes the default onboarding config from `{ extends: [‘config:base’] }` to `{}` (empty). Self-hosted bot users can add it back by configuring `onboardingConfig` in `config.js` or env. Doing this makes the bot less “opinionated” by default and more convenient for self-hosted users, who can configured everything in config.js or env now.

Closes #1554

BREAKING CHANGE: onboarding config now defaults to empty config instead of config:base. Self-hosted users need to add it back if they with to retain it as default suggested config.
2018-04-09 07:25:24 +02:00
David
3afc78dab5 chore: renamed "user name" to "username" in definitions.js (#1805)
Changed `user name` to `username` in description to clarify we want a login name and not the user's actual name.
2018-04-07 09:26:29 +02:00
Steven Hargrove
4c3401cc34 refactor: simply repositories autodiscover 2018-04-04 14:13:19 +02:00
Rhys Arkins
0d92defb7d fix: resolve presets in config.js
Closes #1080
2018-04-04 14:08:10 +02:00
Steven Hargrove
393dcf58c8 fix: pasrse cli and env integers 2018-04-04 13:34:22 +02:00
Steven Hargrove
7b0ae535ab refactor: module.exports => exports 2018-04-04 13:26:05 +02:00
ikisialeu
484ef0cbcd feat: validate user regex (#1766)
Validate that user-inputted regex for package patterns are valid RegExp().

Closes #1450
2018-04-04 09:23:59 +02:00
Rhys Arkins
a2fab232b4 fix: raise config error issue for nested presets 2018-03-31 06:13:35 +02:00
Rhys Arkins
b15909f8df
feat: enabledManagers (#1755)
feat: enabledManagers
2018-03-30 17:00:51 +02:00
Rhys Arkins
974e210bd3 fix: set mergeable and cli options in manager definitions 2018-03-30 06:34:20 +02:00
Rhys Arkins
fb71523e7f fix: use Docker not Dockerfile in templates 2018-03-29 15:03:32 +02:00
Rhys Arkins
9d192ff075 feat: enable docker-compose by default
Flips Docker Compose config from default disabled to default enabled.
2018-03-29 14:20:05 +02:00
Rhys Arkins
94a5240858
feat: CircleCI docker image support (#1732)
Adds support for renovating docker image definitions in CircleCI 2 config files (`.circleci/config.yml`).

Closes #1714
2018-03-28 20:12:56 +02:00
Rhys Arkins
b724a411da
feat: Docker Compose support (#1729)
Adds support for renovating Docker Compose files (e.g. `docker-compose.yml`). Functionality is essentially the same as the existing `Dockerfile` capabilities, so config for `docker` is shared with `docker-compose` but may also be overridden.

Merging as disabled by default - will wait for some opt-in testing before turning it on by default.

Closes #832
2018-03-28 15:24:42 +02:00
Rhys Arkins
906c6273c7 fix: raise config errors for package rules missing selectors 2018-03-28 15:13:32 +02:00
Rhys Arkins
b89f448946
feat: validate packageRule selectors (#1728)
Validates that each packageRule must contain at least one selector. Resolves the rule first to allow for presets.

Closes #1345, Closes #1693
2018-03-28 10:04:07 +02:00