Commit graph

5021 commits

Author SHA1 Message Date
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
Christophe Hurpeau
ef3a79bdfe
fix: don't try to install yarn 2 from npm (#7183)
as yarn 2 is local in the project and should be started by yarn 1 via yarn config file.
When using yarn2, installing latest yarn (v1) should work best

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:49:40 +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
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
462351f9b1
feat(logger): serialize got request error (#7181)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:34:17 +02:00
Sergio Zharinov
ab842850f9
fix(nuget): Parse nested Version XML elements (#7190)
* fix(nuget): Parse nested Version XML elements

* Compactify currentValue extraction chain

* Fix coverage

* Don't walk through entire XML

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 07:51:16 +02:00
Lukas
b21530bb16
feat(preset): add fullcalendar monorepo (#7182) 2020-09-04 12:14:26 +02:00
Rhys Arkins
73f11c09ee refactor: log setBranchStatus url if failing 2020-09-04 10:55:36 +02:00
Christian Murphy
63b487aad1
feat(preset): add lrnwebcomponents monorepo (#7172) 2020-09-03 17:31:52 +02:00
Sergio Zharinov
d2ec7ccd2e
fix(nuget): Fix cache key and URL construction (#7169) 2020-09-03 08:37:15 +02:00
Michael Kriese
63cc26e3ea
fix(git): wrong config argument passing (#7166) 2020-09-02 18:03:45 +02:00
Rhys Arkins
83e54064f9
fix(azure): use repo remoteUrl if available (#7165) 2020-09-02 11:31:16 +02:00
Rhys Arkins
1d83cbbc4b
fix(github): massage url and message in errors (#7160) 2020-09-02 09:19:50 +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
6a0fade7f9 refactor: drop defaultBranchSha from platform/github 2020-09-01 17:09:11 +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
Kid
6fb36435f4
feat(npm): Update Yarn install arguments (#7156)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-01 15:57:55 +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
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
cda4e7c21e fix: revert config cache 2020-09-01 14:23:28 +02:00
Julien Poissonnier
a2b2671370
fix(gitlab): Restore auth for versions older than 12.2 (#7155) 2020-09-01 12:42:23 +02:00
Rhys Arkins
c75d2c6873
refactor: detectSemanticCommits (#7151) 2020-09-01 10:44:52 +02:00
Rhys Arkins
6d24e9de78
fix(azure): pass extra clone options when fetching branch commits (#7149)
* fix(azure): pass extra clone options when fetching branch commits

Closes #7148

* more coverage
2020-09-01 09:39:10 +02:00
Rhys Arkins
1aa5ffc503 fix(azure): repository is empty if no defaultBranch 2020-09-01 09:00:34 +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
750cd30296 chore: remove unused defaultBranch cache 2020-09-01 06:23:59 +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
Tom Wieczorek
b7f215b90a
fix(git): add dashes after git log <rev> (#7144)
To fix an ambiguous argument error from git, following this notation:

    git <command> [<revision>...] -- [<file>...]
2020-08-31 19:14:32 +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
Samuel Bodin
addfd4ef83
fix(circleci): leading dash is optional (#7143) 2020-08-31 14:21:08 +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
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
Rhys Arkins
c797865ea2 fix(git): syncBranch to ensure it has been fetched 2020-08-31 07:19:58 +02:00
Rhys Arkins
611bee9673 fix(git): try/catch fetchBranchList 2020-08-31 07:19:22 +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
869806d35e chore: simplify git tests 2020-08-30 16:33:37 +02:00
Rhys Arkins
c9932d5c64 refactor: remove unused createBranch function 2020-08-30 10:03:16 +02:00
Rhys Arkins
6fdffed9d2 refactor: externalize syncBranch from branchExists 2020-08-30 09:54:54 +02:00
Rhys Arkins
4b0eb18a65 test: refactor getBranchCommit test 2020-08-30 08:58:45 +02:00
Rhys Arkins
aeef5e7baa refactor(git): use gitInitialized 2020-08-30 07:24:47 +02:00
Rhys Arkins
083f30fb36 fix(git): don’t error for git fetch failure 2020-08-30 07:21:00 +02:00
Rhys Arkins
937a2e48b0 chore: rename commitHash -> commitSha 2020-08-29 14:48:48 +02:00
Rhys Arkins
e50c7a7759 refactor(types): git return CommitSha instead of string 2020-08-29 09:42:07 +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
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
Michael Kriese
06d80c2881
fix(npm): add npmrc trailing newline (#7124) 2020-08-27 20:11:00 +02:00
Julien Poissonnier
9be76acd56
feat(config): Make baseBranches configurable via env var (#7123) 2020-08-27 16:45:05 +02:00
Rhys Arkins
79e7c51dc9 logs: log .npmrc file location 2020-08-27 15:26:50 +02:00
Michael Kriese
8a4da9ab82
fix(datasource): add manual metadata (#7118) 2020-08-27 11:31:23 +02:00
Sergio Zharinov
6c085243d6
feat(maven): Support 'releaseTimestamp' for Maven Central (#7061)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-27 09:23:21 +02:00
Sergio Zharinov
f411dde51a
refactor(logger): Fix lint warnings (#7109) 2020-08-27 09:12:37 +02:00
Sergio Zharinov
095f2f8240
refactor(util): Fix lint warnings (#7114) 2020-08-27 09:11:10 +02:00
Sergio Zharinov
0ae8cc2e89
refactor(datasource): Fix lint warnings (#7115) 2020-08-27 09:07:58 +02:00
Sergio Zharinov
28d16d17bc
refactor(platform): Fix lint warnings (#7113) 2020-08-27 09:05:31 +02:00
Sergio Zharinov
60b101d22c
refactor(manager): Fix lint warnings (#7116) 2020-08-27 08:59:23 +02:00
Sergio Zharinov
d5d9687ffe
feat: Support for Python 'setup.cfg' files (#7058)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-27 08:46:28 +02:00
Rhys Arkins
d4c466ac9d fix: compile lock file maintenance branch name
Closes #7110
2020-08-26 15:57:55 +02:00
Maxim Danilov
37c9b6a536
feat(jenkins): Support skip comments (#6980) 2020-08-26 15:26: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
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
5e978e1b1c
refactor(maven): Simplify maven datasource for single registryUrl usage (#7081) 2020-08-25 13:27:38 +02:00
Sergio Zharinov
5cc7d9fd54
fix(cargo): Bump complex ranges (#6682)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-25 13:25:07 +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
32181ae6c2 fix(composer): strip app x-access-token prefix from token 2020-08-25 10:10:13 +02:00
Rhys Arkins
c234428fd5 fix: more flexible check for dashboard approval 2020-08-25 10:02:11 +02:00
Rhys Arkins
2dc0fd6a4c fix: deleteLocalFile only if localDir is defined 2020-08-25 09:39:03 +02:00
Michael Kriese
123a0f3775
fix: add zone.js changelog (#7089) 2020-08-25 08:12:04 +02:00
Michael Kriese
09df036e7c
fix(bitbucket-server): rethrow empty (#7088) 2020-08-25 06:56:59 +02:00
Sergio Zharinov
8c45eb952b
fix(composer): Support for "endpoint" and "baseUrl" hostRules (#7085)
* fix(composer): Support for "endpoint" and "baseUrl" keys in COMPOSER_AUTH

* Fix lint
2020-08-24 22:12:25 +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
Sergio Zharinov
1d40c34204
fix(composer): Support other hostRules keys in COMPOSER_AUTH (#7084) 2020-08-24 20:53:45 +02:00
Rhys Arkins
4f0714677c fix(github): sanitize with and without x-access-token 2020-08-24 15:43:58 +02:00
Rhys Arkins
879966acdc
fix(github): don’t delete forked repos (#7079)
Closes #7055
2020-08-24 15:17:24 +02:00
Rhys Arkins
cff22ccc16
fix: always show dependency dashboard footer (#7078) 2020-08-24 14:35:22 +02:00
Nils Plaschke
d59ac3b59d
fix(npm): Add auth param to docker npm when trustlevel == high (#7051) 2020-08-24 12:28:16 +02:00
Michael Kriese
7feff791ea
fix: prepare for simple-git 2.19 (#7074)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-24 11:21:31 +02:00
Sergio Zharinov
3ad5b95957
feat(nuget): v3 to use Registrations endpoint instead of Search (#6943)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-24 11:12:51 +02:00
Sergio Zharinov
6f08421c9f
logs(github): Decrease GitHub vulnerability logs verbosity (#6971) 2020-08-24 10:48:47 +02:00
Sergio Zharinov
578e64bc81
refactor(composer): Obtain COMPOSER_AUTH only from "hostRules" (#7054) 2020-08-24 10:47:59 +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
98c4a378e8
fix(bitbucket-server): handle empty repo (#7070) 2020-08-24 10:42:39 +02:00
Sergio Zharinov
786ff757b2
fix(azure): Separate API call for the reopening PR state (#7050)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-24 10:41:07 +02:00
Stephen
1813bc6738
fix(poetry): allow empty sources in poetry config (#7068) 2020-08-24 08:20:39 +02:00
Michael Kriese
ce5ef74ec7
feat(npm): yarn v2 lockfile support (#7047)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-21 15:01:26 +02:00
Sergio Zharinov
4a1d2d9f2b
refactor(composer): Use COMPOSER_AUTH instead of writing to auth.json (#7048) 2020-08-21 13:45:24 +02:00
Sergio Zharinov
31bb4cd876
refactor(composer): Extract auth.json writing function (#7045) 2020-08-21 08:27:47 +02:00
Michael Kriese
1332e1d619
fix: revert "feat: yarn2 lockfile support" (#7046) 2020-08-21 06:43:58 +02:00
Sergio Zharinov
2d83f073dd
platform(gitlab): Limit MR body to 25 Kb (#7043) 2020-08-20 20:53:03 +02:00
Sergio Zharinov
4459f6e8d4
fix(bitbucket): Decline PRs by separate API call (#7036) 2020-08-20 16:15:57 +02:00
Sergio Zharinov
5e93840ebb
fix(gitlab): Fix PR closing keyword (#7037) 2020-08-20 13:57:31 +02:00
Christophe Hurpeau
591a7604a2
feat: yarn2 lockfile support (#6045)
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-19 14:43:18 +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
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
Joe Bergeron
f089911f4b
feat(poetry): Add private package index support to Poetry (#6994)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-19 10:43:08 +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
13bedd5c80
feat(presets): local bitbucket-server presets (#7000) 2020-08-19 08:58:38 +02:00
renovate[bot]
5e2203cf37
build(deps): update dependency simple-git to v2.18.0 (#7023)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-08-19 07:33:25 +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
68c918bc18 refactor: query currentBranchSha immediately 2020-08-18 15:40:11 +02:00
Rhys Arkins
92fc56784a chore: add defaultBranchSha to RenovateConfig 2020-08-18 15:39:58 +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
eb2f2ea049
refactor(bitbucket-server): Support state changes for updatePr (#7017)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-18 14:41:41 +02:00
Sergio Zharinov
6f7cced72f
refactor(gitlab): Support state changes for updatePr (#7013) 2020-08-18 14:30:53 +02:00
Sergio Zharinov
b0102b6b6d
refactor(gitea): Support state changes for updatePr (#7015) 2020-08-18 14:30:37 +02:00
Sergio Zharinov
5230f288d7
refactor(bitbucket): Support state changes for updatePr (#7016) 2020-08-18 14:28:41 +02:00
Sergio Zharinov
6547d37ae0
refactor(azure): Support state changes for updatePr (#7014) 2020-08-18 14:28:18 +02:00
Sergio Zharinov
cc8652e38c
refactor(github): Support state changes for updatePr (#7012) 2020-08-18 13:21:44 +02:00
Sergio Zharinov
5ca6f65fa2
fix(maven): Use full URL as the cache key (#7011) 2020-08-18 12:19:53 +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
Satish Ravi
580139a859
fix(pypi): handle data-requires-python from simple endpoint (#6966) 2020-08-18 11:17:20 +02:00
pulish
ee6b961f44
fix(go): fix go packages with sub packages creating wrong updates (#6978) 2020-08-18 09:30:36 +02:00
pokutuna
ed3a15c08d
docs: fix link to the self-hosting docment (#7007) 2020-08-18 00:01:50 +02:00
Rhys Arkins
03b3f09d37 fix(gomod): tidy an extra time
Closes #6795
2020-08-17 22:05:48 +02:00
Maksim Martianov
54cf4c1253
feat(composer): lazy repository url (#6982) 2020-08-17 19:54:00 +02:00
Rhys Arkins
43b2a2390d fix: default npm cache to 15 minutes 2020-08-17 15:48:24 +02:00