Commit graph

1321 commits

Author SHA1 Message Date
Rhys Arkins
f9617b98fb
fix: catch lookup errors gracefully (#12369) 2021-10-28 08:06:39 +00:00
RahulGautamSingh
91f067b39f
fix: refactor regex to use re2 part3 (#12283)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:37:11 +00:00
Oleg Krivtsov
29dde2f694
test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
Sylvain Firmery
7b4f3518fd
fix(onboarding): detect semantic commits (#12275)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-26 10:04:33 +02:00
Jamie Magee
d337b271d4
refactor: convert git datasources to class-based (#10531)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-26 04:37:26 +00:00
Rhys Arkins
5af1b77f69
fix(git): better commit message robustness (#12246) 2021-10-21 11:04:48 +02:00
Rhys Arkins
7e069f4adc
fix(config): massage package.json>renovate string (#12150) 2021-10-13 14:59:44 +00:00
Maksim
a2ceff099f
refactor: introduce enum programming-language (#12052) 2021-10-13 10:54:40 +00:00
Rhys Arkins
afb1369be7 test: fix enabledManagers test 2021-10-09 05:51:30 +02:00
Rhys Arkins
5a23e9b4dc fix: no warn for enabledManagers 2021-10-09 05:50:00 +02:00
Oleg Krivtsov
9b4b6ce275
feat: enabledManagers log warning when empty (#11902) 2021-10-07 05:15:23 +00:00
Maksim
1f86b71fd5
refactor: constants (#11690) 2021-10-06 07:43:32 +02:00
Tobias Bieniek
786bd4ebf3
fix(dependency-dashboard): Adjust dry run log output (#11820) 2021-09-20 18:23:27 +02:00
Rhys Arkins
66bc2528f5
feat: log urls in closing stats (#11798) 2021-09-17 20:06:30 +02:00
Rhys Arkins
ee29fdcaf1
feat(config): scoped secrets using pgp/gpg (#11673) 2021-09-16 10:11:13 +00:00
Maksim
7801ae7c16
feat(config): migrate requiredStatusChecks to ignoreTests (#11355)
* feat(config): migrate requiredStatusChecks to ignoreTests

* fix(config): restore order of props

* feat(config): add applyMigrations function

* feat(platform): check ignoreTests param in worker

* feat(config): rename getBranchStatus to resolveBranchStatus

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-12 15:23:18 +00:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Rhys Arkins
d6d4124b11
feat(git): blobless git (#11401) 2021-09-09 09:25:12 +02:00
Rhys Arkins
31e1e4d89e fix(git): set gitAuthor before onboarding 2021-09-03 05:58:44 +02:00
ylemkimon
7159338509
fix(npm): enable global cache if no zero-install (#11448)
* fix(npm): include yarnZeroInstall in managerData

* fix(npm): enable global cache if no zero-install

* refactor: use mockResolvedValueOnce where possible

* refactor: make PostUpdateConfig extend ManagerData

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-30 17:46:58 +00:00
Rhys Arkins
59cc317156
fix: semantic host stats (#11482) 2021-08-30 17:09:08 +02:00
Rhys Arkins
dfef9f3cb1
fix: handle non-string currentValue (#11472) 2021-08-30 10:25:20 +02:00
Rhys Arkins
96c4df2776
chore: clean up ManagerConfig types (#11469)
* chore: use ExtractConfig for git-submodules

* chore: drop ManagerConfig from config/types

* chore: remove unused ManagerConfig from manager types
2021-08-30 08:05:32 +02:00
Michael Kriese
d260dbf2d9
feat: dashboard cleanup (#11417) 2021-08-25 14:11:18 +02:00
Rhys Arkins
ca89ae2f82
fix(dashboard): add link to docs in default header (#11422) 2021-08-25 13:03:57 +02:00
bprachi29
2f826677d0
fix(logs): INFO --print-config (#11299) 2021-08-23 16:27:11 +02:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins
56830ee86c refactor: admin->globalOnly 2021-08-17 07:57:45 +02:00
Rhys Arkins
9150854d75 chore: rename config/admin -> config/global 2021-08-17 07:57:45 +02:00
Rhys Arkins
bf69924b78 refactor: rename config admin functions to global 2021-08-17 07:57:45 +02:00
Yanis Benson
8319b1df52 fix: remove double hyphens from branch names (#11186)
Removes double or more hyphens from branch names and replaces with a single hyphen.

Closes #8260

BREAKING CHANGE: Branches with double hyphens will be changed to single hyphens, which can result in some existing PRs being autoclosed and replacements opened.
2021-08-17 07:57:45 +02:00
Rhys Arkins
123dc4444e feat(travis): remove supportPolicy (#11176) 2021-08-17 07:57:45 +02:00
Rhys Arkins
2fe494616d feat(yarn): remove yarnrc config support (#10114)
Removes support for "yarnrc" configuration option.

Closes #10113

BREAKING CHANGE: It is no longer supported to configure a "yarnrc" override in Renovate config
2021-08-17 07:57:45 +02:00
Maksim
a1b7e1fee4
fix(onboarding): refactor commit message functionality (#11171)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-12 14:56:51 +00:00
Yanis Benson
b1724b6745
feat: add updatePinnedDependencies option (#11087) 2021-08-09 10:14:50 +00:00
Sergei Zharinov
1392955a04
refactor: Identify tests relying on single snapshots (#11150)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00
Jamie Magee
f2b6af88da
refactor(pypi): convert to class-based (#11064) 2021-08-03 11:38:46 +00:00
HonkingGoose
c128d25a46
fix: improve dependency dashboard text (#11050) 2021-08-03 10:44:07 +00:00
Michael Kriese
005e601e5d
fix(core:dashboard): fix optional platform getIssue (#11066) 2021-08-03 07:22:29 +00:00
Bob van de Vijver
ac4f4a3f6d
feat: Add dependency dashboard label configuration (#10601)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-09 07:41:43 +00:00
Rhys Arkins
aa7f1cb952
feat: minimumConfidence (experimental, non-public) (#10313) 2021-06-23 20:19:14 +00:00
HonkingGoose
c718352614
fix: explain pending branch automerge checkbox behavior (#10569) 2021-06-23 16:40:37 +02:00
Michael Kriese
f290c8d34a
fix(dasboard): handle optional getIssue (#10518) 2021-06-21 07:05:05 +00:00
HonkingGoose
9dd254ab84
fix(dashboard): improve wording checkbox to ignore schedule (#10512) 2021-06-20 17:44:03 +02:00
Rhys Arkins
fe699b4468
fix(dashboard): handle checkbox race condition (#10457)
* fix(dashboard): handle checkbox race condition

Closes #4355

* feat(platform): getIssue

* refactor(dashboard): move logic into common file

* Apply suggestions from code review

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

* gitea

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-18 17:31:25 +00:00
Michael Kriese
926a076f7b
fix: reduce deprecation noise (#10498) 2021-06-18 17:16:31 +02:00
Michael Kriese
e21c2d97d1
fix(lookup): use database versioning if none set (#10494) 2021-06-18 11:03:47 +02:00
Rhys Arkins
91842073ef
fix(secrets): fix host-rules in repo config (#10459) 2021-06-16 14:02:07 +00:00
Rhys Arkins
7109030618
refactor(dashboard): move logic into common file (#10454)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-16 12:05:36 +00:00
Michael Kriese
5546d60e18
test: fix nock usage (#10451) 2021-06-16 09:13:33 +02:00
Rhys Arkins
0ecabfaef3 logs: setMeta after updating complete 2021-06-15 06:52:35 +02:00
Jamie Magee
3a9fc4fc62
refactor: remove more instances of 'master issue' (#10426) 2021-06-14 07:07:44 +02:00
Rhys Arkins
c7ca78bafd
fix(dashboard): separate pending branch automerge (#10332) 2021-06-07 12:15:19 +02:00
Rhys Arkins
34ef699b64
fix: prResult -> prBlockedBy (#10213) 2021-06-05 13:19:20 +02:00
Rhys Arkins
1e3b5f2470 refactor: pendingChecks to boolean 2021-06-04 09:18:42 +02:00
Sergei Zharinov
1b6ecd87c0
refactor: move binarySource option to admin config (#10022) 2021-06-02 06:50:23 +00:00
Sergei Zharinov
a9de944eb7
fix(util): Leverage "emojibase" library for shortcode conversions (#9785)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-01 19:19:38 +00:00
Rhys Arkins
da8676deca
chore: rename ensureMasterIssue (#10260)
Closes #10254
2021-06-01 15:07:54 +02:00
Rhys Arkins
69705c99a3
feat(automerge): recurse after automerge (#10229) 2021-05-31 13:01:48 +02:00
Rhys Arkins
ac61307604
fix(config): don't treat package.json like a config object (#10231)
Closes #10230
2021-05-30 06:01:24 +02:00
Rhys Arkins
854d0a86e8
feat(internal): use cache to delay git cloning (#10209)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-28 10:36:53 +00:00
Rhys Arkins
e8a4d973a5 chore: configFileName -> fileName 2021-05-28 10:10:47 +02:00
Rhys Arkins
1580a4fae3 test: fix await tests in init/merge 2021-05-28 10:10:17 +02: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
Matt Palmer
bf23c66c6f
fix: Use auto-discovered organisational preset configuration during on-boarding (#9888) 2021-05-24 12:16:24 +02:00
Rhys Arkins
0b743a9583 fix: filter pendingChecks earlier 2021-05-22 11:25:59 +02:00
Rhys Arkins
8f49d7ec5e chore: log depName when pending status checks 2021-05-22 11:25:29 +02:00
Sergei Zharinov
d680ff1e7c
fix(limits): Use PR hourly limits to calculate remaining branch count (#10053)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-19 15:50:37 +00:00
Sebastian Poxhofer
fefe5f7bc6
feat(onboarding): add labels to on boarding PR/MRs (#9947)
* feat(onboarding): add labels to on boarding PR/MRs

* fix: simplify

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-19 15:35:15 +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
76ae49c4e8 chore: coverage 2021-05-16 07:07:46 +02:00
Rhys Arkins
f67427a3a1 fix: string check for empty config contents 2021-05-15 13:08:46 +02:00
Rhys Arkins
a245932673 fix(npm): skip lock file generation for non-updated remediations 2021-05-15 12:14:41 +02:00
Rhys Arkins
bd2febb56d fix: respectLatest even if unstable 2021-05-15 00:02:24 +02:00
Rhys Arkins
aca479873c fix: pass rangeStrategy to generateUpdate 2021-05-14 10:31:06 +02:00
Rhys Arkins
fd1ab4b796
fix: updateType for update-lockfile (#9984) 2021-05-12 21:29:32 +00:00
Rhys Arkins
a70aa6b75b
fix(git): try/catch git author check (#9967) 2021-05-12 13:06:02 +00:00
Rhys Arkins
1a5db3412b
fix: filter pendingChecks per-branch (#9966) 2021-05-12 14:33:58 +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
65c01d2703
fix: avoid error if no currentVersion found (#9925)
Closes #9097
2021-05-10 10:19:30 +02:00
Rhys Arkins
9aaadd1f4a
feat: sourceRepoSlug (#9916) 2021-05-08 15:57:14 +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
Matt Palmer
5cdedd5e2c
refactor: split mergeRenovateConfig to own module (#9872) 2021-05-05 22:26:08 +02:00
Rhys Arkins
4eb4a5cd20
fix: ignore yargs-parser false positive (#9841) 2021-05-04 10:23:03 +02:00
Sergei Zharinov
b00c80a33f
fix(config): Emoji config default value (#9818) 2021-05-02 10:59:36 -07:00
Rhys Arkins
6ad1a33159
refactor: separate update generation (#9788)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-30 10:46:11 +02:00
Rhys Arkins
bafb55dd99
fix: patch grouping when separateMinorPatch=false (#9746)
Closes #9744
2021-04-27 16:14:57 +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
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
Florian Greinacher
2cc751a0a1
feat: ignore unavailable users (#9406) 2021-04-22 21:16:58 +02:00
Rhys Arkins
572749a398 refactor: artifactUpdateApproach -> skipInstalls
Roll back the previous refactor.
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
Sergei Zharinov
2d04ae6bc3
refactor(http): Import proper OutgoingHttpHeaders on all http clients (#9653) 2021-04-20 18:31:43 +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
9a306048a9
fix: rangeStrategy=replace with lockedVersion (#9634) 2021-04-20 04:56:16 +00:00
Rhys Arkins
d51b3aa40c fix: validate version before calling isGreaterThan
Closes #9602
2021-04-19 14:10:21 +02:00
Rhys Arkins
4280b8e08a refactor: drop skippedOverVersions 2021-04-18 21:36:04 +02:00
Rhys Arkins
6f54f09aa2
feat: don’t block updates due to pinning (#9600) 2021-04-18 17:27:41 +02:00
Rhys Arkins
56f57a34c4 refactor: res valueToVersion 2021-04-17 22:33:54 +02:00
Rhys Arkins
d3a477afd6 refactor: newDigestShort 2021-04-17 22:26:17 +02:00
Rhys Arkins
ac2ba7dd74 refactor: displayFrom/displayTo 2021-04-17 21:36:25 +02:00
Rhys Arkins
d398b7e72e test: generate newValue 2021-04-17 16:52:47 +02:00
Rhys Arkins
ccf1bc8264
refactor: rollback config (#9589) 2021-04-17 11:53:03 +00:00
Rhys Arkins
de53356573 refactor: currentVersion / lockedVersion 2021-04-17 11:08:23 +02:00
Rhys Arkins
61095e9091 chore: remove duplicate update.newVersion set 2021-04-17 09:29:35 +02:00
Rhys Arkins
e36384a80c refactor: lookup types 2021-04-17 09:14:21 +02:00
Rhys Arkins
d0919ab99b refactor: travis result type 2021-04-17 06:53:54 +02:00
Rhys Arkins
074a78d933 chore: rename lookup variables 2021-04-17 06:14:07 +02:00
Rhys Arkins
5ff0ad45ce refactor: processBranch return branchExists 2021-04-15 22:05:00 +02:00
Rhys Arkins
fb7138dc00 refactor: processBranch return object 2021-04-15 21:17:15 +02:00
Rhys Arkins
14c5227ce3 refactor: ProcessBranchResult -> BranchResult 2021-04-15 19:06:55 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Rhys Arkins
6662db9765
fix: don’t disable repos if cannot fork (#9521) 2021-04-13 08:54:46 +02:00
Rhys Arkins
1dad55586b
feat(config): migrate nested packageRules (#9496) 2021-04-11 18:00:29 +02:00
Rhys Arkins
254d08fcbd
fix(config): migrate nested config (#9489)
Adds an extra migration step after resolving config in order to migrate nested presets.

Closes #8579
2021-04-10 19:41:39 +02:00
Sergei Zharinov
d1c8917a26
refactor(workers): Extract common file matching configuration logic (#9471) 2021-04-09 17:05:05 +02:00
Sergei Zharinov
36f8d1df0e
refactor(platform): getRawFile and getJsonFile throw instead of null (#9413)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2021-04-07 04:23:11 +00:00
Rhys Arkins
553bd99650 fix(npm): Revert "feat(npm): transitiveRemediation for v2 lockfiles (#9402)"
This reverts commit cec56faf52.
2021-04-05 10:56:08 +02:00
Rhys Arkins
cec56faf52
feat(npm): transitiveRemediation for v2 lockfiles (#9402) 2021-04-05 07:16:56 +02:00
Rhys Arkins
4f8a3a4fbc fix(cache): warn not error for pull 404 2021-04-02 06:40:50 +02:00
Rhys Arkins
95bf948020
refactor: config warning/error fields (#9349) 2021-04-01 15:50:17 +02:00
Rhys Arkins
2fb87eddcf
fix: revert npmrc handling changes (#9347) 2021-04-01 14:19:47 +02:00
Rhys Arkins
7903d51776
fix: catch unknown datasource early (#9344) 2021-04-01 06:59:43 +02:00
Rhys Arkins
9de36c4493
refactor: ignoreNpmrcFile (#9299) 2021-03-27 09:02:26 +01:00
Rhys Arkins
af1e4ee1a7
feat: secrets (#8070) 2021-03-22 15:51:38 +01:00
Rhys Arkins
adc2f24ba1 refactor: lernaJsonFile into managerData 2021-03-19 15:58:24 +01:00
Rhys Arkins
3d3cc74596 refactor: lernaDir -> lernaJsonFile 2021-03-19 15:33:23 +01:00
Rhys Arkins
bca8931d53
fix(npm): datasource improvements (#9178) 2021-03-17 14:40:50 +01:00
Rhys Arkins
95ce900e70 refactor: npmId 2021-03-16 19:25:03 +01:00
Rhys Arkins
a45c5f3a3f
refactor: remove git-submodules datasource (#9128) 2021-03-15 06:11:46 +00: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
Rhys Arkins
d1152e177b fix: delete vulnerabilityAlerts after merging 2021-03-13 10:08:26 +01:00
Rhys Arkins
3357e6333d
refactor: Object.assign -> object spread (#9076) 2021-03-11 08:03:37 +01:00
Rhys Arkins
c8fc8ec736 fix: set enabled=true for remedations 2021-03-08 13:55:59 +01:00
Rhys Arkins
3ec744b401
fix: pypi vulnerabilities mapping (#9026)
* fix: pypi vulnerabilities mapping

* fix: correct pypi vulnerable requirements

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-08 04:55:38 +00:00
Rhys Arkins
d3808fbc3b refactor: log branchName for each update 2021-03-07 22:11:19 +01:00
Rhys Arkins
eb8f895f2e
refactor: eslint no-negated-condition (#8973) 2021-03-04 06:21:55 +01:00
Michael Kriese
74d7691bef
refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Rhys Arkins
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
Rhys Arkins
399d7ea73e
refactor: platform.getPrBody -> massageMarkdown (#8787) 2021-02-28 18:19:35 +00:00