Commit graph

2375 commits

Author SHA1 Message Date
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
Rhys Arkins
594e6e4eae
docs: improve Getting Started (#11202) 2021-08-12 13:14:16 +02:00
Michael Kriese
394f0bb741
test: fix http mocks (#11191) 2021-08-09 19:37:28 +02:00
Yanis Benson
b1724b6745
feat: add updatePinnedDependencies option (#11087) 2021-08-09 10:14:50 +00:00
Maksim
1bb004db4e
refactor(platform): mergePr args to object (#11155) 2021-08-08 03:35:35 +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
Sergei Zharinov
9d580e091f
feat(gitlab): Add gitLabIgnoreApprovals option (#10981) 2021-08-04 09:49:42 +02: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
Jason Birch
3096f340c8
feat: expose merge strategy for configuration when automerging (#10627) 2021-07-29 09:06:55 +00:00
Sergei Zharinov
31785b8742
fix(config): Replace '__' to '_' globally when decoding hostRules from env (#10939) 2021-07-23 10:09:30 +00:00
Michael Kriese
48c33bee7d
feat(github-action): Support updating digest pinned actions (#10835) 2021-07-14 12:58:32 +02: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
Sebastian Poxhofer
3be44469bb
refactor(artifacts): replace list of depNames with PackageDependency list (#10617)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-26 13:29:01 +00:00
Niels Basjes
c077f15831
fix: Improve the default User-agent string. (#10606) 2021-06-26 07:02:35 +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
c08d7fa89f
fix: don't skip branch creation on rebaseWhen=never (#10556) 2021-06-23 10:46:17 +00:00
Michael Kriese
f290c8d34a
fix(dasboard): handle optional getIssue (#10518) 2021-06-21 07:05:05 +00:00
Rhys Arkins
40f3aa2e15
fix(changelog): use sourceDirectory for monorepo changelogs (#10501)
Closes #2926
2021-06-20 21:32:11 +02: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
Sergei Zharinov
5f2e754891
fix(workers): Early return for rebaseWhen=never (#10424) 2021-06-18 08:05:59 +00:00
Sebastian Poxhofer
a445a66336
feat: remove defaulting to semver versioning (#10431)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-17 08:51:30 +00: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
Michael Kriese
876c2f40a5
fix: update cli help (#10444) 2021-06-15 15:34:49 +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
22d82d9a7e
fix(dashboard): handle update-not-scheduled PRs (#10337)
Closes #9275
2021-06-07 15:22:14 +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
Rhys Arkins
11694e9294
refactor: move config/parse into global worker (#10282) 2021-06-02 12:06:16 +02:00
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
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
Michael Kriese
3c7546f7cd
test: simplify nock handling (#10170) 2021-05-27 14:13:31 +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
Rhys Arkins
15fde37535
fix: Revert "feat: validate git version" (#10106)
This reverts commit 1304bc930e.
2021-05-22 09:34:51 +02:00
Rhys Arkins
1304bc930e
feat: validate git version (#9979) 2021-05-21 19:51:03 +00: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
Rhys Arkins
e7506fefa5 fix: post upgrade commands localDir 2021-05-19 12:27:57 +02:00
Michael Kriese
d8f4b86b14
refactor: replace linkify-markdown (#9954)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-19 03:23:59 +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
02a22755f0 fix: remove udpateType=minor->patch massage 2021-05-13 23:24:35 +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
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
Fredrik Blomqvist
467b5ae2fe
feat: Improve schedules (#9819) 2021-05-05 20:45:33 +00:00
Matt Palmer
5cdedd5e2c
refactor: split mergeRenovateConfig to own module (#9872) 2021-05-05 22:26:08 +02:00
Florian Greinacher
d652a5e5c6
fix: remove leading '@' symbol from usernames (#9817) 2021-05-05 08:31:53 +02:00
Rhys Arkins
4eb4a5cd20
fix: ignore yargs-parser false positive (#9841) 2021-05-04 10:23:03 +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
Sergei Zharinov
b00c80a33f
fix(config): Emoji config default value (#9818) 2021-05-02 10:59:36 -07:00
Rhys Arkins
61c648d20b chore: simplify global hostRules test 2021-05-01 23:17:38 +02:00
Rhys Arkins
915bd15ce9 chore: fix HostRule type 2021-05-01 22:52:10 +02:00
Rhys Arkins
3c2b394e8d
fix: keep stabilityDays pending check even if dashboard checked (#9799) 2021-04-30 17:46:20 +02: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
Rhys Arkins
65c3992ec5
fix: create PR if stale branch can't automerge (#9723) 2021-04-26 07:00:26 +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
Michael Kriese
e0488a3ebb
fix(worker): wrong no branch delete on dry-run (#9682) 2021-04-22 16:03:47 +02:00
Rhys Arkins
572749a398 refactor: artifactUpdateApproach -> skipInstalls
Roll back the previous refactor.
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
Sergei Zharinov
2d04ae6bc3
refactor(http): Import proper OutgoingHttpHeaders on all http clients (#9653) 2021-04-20 18:31:43 +02:00
Sergei Zharinov
4f237ea680
refactor(http): Use default "accept-encoding" value (#9652) 2021-04-20 15:37:57 +02:00
Sergei Zharinov
b957d4afb7
refactor(config): Extract interfaces from "index.ts" to separate "types.ts" (#9629) 2021-04-20 10:52:57 +02:00
Rhys Arkins
f654f2d945
fix: Revert "feat: Allow multiple autodiscover filter (#9453)" (#9641)
This reverts commit 45739cddfd.
2021-04-20 06:59:42 +00:00
Rhys Arkins
9a306048a9
fix: rangeStrategy=replace with lockedVersion (#9634) 2021-04-20 04:56:16 +00:00
Emanuel Bennici
45739cddfd
feat: Allow multiple autodiscover filter (#9453) 2021-04-19 14:18:06 +00:00
Rhys Arkins
d51b3aa40c fix: validate version before calling isGreaterThan
Closes #9602
2021-04-19 14:10:21 +02:00
Rhys Arkins
4280b8e08a refactor: drop skippedOverVersions 2021-04-18 21:36:04 +02:00
Rhys Arkins
6f54f09aa2
feat: don’t block updates due to pinning (#9600) 2021-04-18 17:27:41 +02:00
Rhys Arkins
56f57a34c4 refactor: res valueToVersion 2021-04-17 22:33:54 +02:00
Rhys Arkins
d3a477afd6 refactor: newDigestShort 2021-04-17 22:26:17 +02:00
Rhys Arkins
ac2ba7dd74 refactor: displayFrom/displayTo 2021-04-17 21:36:25 +02:00
Rhys Arkins
d398b7e72e test: generate newValue 2021-04-17 16:52:47 +02:00
Rhys Arkins
ccf1bc8264
refactor: rollback config (#9589) 2021-04-17 11:53:03 +00:00
Rhys Arkins
de53356573 refactor: currentVersion / lockedVersion 2021-04-17 11:08:23 +02:00
Rhys Arkins
61095e9091 chore: remove duplicate update.newVersion set 2021-04-17 09:29:35 +02:00
Rhys Arkins
4fb024e51b refactor: elapsed time utilities 2021-04-17 09:26:28 +02:00
Rhys Arkins
e36384a80c refactor: lookup types 2021-04-17 09:14:21 +02:00
Rhys Arkins
d0919ab99b refactor: travis result type 2021-04-17 06:53:54 +02:00
Rhys Arkins
074a78d933 chore: rename lookup variables 2021-04-17 06:14:07 +02:00
Rhys Arkins
5ff0ad45ce refactor: processBranch return branchExists 2021-04-15 22:05:00 +02:00
Rhys Arkins
dbbeea1c13 test: branch worker use snapshots 2021-04-15 21:45:07 +02:00
Rhys Arkins
fb7138dc00 refactor: processBranch return object 2021-04-15 21:17:15 +02:00
Rhys Arkins
227f9f73dd refactor: branch worker handle existing PR 2021-04-15 19:53:44 +02:00
Rhys Arkins
14c5227ce3 refactor: ProcessBranchResult -> BranchResult 2021-04-15 19:06:55 +02:00
Rhys Arkins
f87d5e8b76
refactor: complex PR automerge result (#9567) 2021-04-15 16:30:02 +02:00
Rhys Arkins
9ee35de2e1 refactor: perform branch deletion in automerge function 2021-04-15 14:09:06 +02:00
Rhys Arkins
6d17d7bbbd test: snapshot pr automerge result 2021-04-15 13:50:58 +02:00
Rhys Arkins
e90593e339 refactor: move automerge check to branch worker 2021-04-14 22:58:06 +02:00
Rhys Arkins
064958908f refactor: simplify pr automerge function 2021-04-14 22:32:39 +02:00
Rhys Arkins
966e141de7 refactor: separate automerge function in pr 2021-04-14 22:18:57 +02:00
Luca Becker
34d6483257
feat(release-notes): running unemojify on release notes (#9535) 2021-04-14 11:03:08 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
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
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
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
430249d626
refactor: Renovate configuration -> Configuration (#9399) 2021-04-05 10:09:41 +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
Tom Jenkinson
e9477dade4
feat: add warning to rebase/retry checkbox if it will overwrite custom commits (#9378) 2021-04-04 09:31:30 +00: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
Florian Greinacher
5f84737539
feat: expose post upgrade command errors in PRs (#8944) 2021-03-20 21:36:43 +00: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
717e4e6b2a fix: stabilityStatus non-null check 2021-03-14 07:33:53 +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
c17e40993a docs: lint 2021-03-09 23:21:38 +01:00
Rhys Arkins
2b2ca4cf5d fix: warn not error for branch error 2021-03-08 15:55:24 +01:00
Rhys Arkins
c8fc8ec736 fix: set enabled=true for remedations 2021-03-08 13:55:59 +01:00
Rhys Arkins
ef2a13f4f2
fix: don’t throw repository-changed from git layer (#9032) 2021-03-08 09:02:48 +00:00
Rhys Arkins
1024606ef1
fix: remove artifacts error comment whenever branch PR exists (#9029) 2021-03-08 09:11:49 +01:00
Rhys Arkins
86df157d36 refactor: comment topics 2021-03-08 08:47:36 +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
948039d52b refactor: INTERRUPTED -> TEMPORARY_ERROR 2021-03-07 21:40:40 +01:00
Rhys Arkins
40a048d67d
fix: don’t rebase for automerge when rebaseWhen=conflicted (#9011)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-07 09:00:20 +00:00
Michael Kriese
b50e21646e
feat: deprecate node v12 (#8956)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-03-05 09:59:07 +00: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
57ac935577
fix: Revert "feat(helm-values): Support for bumpVersion" (#8926)
This reverts commit 662a60a87e.
2021-03-01 18:35:52 +00:00
davidgwcurve
e3ccc26af7
feat(go): support self hosted go modules in gitlab (#8876) 2021-03-01 18:35:35 +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
Rhys Arkins
f3daa9e555
fix: don’t skip modified branch from old PR (#8885) 2021-02-28 07:36:13 +00:00
chgl
662a60a87e
feat(helm-values): Support for bumpVersion (#8240) 2021-02-28 06:53:26 +01:00
Rhys Arkins
bc10487082
fix: don’t Object.assign first upgrade over config (#8892)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-02-27 08:48:11 +00:00
Rhys Arkins
b6452b0040 fix: set branch updateType to major if any update is major 2021-02-27 07:47:37 +01:00
Rhys Arkins
5f195e9d4f fix: merge labels and addLabels in groups 2021-02-27 07:00:02 +01:00
Rhys Arkins
4f97dd4331 refactor: get-updated packageFileContent 2021-02-26 11:20:31 +01:00
Rhys Arkins
256fe01a4c refactor: matchFiles 2021-02-24 15:40:39 +01:00
Rhys Arkins
e9297944ab logs: improve logging 2021-02-24 15:20:48 +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
Rhys Arkins
910d264cab tests: fix dashboard coverage 2021-02-24 09:34:25 +01:00
Rhys Arkins
1e24b9fc5c fix: ensure dashboard if approvals in config 2021-02-23 23:33:48 +01:00
Rhys Arkins
728082b3c3 fix(cache): correct revision 2021-02-22 19:39:33 +01:00
Rhys Arkins
9171e712d4
feat: updateInternalDeps (#8809) 2021-02-22 15:09:35 +00:00
Rhys Arkins
2be25c4ae6 refactor: applyUpdateConfig 2021-02-22 12:48:00 +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
cdffaca4e1 chore: alertPackageRules PackageRule type 2021-02-22 09:54:29 +01:00
Rhys Arkins
7ae3ce323f fix(automerge): handle github branch protection failures 2021-02-22 09:07:23 +01:00
Rhys Arkins
8e7e41f6a3
fix: rebase if automerging even if rebaseWhen=conflicted (#8796) 2021-02-22 06:45:36 +01:00
Rhys Arkins
4b62acc616 refactor: file-based alert aggregation 2021-02-21 23:09:53 +01:00
Rhys Arkins
e86bddd5bb refactor: simplify vulnerability aggregation 2021-02-21 22:14:17 +01:00
Rhys Arkins
8c48d4bc9d
refactor: vulnerability matchFiles (#8786) 2021-02-20 21:44:32 +01:00
Rhys Arkins
2c9a172834
feat: per-file vulnerability alerts (#8770) 2021-02-20 06:00:44 +00:00
Michael Kriese
9a1c4fabb7
feat(gomod): do not shorten depName (#8758) 2021-02-18 16:27:47 +01:00
Rhys Arkins
f41430bbb9 refactor: fixedVersion calculation 2021-02-18 14:54:11 +01:00
Rhys Arkins
5af13b10c3 refactor: remove superfluous valid check 2021-02-18 14:51:36 +01:00
Rhys Arkins
8b42b62aa8 refactor: UpdateTypeConfig 2021-02-18 12:02:26 +01:00
Rhys Arkins
436abf51de refactor: pass versioning to getUpdateType 2021-02-18 11:59:26 +01:00
Rhys Arkins
1d4672cda0
fix: don’t imply patch from automerge settings (#8747) 2021-02-18 10:12:38 +01:00
Rhys Arkins
22b4fadd6d refactor: pass versioning to getCurrentVersion 2021-02-18 09:44:36 +01:00
Rhys Arkins
54d82d23c2 refactor: lookup destructuring 2021-02-18 09:35:41 +01:00
Rhys Arkins
df2db74c06 refactor: BucketConfig 2021-02-18 09:30:04 +01:00
Rhys Arkins
07a05012f1 refactor getCurrentVersion versioning 2021-02-18 09:28:18 +01:00
Rhys Arkins
21cfbd2e82 refactor: move lookup functions into own files 2021-02-18 09:21:01 +01:00
Rhys Arkins
e7f2beebdb refactor: centralize lookup types 2021-02-18 08:35:26 +01:00
Rhys Arkins
71e26d835d refactor: rename lookup functions 2021-02-18 08:27:56 +01:00
Rhys Arkins
c34e54c5d3 refactor: remove SkipVersion.UnsupportedValue 2021-02-18 08:24:08 +01:00
Rhys Arkins
bbd78d490c refactor: remove SkipReason.Unknown 2021-02-18 08:09:04 +01:00
Rhys Arkins
33e7e41534
refactor: latestVersion -> tags.latest (#8739) 2021-02-18 08:00:00 +01:00
Rhys Arkins
01e1f38019
refactor: remove unused ReleaseResult fields (#8737) 2021-02-17 21:29:25 +01:00
Rhys Arkins
32440f26a4
refactor: toVersion -> newVersion (#8711) 2021-02-16 12:33:44 +01:00
Rhys Arkins
1e90a544fc refactor: hashed branch compilation 2021-02-16 12:31:10 +01:00
Rhys Arkins
f72fe9f724 chore: codecov 2021-02-16 12:08:43 +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
acf57144f8
refactor: remove currentVersion (#8708) 2021-02-16 09:43:38 +01:00
Sergei Zharinov
44004bf2d6
refactor(limits): Log more for concurrent branch detection (#8698) 2021-02-15 14:23:31 +01:00
Rhys Arkins
0e0308fdd8 refactor: bucketRelease 2021-02-13 11:24:35 +01:00
Rhys Arkins
1acda01b6e refactor: store bucket releases, not versions 2021-02-13 11:18:26 +01:00
Rhys Arkins
a9a08cf902 refactor: bucketVersions 2021-02-13 00:01:30 +01:00
Rhys Arkins
1be1be9056 refactor: move update checking later 2021-02-12 23:49:25 +01:00
Rhys Arkins
0f456d0615 refactor: getBucket 2021-02-12 23:41:20 +01:00
Rhys Arkins
b9e084000e refactor: lookup version -> versioning 2021-02-12 23:30:44 +01:00
Rhys Arkins
f5ceba085b refactor: add bucket to update 2021-02-12 23:27:48 +01:00
Rhys Arkins
b2bbe96657 fix: don’t try to detect major automerge 2021-02-12 22:41:40 +01:00
Rhys Arkins
cadace3241 fix: edge cases for bump/update-lockfile 2021-02-12 22:29:00 +01:00
Rhys Arkins
e61a32aef1 refactor: lookup updates loop 2021-02-12 19:06:40 +01:00
Rhys Arkins
55afac8227 refactor: highestUpdate -> update 2021-02-12 17:55:36 +01:00
Rhys Arkins
f6b438508e refactor: simplified lookup buckets 2021-02-12 17:38:28 +01:00
Rhys Arkins
2a4875b230
refactor: log skippedOverVersions (#8664) 2021-02-12 15:34:43 +01:00
Rhys Arkins
e28e8b44cb fix: add new disabled commands to result handling 2021-02-11 17:10:20 +01:00
Rhys Arkins
fa9031f5e9 feat(internal): expand disabled error messages
Splits REPOSITORY_DISABLED into multiple
2021-02-11 13:32:29 +01:00
Charles Korn
1a9e54341e
fix(batect): "Failed to parse newContent" (#8632) 2021-02-11 08:32:57 +01:00
Rhys Arkins
855db036d5
fix: rename baseDir to packageFileDir for templating (#8625) 2021-02-10 23:39:06 +00:00
Michael Kriese
3281e1aadc
test: fix coverage (#8590) 2021-02-08 12:31:57 +00:00
Michael Kriese
d029350052
fix(worker): rebase stale pr (#8588) 2021-02-08 12:06:11 +01:00
Rhys Arkins
78551afdec chore: LegacyAdminConfig 2021-02-07 22:13:55 +01:00
Rhys Arkins
d203def3d0 refactor: baseDir to global config 2021-02-05 22:35:03 +01:00
Rhys Arkins
6fa37294cf refactor: dryRun admin config 2021-02-05 22:21:24 +01:00
Rhys Arkins
c80165dd11 fix: move privateKey to admin config 2021-02-05 17:53:50 +01:00
Rhys Arkins
90db7e28a6
feat(config): delete after setting admin config (#8557) 2021-02-05 16:08:52 +00:00
Rhys Arkins
4e1271b702
fix(config): move trustLevel to admin config (#8555) 2021-02-05 12:30:01 +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
Adam Horacek
60174c4cf4
fix: always add additionalReviewers to PR (#8550) 2021-02-05 07:07:39 +01:00
Tobias Bieniek
ee178df01a
feat: hashedBranchLength option (#8502) 2021-02-03 15:48:54 +01:00
Sergei Zharinov
72b0b85640
feat(config): Rename packageRules selectors (#6939) 2021-01-29 11:43:42 +01:00
Artur Frysiak
e063c8f931
feat: handle GitLab push rule violation (#8416)
* feat: handle GitLab push rule violation

Closes #8414

* feat: handle GitLab push rule violation

* feat: handle GitLab push rule violation

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-01-27 10:17:42 +01:00
Rhys Arkins
391fe681fd tests: fix coverage 2021-01-24 15:11:01 +01:00
Rhys Arkins
3ff35656b3
refactor: add depNameShort during flatten (#8401) 2021-01-24 08:34:33 +01:00
Rhys Arkins
e0a1064a37
fix: remove consecutive hyphens from depNameSanitized (#8400) 2021-01-24 07:22:28 +00:00
Rhys Arkins
e5ce9f7e5c fix: sort vulnerability PRs first 2021-01-23 08:06:20 +01:00
Rhys Arkins
c24eb6b7a5 fix: don’t block vulnerability PRs due to pin PRs 2021-01-23 08:04:14 +01:00
Rhys Arkins
9fc7911b1c fix: exclude vulnerability PRs from rate limits 2021-01-23 08:03:54 +01:00
Rhys Arkins
294cf9fb99
refactor: datasource defaultVersioning (#8367) 2021-01-21 12:39:18 +01:00
Rhys Arkins
ebb40b3adb
fix(github): pass up repo not found in init (#8355) 2021-01-19 23:07:12 +01:00
Stefan
91d30caed7
fix: fetch changelog from self-hosted gitlab independent from url (#8336) 2021-01-19 09:36:27 +01:00
Amos Wenger
b21e8a1909
feat(rust): Private crate registry support (rust/cargo) (#8083)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-01-17 09:18:32 +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
Rhys Arkins
e452b83040
refactor: change bumpPackageVersion return signature (#8232) 2021-01-10 11:10:34 +01:00
Rhys Arkins
18a87db919
fix: skip branch if no PR but modified (#8230) 2021-01-09 17:26:48 +01:00
Rhys Arkins
44a33bcd4b logs: changelog fetch 2021-01-08 11:30:54 +01:00
Michael Kriese
7a25491a49
fix: wrong code quoting (#8223)
* fix: wrong code quoting

* fix: can be undefined

* fix: wrong function
2021-01-08 06:47:14 +00:00
Michael Kriese
c2d1d4d66d
feat: suppress onboarding preset warning (#8214) 2021-01-08 07:30:41 +01:00
Shunsuke Suzuki
de852ac7de
feat: support template in labels (#8138)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-30 12:27:05 +01:00
Rhys Arkins
5209be38e9
refactor: remove manager from PackageRile (#8102)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-21 10:18:48 +00:00
Rhys Arkins
2734fca0fc logs: log config file name when found 2020-12-19 21:56:07 +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
Michael Kriese
e91191c667
fix(regex-manager): copy templates for auto-replace (#8072) 2020-12-18 17:24:15 +01:00
Rhys Arkins
464fcc2dbc fix(autoreplace): skip depName compare if undefined 2020-12-18 16:42:20 +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
Michael Kriese
2f432626f0
fix(auto-replace): should fail on wrong replace (#8062) 2020-12-18 11:39:27 +01:00
Sergei Zharinov
62c68d07e3
refactor(workers): Use limiting API for PRs instead of in-place counters (#8031) 2020-12-16 09:13:52 +01:00
Rhys Arkins
0b53e9462c fix: pass ExternalHostError up 2020-12-14 09:09:21 +01:00
Rhys Arkins
6b1b34bf26 logs: lower replace warning to info 2020-12-13 14:52:31 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
Sergei Zharinov
683b87f845
fix(limits): Refactor hourly PR limit calculation (#7930)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-11 10:10:26 +01:00
Rhys Arkins
4202be9ef0
fix: don’t prioritize updateTypes packageRules (#7897)
Removes code which ensured rules with updateTypes always ran last and therefore had higher priority.

Closes #4482

BREAKING CHANGE: Package Rules will be evaluated in the order they are configured, instead of evaluating rules with updateTypes last.
2020-12-11 10:10:12 +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
renovate[bot]
6c414e7736
chore(deps): update dependency eslint-config-prettier to v7 (#7940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-11 09:35:56 +01:00
Sergei Zharinov
c98a537f8b
refactor(limits): Refactor global limits counter (#7931) 2020-12-11 09:26:47 +01:00
Rhys Arkins
e41b5161e3 fix: create vulnerability PRs immediately 2020-12-11 09:15:52 +01:00
Sergei Zharinov
fc82a2a6b9
refactor: Rename maxSatisfyingVersion to getSatisfyingVersion (#7917) 2020-12-10 09:25:04 +01:00
Alex Ruffo
b7495330c0
feat: customize onboarding file name (#7866) 2020-12-07 10:14:46 +01:00
Michael Kriese
2f87b53c3e
fix(worker): early exit if config can't parsed (#7884) 2020-12-04 09:21:57 +01:00
Michael Kriese
b12c522e0b
feat(gitlab): support automerge on pr update (#7871) 2020-12-03 16:13:21 +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