Commit graph

1967 commits

Author SHA1 Message Date
Sergio Zharinov
5fc7bea230
fix(limits): Count branches for prCreation having "non-pending" value (#7388) 2020-09-30 21:06:03 +02:00
Rhys Arkins
75737805c8
refactor: rename compatibility -> constraints (#7308) 2020-09-30 11:02:25 +02:00
Sergio Zharinov
8ab6d6076a
refactor(workers): Extract 'getFileList' call outside of match loop (#7349) 2020-09-30 08:40:19 +02:00
Rhys Arkins
9f99c5e073 feat(internal): write branches cache 2020-09-22 13:10:07 +02:00
Rhys Arkins
f0ba97b6c2 fix: Revert "refactor: write branches cache"
This reverts commit 266534eb72.
2020-09-22 12:20:15 +02:00
Sergio Zharinov
2299485afd
refactor(http): Prepare "util/http" for queues (#7119)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 06:16:21 +02:00
Rhys Arkins
266534eb72 refactor: write branches cache 2020-09-22 06:11:17 +02:00
Sergio Zharinov
0ea1413e57
refactor(platform): Rename "branchName" to "sourceBranch" (#7284)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-22 06:09:59 +02:00
Rhys Arkins
d863036a1f
refactor: packageJsonVersion -> packageFileVersion (#7338) 2020-09-22 05:32:42 +02:00
Florian Greinacher
71cf56eaf9
feat(dependency-dashboard): display logged repository problems (#6952)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-21 22:04:11 +02:00
ylemkimon
de7ca87758
fix(npm): merge compatibility in generateBranchConfig (#7290)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-17 10:36:11 +02:00
Rhys Arkins
4e1ace3a85 fix(git): gracefully abort for bad revision errors 2020-09-15 12:05:19 +02:00
Rhys Arkins
35c5fe81a1 feat(internal): log fixedVersion of dependencies 2020-09-13 12:03:20 +02:00
Rhys Arkins
2c9ebbe54b refactor: sort fileMatch result for deterministic ordering 2020-09-13 07:17:43 +02:00
Tobias Bieniek
171b65eed0
feat(pr/body): Fall back to dependencyUrl property (#7262)
... if no `homepage` or `sourceUrl` is available

This is relevant for the `crate` datasource where both are currently not available due to the API rate limiting.
2020-09-12 14:11:35 +02:00
Rhys Arkins
facf46c84e
fix: treat config validation errors as enabled (#7255) 2020-09-12 07:28:12 +02:00
Sergio Zharinov
ec2154963a
fix(dependency-dashboard): Force checked PRs creation (#7253)
* fix(dependency-dashboard): Force checked PRs creation

* Simplify

* Remove unused check
2020-09-11 20:35:57 +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
Rhys Arkins
b7ac19d9bf
fix: sanitize github vulnerability alert bodies (#7246) 2020-09-10 21:57:18 +02:00
Tobias Bieniek
c0026ff1c9
fix: changelog: Fix files.length conditions (#7210)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-08 13:20:17 +02:00
Jamie Magee
f3a3db4a4f
fix(pr): move ADO and BB pr config to repo configuration (#7176)
* fix(pr): move ADO and BB pr config to repo configuration

This change moves `azureWorkItemId` & `bbUseDefaultReviewers` from self-hosted configuration (only) and allows them to be set at any level.

In draft for now as it needs test fixes

Fixes #7150

* test fixes

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 12:55:37 +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
pulish
5f2844247f
fix(dry-run): don't check non existing branch in dry-run (#7171)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:38:19 +02:00
Rhys Arkins
2c9b1de0b8 refactor: remove unused branchList in updateRepo 2020-09-01 18:33:45 +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
539312645c refactor: better init config names 2020-09-01 16:40:06 +02:00
Rhys Arkins
4a0605a765 fix(changelog): harden check for fromVersion and toVersion 2020-09-01 15:59:54 +02:00
Rhys Arkins
2d344b1a69 test: remove noisy snapshot 2020-09-01 15:31:02 +02:00
Sergio Zharinov
831c45397f
refactor(limits): Concise implementation for workers/global/limits.ts (#7140)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-01 14:47:12 +02:00
Rhys Arkins
7651d2e420 feat: additionalBranchPrefix 2020-09-01 14:36:10 +02:00
Rhys Arkins
cda4e7c21e fix: revert config cache 2020-09-01 14:23:28 +02:00
Rhys Arkins
c75d2c6873
refactor: detectSemanticCommits (#7151) 2020-09-01 10:44:52 +02:00
Rhys Arkins
540d47ba87 chore: fix lint 2020-09-01 07:25:13 +02:00
Rhys Arkins
1ddbce2fa2 test: refactor init tests 2020-09-01 07:10:50 +02:00
Rhys Arkins
92c5f2a414 chore: move cache type to init/common 2020-09-01 06:36:23 +02:00
Rhys Arkins
0bd7d27b33 chore: type -> interface 2020-09-01 06:30:52 +02:00
Rhys Arkins
8a286a4663 chore: rename RepoConfig -> RepoFileConfig 2020-09-01 06:20:26 +02:00
Rhys Arkins
4b2eaf54ec
refactor: initRepo cache (#7146) 2020-08-31 20:01:41 +02:00
Sergio Zharinov
bffebcc331
refactor(workers): Enum type for ProcessBranchResult (#7132) 2020-08-31 16:05:38 +02:00
Julien Poissonnier
499c838fe0
feat(gitlab): Allow using an OAuth2 token for authentication (#7131)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-31 15:36:48 +02:00
Rhys Arkins
6dbb1c710c refactor: get defaultBranchSha from git 2020-08-31 13:14:13 +02:00
Sergio Zharinov
ad52ac9b13
fix(eslint): Restrict the rules and fix errors (#7117) 2020-08-31 13:13:02 +02:00
Rhys Arkins
0a60516891 chore: getRepoConfig -> detectRepoFileConfig 2020-08-31 12:42:25 +02:00
Rhys Arkins
b88b1c96da refactor: split out repo config error throwing 2020-08-31 12:31:42 +02:00
Rhys Arkins
40d3316703 refactor: write repoConfig to cache 2020-08-31 12:14:10 +02:00
Rhys Arkins
8c5e6f3689
refactor: split getRepoConfig from mergeRenovateConfig (#7142) 2020-08-31 11:40:18 +02:00
Rhys Arkins
01659f2bb2 chore: fix lint 2020-08-31 11:20:53 +02:00
Rhys Arkins
81a75dd8b4 refactor: remove null file check 2020-08-31 11:14:55 +02:00
Rhys Arkins
0ce9837b9d fix: Revert "feat: additionalBranchPrefix"
This reverts commit 9385fb557b.
2020-08-31 09:33:34 +02:00
Rhys Arkins
9385fb557b feat: additionalBranchPrefix
Renamed from managerBranchPrefix
2020-08-31 07:47:24 +02:00
Rhys Arkins
012561f69a
feat(git): get branch commit without cloning (#7130)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-30 22:03:58 +02:00
Rhys Arkins
80b691c807
refactor: remove platform.setBaseBranch (#7137) 2020-08-30 21:27:02 +02:00
Rhys Arkins
937a2e48b0 chore: rename commitHash -> commitSha 2020-08-29 14:48:48 +02:00
Sergio Zharinov
21e1f1ff3e
feat(worker): Enforce limits at PR creation time (#7099) 2020-08-28 15:22:14 +02:00
Rhys Arkins
c1245b2d4b
feat(internal): lazy git initialization (#7006)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-28 10:08:39 +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
Rhys Arkins
d4c466ac9d fix: compile lock file maintenance branch name
Closes #7110
2020-08-26 15:57:55 +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
Rhys Arkins
7bb198f1b7 fix: multiple major branch name separation 2020-08-26 14:32:10 +02:00
Rhys Arkins
d21e50d911
feat(internal): write branchName to each update (#7107) 2020-08-26 11:27:09 +02:00
Rhys Arkins
5f94ec586a
refactor: move parentDir/baseDir generation to flattenUpdates (#7104) 2020-08-26 09:31:26 +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
Rhys Arkins
6a0f9a9a60
fix: try/catch localDir deletion (#7090) 2020-08-25 10:22:21 +02:00
Rhys Arkins
c234428fd5 fix: more flexible check for dashboard approval 2020-08-25 10:02:11 +02:00
Rhys Arkins
cff22ccc16
fix: always show dependency dashboard footer (#7078) 2020-08-24 14:35:22 +02:00
Jamie Magee
5c1947108d
test: feature support for prs rarer than 1 month (#7033) 2020-08-24 10:43:21 +02:00
Rhys Arkins
824bfca207
fix: revert mergeRenovateConfig removal (#7028) 2020-08-19 12:59:19 +02:00
Rhys Arkins
5f80b726d9 fix: revert baseBranch/baseBranchSha change
Closes #7027
2020-08-19 12:01:42 +02:00
Rhys Arkins
2d0961af8d refactor: move onboarding check into getRepoConfig 2020-08-19 09:36:02 +02:00
Rhys Arkins
805e34e5b0 refactor: remove unnecessary baseBranch settings 2020-08-19 09:18:53 +02:00
Rhys Arkins
9483a61110 refactor: clone config when initializing 2020-08-19 09:17:55 +02:00
Michael Kriese
6474dd49e5
chore: lint fixes (#7018)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-19 06:46:00 +02:00
Rhys Arkins
b6af8188d1
refactor: initRepo (#7022) 2020-08-19 06:27:48 +02:00
Sergio Zharinov
45b9b4ebc4
refactor(platform): Decomplect branch deletion from PR state (#6988) 2020-08-18 20:38:53 +02:00
Rhys Arkins
764b2b7b67 refactor: use hasha for cache configHash 2020-08-18 19:58:12 +02:00
Rhys Arkins
3985953da2
fix: don’t error when baseBranches are not found (#7019)
Log a warning when baseBranches are missing but otherwise just skip over and keep going.

Closes #6669
2020-08-18 14:49:38 +02:00
Sergio Zharinov
cd064db4eb
refactor(platform): Change signature types for "updatePr" method (#7002)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-18 12:19:19 +02:00
pokutuna
ed3a15c08d
docs: fix link to the self-hosting docment (#7007) 2020-08-18 00:01:50 +02:00
Rhys Arkins
7505292116 fix: update git submodules only if version found 2020-08-14 08:18:20 +02:00
Rhys Arkins
0a143a2c96 fix: don’t linkify gitlab.com repositories 2020-08-12 07:20:45 +02:00
Rhys Arkins
7e78353ce4 fix: surround linkify in try/catch 2020-08-11 08:21:44 +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
Michael Kriese
bfa0d92d38
feat(internal): fix changelogs (#6873)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-30 08:16:56 +02:00
Niklas Eicker
1499d46db9
fix: typo in "Pin dependencies" PR (#6881)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-30 07:21:09 +02:00
Michael Kriese
2df9285d66
refactor(internal): refactor changelogs (#6878) 2020-07-29 17:45:51 +02:00
Michael Kriese
35be423495
fix(internal): change url encoding to lowercase (#6879) 2020-07-29 14:37:09 +02:00
Michael Kriese
2b636273bd
refactor: small refactoring (#6876) 2020-07-29 13:11:30 +02:00
INA Lintaro
d6b25f6a31
fix(changelog): support 'release-' tag format. (#6871) 2020-07-29 06:39:06 +02:00
Rhys Arkins
b11e5cb761 chore: rename platform types 2020-07-24 17:57:45 +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
4a41a22a48
fix: commit limit when rebasing (#6837) 2020-07-23 15:23:16 +02:00
Rhys Arkins
22a93c968f chore: don’t log new/old PR body if changed 2020-07-23 14:11:42 +02:00
Rhys Arkins
91be1678ac
refactor: targetBranch mandatory in platform.createPr (#6829) 2020-07-23 12:43:06 +02:00
Rhys Arkins
eaffc19253
refactor: drop pr.isStale (#6826) 2020-07-23 10:15:51 +02:00
Rhys Arkins
1449e8324b
feat(internal): use git to determine branch modification status (#6697)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-22 20:05:42 +02:00
Rhys Arkins
bfcd2508ef refactor: remove unused base branch else 2020-07-22 11:14:08 +02:00
Rhys Arkins
20e57a1f6c
refactor: createPr useDefaultBranch -> targetBranch (#6813) 2020-07-22 11:08:08 +02:00
Michael Kriese
9b4bff0051
fix(internal): fix linting (#6803) 2020-07-22 07:45:57 +02:00
Rhys Arkins
7d08285325 chore: rename master-issue -> dependency-dashboard 2020-07-21 15:13:56 +02:00
Rhys Arkins
3c9bac650d
fix: autoclosed digests when cache is enabled (#6799) 2020-07-21 12:22:20 +02:00
Jamie Magee
456245aabe
chore(eslint): enable typescript 3.7 rules (#6765) 2020-07-18 08:42:32 +02:00
Michael Kriese
515aa56cf6
fix(internal): respect dry-run (#6767) 2020-07-17 09:49:59 +02:00
Rhys Arkins
0571eb37e8
fix: don’t assign if MR already has assignees or reviewers (#6386)
* fix(gitlab): don’t assign if MR already has assignees

Closes #6375

* add more platforms

* fix github

* simplify gitlab

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-16 15:45:50 +02:00
Michael Kriese
e48ffa650a
feat(internal): make datasource loading syncronous (#6748) 2020-07-15 13:12:50 +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
4665dbff6f
refactor: remove commitFiles from platforms (#6701)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-08 14:14:13 +02:00
Rhys Arkins
4f48cd1a4e
refactor: remove platform.getPrFiles (#6702) 2020-07-08 06:49:54 +02:00
Rhys Arkins
1663058426
feat(pr): pr edited body not comment (#6695) 2020-07-07 14:30:45 +02:00
Rhys Arkins
4db12f9ee9
fix: uncheck retry checkbox after rebase (#6691)
Closes #5951, Closes #6690
2020-07-07 08:02:35 +02:00
Rhys Arkins
76eab4d766
fix: remove greenkeeper migration (#6685)
Service discontinued June 3
2020-07-06 13:06:44 +02:00
Sergio Zharinov
c3fc80a285
refactor: Call 'fs-extra' functions via proxies (#6683)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-06 11:17:06 +02:00
Rhys Arkins
538522d005 refactor: codeOwners use readLocalFile
The current branch should be drived off the targetBranch anyway
2020-07-04 20:00:46 +02:00
Sergio Zharinov
74c5a1621d
fix(npm): Fix titles for PRs grouped with @types package (#6609) 2020-07-04 18:34:33 +02:00
Rhys Arkins
52cddfde8b
refactor: remove branch functions from platform (#6676) 2020-07-04 18:15:29 +02:00
Rhys Arkins
ab0ebfeeb4
refactor: remove getFile/getFileList from platform (#6674) 2020-07-04 14:28:49 +02:00
Rhys Arkins
ac59df7c7e
refactor: remove getRepoStatus from platform (#6672) 2020-07-04 13:52:33 +02:00
Rhys Arkins
1e0c759f3d
refactor: remove unnecessary cleanRepo() (#6671) 2020-07-04 12:48:09 +02:00
Sergio Zharinov
46ec89e498
refactor: Replace those 'fs-extra' functions in which we can be sure (#6666) 2020-07-03 21:29:04 +02:00
Rhys Arkins
926a553a76 fix: sanitize commitMessage, prTitle, branchName
In preparation for secrets PR
2020-07-03 16:52:16 +02:00
Rhys Arkins
b60cc2c890 chore: clean up imports 2020-07-03 16:51:49 +02:00
Sergio Zharinov
1137112130
refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
Sergio Zharinov
679176f26e
test(git): Decouple 'gitfs/fs' and 'gitfs/git' in tests (#6661) 2020-07-03 15:08:16 +02:00
Sergio Zharinov
d144013af1
refactor(platform): Make git to be class-less (#6635)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-01 12:45:53 +02:00
Rhys Arkins
abfdae3c88
refactor(npm): skip internal packages earlier (#6639) 2020-06-30 12:05:44 +02:00
Rhys Arkins
bd4563d67e fix: check for column content before replacing 2020-06-30 09:33:58 +02:00
Rhys Arkins
6dedd5e277 fix(npm): remove unused managerPackageFileList 2020-06-30 05:28:14 +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
7611e6353a refactor: git/storage -> git/index 2020-06-29 09:11:55 +02:00
Rhys Arkins
ec1598587c
refactor: move util/fs under util/gitfs (#6618) 2020-06-28 11:57:57 +02:00
Rhys Arkins
2359ca8e70 test: fix 2020-06-26 16:47:24 +02:00
Rhys Arkins
1783c07ae2 chore: BlockeddByBranchAutomerge typo 2020-06-26 15:22:20 +02:00
Jamie Magee
350a70f389
refactor: remove lodash, add fast-deep-equal (#6496) 2020-06-26 11:31:23 +02:00
Rhys Arkins
55625a893b
refactor: run cache -> mem cache (#6582) 2020-06-25 09:23:06 +02:00
Sergio Zharinov
b93e072ca9
refactor: Reorder extractions and lookups (#6578)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-06-25 08:50:11 +02:00
Rhys Arkins
be37109cf6
refactor: rename globalCache to packageCache (#6580) 2020-06-25 08:32:55 +02:00
Rhys Arkins
031ad87b62 refactor: move ExternalHostError 2020-06-23 11:44:52 +02:00
Rhys Arkins
52a074e041
refactor: ExternalHostError (#6563) 2020-06-22 21:28:02 +02:00
Rhys Arkins
f77b7e8781
refactor: simplify global init (#6452)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-22 17:00:46 +02:00
Rhys Arkins
86b44db76d test: mock docker.defaultRegistryUrls 2020-06-19 11:57:58 +02:00
Rhys Arkins
cf06b69abb test: refactor lookup id use 2020-06-19 10:42:10 +02:00
Rhys Arkins
f5a588eb5a fix: Revert "fix(cache): distinguish between null and undefined (#6509)"
This reverts commit 0345b40a18.
2020-06-17 10:07:22 +02:00
Rhys Arkins
4b2f523a17 fix: correct baseBranches description in onboarding PR
Closes #6527
2020-06-17 09:48:07 +02:00
Rhys Arkins
0345b40a18
fix(cache): distinguish between null and undefined (#6509)
null = this lookup returned nothing last time
undefined = no cached result found
2020-06-17 06:48:33 +02:00
Sergio Zharinov
93eaeeab88
test: Use nock for tests (Part 2) (#6519) 2020-06-16 07:11:21 +02:00
Trim21
49332090c6
fix: markdown table cell (#6514) 2020-06-15 16:38:02 +02:00
Rhys Arkins
e834f2b826
feat: prHeader and prFooter (#6511) 2020-06-14 08:49:52 +02:00
Sergio Zharinov
7a60686c62
test: Use nock for tests (Part 1) (#6510) 2020-06-14 06:50:18 +02:00
Rhys Arkins
a399bbbf52 feat: log host stats per run
Closes #6357
2020-06-13 08:37:56 +02:00
Rhys Arkins
62d6428371
fix: reverse upgrades order before filtering (#6483) 2020-06-10 17:07:44 +02:00
Rhys Arkins
51a4a720d6 fix: ensure comment removal only when necessary
Closes #6469
2020-06-09 13:42:22 +02:00
Rhys Arkins
c3a09c0c1c logs: log correct number of branch files to commit 2020-06-07 20:26:26 +02:00
Michael Kriese
4d7c109a6b
test: use nock for preset tests (#6449) 2020-06-07 13:00:49 +02:00
Rhys Arkins
3a4e153af0
fix(github): send versioned accept header (#6456)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-07 11:21:45 +02:00
Rhys Arkins
33ca9d9aed fix: check prFiles before every
Closes #6432
2020-06-04 18:02:21 +02:00
Rhys Arkins
b3d8b14ee6 fix(pr): ignore white space and headings when comparing PR bodies 2020-06-03 16:02:12 +02:00
Rhys Arkins
5dafa051ff refactor(npm): extract node compatibility 2020-06-02 22:14:04 +02:00
Rhys Arkins
59ea152087
fix: force commit if requested or conflicted (#6411) 2020-06-02 17:45:24 +02:00
Rhys Arkins
6516cc1d50
feat(lerna): use docker exec (#6407)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-02 14:41:03 +02:00
Rhys Arkins
d56e8575a6 fix(npm): don’t massage engines and scripts 2020-06-02 09:15:39 +02:00
Rhys Arkins
c24c510dfc
fix: npm docker use util/exec/docker (#6383) 2020-06-02 08:57:16 +02:00
Carlin St Pierre
1e92239c49
fix: post-upgrade tasks see the latest changes to any files when running (#6396) 2020-06-01 07:30:24 +02:00
Tanet Trimas
818cbdb73a
feat(github): Add support for Draft PRs (#6390) 2020-06-01 07:30:11 +02:00
Mike Bryant
dd4b97df95
fix(internal): Generate logJSON before commit body is templated (#6346)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-30 12:03:25 +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
Rhys Arkins
0d6a0a0aaa
feat(internal): yarn use util/env/docker (#6286)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-05-29 08:43:09 +02:00
Sergio Zharinov
9617248f86
refactor(gitlab): Use new http wrapper for Gitlab platform (#6275) 2020-05-29 07:52:40 +02:00
Rhys Arkins
cbe8749a58 test: fix coverage 2020-05-28 13:17:22 +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
Rhys Arkins
ce69d851cc feat(changelog): cache getTags requests per run 2020-05-27 11:55:46 +02:00
Rhys Arkins
083a10c364 logs: don’t log full getReleaseList 404 2020-05-27 11:50:48 +02:00
Rhys Arkins
0f7e0dde99 fix: remove PR has been edited comments 2020-05-27 07:13:54 +02:00
Christophe Hurpeau
13842f655a
feat(yarn): update yarn-deduplicate to v2 (#6326) 2020-05-26 11:12:55 +02:00
Rhys Arkins
a5c1692d67
fix(github): apiBaseUrl for changelogs should append api/v3/ (#6325) 2020-05-25 18:46:53 +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
e990c6b24c logs: info log list of autodiscovered repositories 2020-05-22 14:47:49 +02:00
Rhys Arkins
0853fd4a74 refactor: revert yarnv2 logic 2020-05-20 11:17:20 +02:00
Rhys Arkins
dad4e12492 chore: remove unused yarnIntegrity and mutex 2020-05-20 11:17:06 +02:00
Rhys Arkins
ab5fe63e77 fix(pr): better github.com token warning for self hosted
Refs #6283
2020-05-20 09:27:27 +02:00
Rhys Arkins
680edf3d1a
refactor: pnpm lockfile updates use util/exec docker (#6282) 2020-05-19 18:11:08 +02:00
Rhys Arkins
8b2bba2e2a fix(pnpm): use renovate/node for artifacts generation 2020-05-19 13:48:03 +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
Rhys Arkins
96fb5f4cca feat(npm): drop embedded managers
Renovate will no longer embed npm, yarn and pnpm as dependencies. Therefore, if you are not running via the Docker full image, then you need to ensure that any of these managers are installed prior to running Renovate. This is inline with other managers such as Gradle or Poetry that require installation alongside Renovate too.

Closes #4208

BREAKING CHANGE: npm, yarn and pnpm are no longer embedded with the installation
2020-05-19 13:09:54 +02:00
Rhys Arkins
fe2e612a09 fix: branch writer use branch config, not main config 2020-05-18 21:37:47 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Rhys Arkins
d03b7e6146 fix: deduct pr remaining when automerging comment
Closes #6266
2020-05-17 12:07:50 +02:00
Michael Kriese
2515a89dab
fix(logging): sanitize known token (#5917) 2020-05-16 12:35:41 +02:00
Sergio Zharinov
fcced24a6a
refactor(github): Remove old Github platform wrappers (#6203)
* refactor(github): Remove old Github platform wrappers

* Refactor 'util/cache/run' imports

* Fix pod http client

* Fix test

* refactor(pod): Split request functions

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-16 10:53:11 +02:00
Rhys Arkins
26fd21cd53
refactor: parentBranch -> reuseExistingBranch (#6236) 2020-05-15 12:45:03 +02:00
Michael Kriese
2f0c6dd27b
fix(internal): file-match must use re2 (#6246) 2020-05-15 09:01:14 +02:00
Rhys Arkins
6a1dab6412 refactor(platform): commitFilesToBranch -> commitFiles 2020-05-14 14:13:08 +02:00
Björn Brauer
8144f07b69
feat(pr): remove and re-create automergeComment when rebasing (#6002) 2020-05-14 13:13:38 +02:00
Rhys Arkins
5bd2d42d5a
fix(platform): don’t pass parentBranch to platform commitFilesToBranch (#6227) 2020-05-14 12:20:24 +02:00
Rhys Arkins
31996ce545 refactor: better branch update logging 2020-05-13 14:21:04 +02:00
Rhys Arkins
e2de45edf6 logs: improve auto-replace 2020-05-12 22:48:56 +02:00
Rhys Arkins
79d2730a89 fix: improve logging for autoReplace 2020-05-12 22:25:21 +02:00
Rhys Arkins
7c6eaccdb6 fix: move skip PR autoclosing log 2020-05-12 22:05:56 +02:00
Rhys Arkins
7caac0987c chore: better runCache import 2020-05-12 19:21:14 +02:00
Rhys Arkins
df66994985 chore: fix lint 2020-05-12 07:09:23 +02:00
Rhys Arkins
c5ee8abfc2 refactor: global cache 2020-05-11 22:26:47 +02:00
Rhys Arkins
e0d35b4a3d fix: remove lockFileMaintenance pruning 2020-05-11 21:45:58 +02:00
Rhys Arkins
cc980cfd23
refactor: platform.getFile -> fs.readLocalFile (#6131) 2020-05-11 15:36:09 +02:00
Rhys Arkins
92009c6580
feat(internal): use runtime cache for buffering global cache requests (#6202) 2020-05-11 13:29:39 +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
Rhys Arkins
9777173461
refactor: remove unused mutex options (#6175) 2020-05-08 20:17:50 +02:00
Rhys Arkins
62af82fcf6 fix(changelog): reduce concurrency to 10 2020-05-08 18:28:44 +02:00
Rhys Arkins
ec9b4f89e7
feat(internal): parallel changelog retrieval (#6174) 2020-05-08 16:57:35 +02:00
Rhys Arkins
670e695be2 chore: fix lint 2020-05-08 14:40:44 +02:00
Rhys Arkins
6a8ceab688 refactor: move changelog retrieval to renovateRepository 2020-05-08 12:20:24 +02:00
Rhys Arkins
010df05800 refactor: baseBranches fetching 2020-05-08 12:06:48 +02:00
Rhys Arkins
a47c69f8a5 feat(internal): log timing splits per-repository 2020-05-08 10:18:00 +02:00
Rhys Arkins
e6c524fcc2 refactor: processRepo -> extractDependencies 2020-05-08 08:53: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
c1d5faf93d chore: remove mistaken dependency addition 2020-05-06 14:06:10 +02:00
Rhys Arkins
0f13855f2b logs: durationMs for Repository finished 2020-05-06 10:23:10 +02:00
Michael Kriese
e795115823
fix(worker): fix github endpoint for changelog (#6145) 2020-05-06 10:02:19 +02:00
Rhys Arkins
258c675a54 logs: don’t log empty depNames in flattened updates 2020-05-06 09:56:52 +02:00
Rhys Arkins
8eb8bae28d fix: Revert "fix(worker): fix github endpoint for changelog (#6143)"
This reverts commit 787e6bc485.
2020-05-06 09:23:12 +02:00
Rhys Arkins
dde7d31975 fix: ensure baseBranchSha is set 2020-05-06 09:05:29 +02:00
Michael Kriese
787e6bc485
fix(worker): fix github endpoint for changelog (#6143) 2020-05-06 08:10:36 +02:00
Rhys Arkins
6bbe6446ab logs: log baseBranch with extraction stats 2020-05-05 21:00:47 +02:00
Rhys Arkins
2ff90b2396
fix: packageFiles per baseBranch (#6136) 2020-05-05 19:46:35 +02:00
Rhys Arkins
86ab028f97 fix: Revert "refactor(platform): optimize getFileList and remove branchName param (#6127)"
This reverts commit 7d1c937682.
2020-05-05 16:02:29 +02:00
Rhys Arkins
b69e9c0f5a fix: Revert "feat(internal): cache extractions results (#6118)"
This reverts commit 51a43d5e41.
2020-05-05 16:01:49 +02:00
Rhys Arkins
7d1c937682
refactor(platform): optimize getFileList and remove branchName param (#6127) 2020-05-05 12:39:47 +02:00
Rhys Arkins
9fccd87eeb refactor: use Date.now() instead of process.hrtime() 2020-05-05 12:05:30 +02:00
Rhys Arkins
51a43d5e41
feat(internal): cache extractions results (#6118) 2020-05-04 08:27:38 +02:00
Björn Brauer
228b933871
refactor: ensureCommentRemoval parameters to an object (#6117) 2020-05-03 21:03:55 +02:00
Rhys Arkins
f3c9efb060 refactor: return and store base branch SHA 2020-05-03 20:38:09 +02:00
Rhys Arkins
8d8b617ecd
feat(internal): extract managers in parallel (#6112) 2020-05-03 19:21:10 +02:00
Rhys Arkins
0121cc48f5 refactor: extractAllDependencies 2020-05-03 17:27:35 +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
273d9355e3 refactor: enabledManagers filtering 2020-05-03 16:15:22 +02:00
Rhys Arkins
e8d760667d chore: rename matchedFiles -> fileList 2020-05-03 16:10:13 +02:00
Rhys Arkins
85e7cef048 refactor: getMatchingFiles 2020-05-03 14:46:30 +02:00
Rhys Arkins
53319ac7d6 refactor: better param names in getMatchingFiles 2020-05-03 10:54:38 +02:00
Rhys Arkins
9e07ef1b49 fix: filtering should return a copy of the fileList 2020-05-03 10:17:07 +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
e1b4b7f6c2 refactor: githubApiBaseUrl -> apiBaseUrl 2020-05-01 07:55:41 +02:00
Rhys Arkins
498ec20618
fea(internal): remove repoCache global (#6098) 2020-05-01 07:47:31 +02:00