Commit graph

970 commits

Author SHA1 Message Date
Rhys Arkins
6c9c4ac14e fix(azure): add auth value to sanitized strings 2020-09-12 19:43:55 +02:00
Sergio Zharinov
79596e43c2
fix(gitea): Return only PRs created by Renovate (#7229) 2020-09-09 13:54:57 +02:00
Sergio Zharinov
6ac379715b
refactor(platform): Introduce optional getJsonFile function (#7174)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-09 11:08:51 +02:00
Rhys Arkins
9896f5e562
refactor: handle undefined platformOptions (#7227) 2020-09-09 11:07:38 +02:00
Sergio Zharinov
cb240141b8
fix(azure): Fix "branchName" field for azure-helper.ts (#7211)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-08 13:20:35 +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
Rhys Arkins
73f11c09ee refactor: log setBranchStatus url if failing 2020-09-04 10:55:36 +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
6a0fade7f9 refactor: drop defaultBranchSha from platform/github 2020-09-01 17:09:11 +02:00
Rhys Arkins
1aa5ffc503 fix(azure): repository is empty if no defaultBranch 2020-09-01 09:00:34 +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
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
Sergio Zharinov
28d16d17bc
refactor(platform): Fix lint warnings (#7113) 2020-08-27 09:05:31 +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
Michael Kriese
09df036e7c
fix(bitbucket-server): rethrow empty (#7088) 2020-08-25 06:56:59 +02:00
Rhys Arkins
879966acdc
fix(github): don’t delete forked repos (#7079)
Closes #7055
2020-08-24 15:17:24 +02:00
Sergio Zharinov
6f08421c9f
logs(github): Decrease GitHub vulnerability logs verbosity (#6971) 2020-08-24 10:48:47 +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
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
Michael Kriese
5488db85a5
fix(bitbucket-server): wrong contents fetch (#7029)
* fix(bitbucket-server): wrong contents fetch

* fix: wrong string join
2020-08-19 13:49:52 +02:00
Michael Kriese
6474dd49e5
chore: lint fixes (#7018)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-19 06:46:00 +02:00
Sergio Zharinov
45b9b4ebc4
refactor(platform): Decomplect branch deletion from PR state (#6988) 2020-08-18 20:38:53 +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
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
Rhys Arkins
76913a1889
feat(github): support app tokens (#6859) 2020-08-17 14:14:19 +02:00
Rhys Arkins
062045168a
refactor(git): lazy sync git (#6984)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-17 13:31:53 +02:00
Jamie Magee
b45502cd28
chore: fix more eslint warnings (#7001) 2020-08-17 12:32:23 +02:00
Michael Kriese
4a2a8ec68b
fix(bitbucket-server): check for empty repo (#6999) 2020-08-17 10:15:44 +02:00
Rhys Arkins
6ddda0fa4b chore: fix lint 2020-08-11 23:19:00 +02:00
Rhys Arkins
efbe610de8 fix(github): remove forked repo from list after deleting 2020-08-11 22:43:19 +02:00
Rhys Arkins
3e5ead7111 fix(github): don’t query forked repo list repeatedly 2020-08-11 22:41:06 +02:00
Rhys Arkins
2c99415ec3 fix(github): use forkToken for deleting the fork 2020-08-11 16:03:34 +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
31b2867df3
feat(azure): add draft pr support (#6923)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-06 08:42:37 +02:00
Rhys Arkins
09290abfe4
refactor: github platform return defaultBranchSha (#6911) 2020-08-04 14:06:07 +02:00
Rhys Arkins
bc65f83077 fix(azure): createPr fix targetRefName
Closes #6846
2020-07-27 08:22:22 +02:00
Rhys Arkins
0a28745095
fix(github): lazy fetch user and emails (#6851)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-26 13:51:19 +02:00
Rhys Arkins
80f492b8fa chore: gitea PlatformParams 2020-07-24 19:09:33 +02:00