Commit graph

711 commits

Author SHA1 Message Date
Rhys Arkins
473b7e1f4b refactor(eslint): enable @typescript-eslint/no-use-before-define 2019-11-24 05:09:13 +01:00
Michael Kriese
9b014ba92b chore(eslint): update eslint rules (#4829) 2019-11-20 08:55:53 +01:00
Jamie Magee
2ac8d387a2 fix(azure): select a merge method when there are no policies de… (#4730)
Incorrect assumptions around the policy API

Fixes #4714
2019-11-19 09:13:53 +01:00
Jamie Magee
67d82c5f16 fix(azure): remove 'refs/heads/' from target branch (#4820)
Azure DevOps returns the target branch in the form of `/ref/heads/master`, but Renovate expects just `master`

Fixes #4812
2019-11-17 15:54:08 -08:00
Rhys Arkins
399873946a
fix(platform): encode branchName in URLs (#4694) 2019-10-22 10:47:59 +02:00
Michael Kriese
2a4de19c77 feat(worker): convert 'branch' to typescript (#4449)
Co-Authored-By: Jamie Magee <JamieMagee@users.noreply.github.com>
2019-10-18 14:30:51 +02:00
Jamie Magee
2784016166 feat(azure): support different merge strategies for autocomplete (#4584) 2019-10-18 13:25:46 +02:00
Julien SIMON
d1e7c17f25 feat: prCommitsPerRunLimit (#4392) 2019-10-14 13:15:37 +02:00
Rhys Arkins
d35b0df432 fix(github): handle 404 when attempting automerge 2019-10-13 14:19:58 +02:00
Rhys Arkins
da1f608588 fix(gitlab): Ignore setBranchStatus error 2019-10-13 07:46:12 +02:00
mikaelkolkinn
6c45f516d2 fix(bitbucket): Branch automerges too early on Bitbucket Cloud (#4631) 2019-10-13 06:37:44 +02:00
Florian Greinacher
53fc7d8a3e feat(gitlab): add support for 'merge when pipeline succeeds' (#4558)
This commit adds (back) support for GitLab's 'merge when pipeline succeeds'
feature. This feature needs to be enabled by bot owners explicitely because
of an possible race condition in current GitLab versions.

Closes #3265
2019-10-05 10:00:32 +02:00
Rhys Arkins
d949187e91 fix: Revert "fix(azure): support on-prem clone (#4540)"
This reverts commit 0228bd05b1.
2019-10-04 11:18:11 +02:00
Jamie Magee
36b9c4a960 fix(storage): defer clone of submodules (#4550) 2019-10-04 09:10:11 +02:00
Rhys Arkins
ecdb9b3c3b test: check NODE_ENV instead of CI
Fixes test problem on WSL
2019-10-02 19:35:54 +02:00
JYC
0228bd05b1 fix(azure): support on-prem clone (#4540) 2019-09-25 16:53:28 +02:00
Michael Kriese
77a0291d4d fix(platform): smart truncate pr body (#4527) 2019-09-25 12:42:11 +02:00
Jamie Magee
e792268cbb feat(git): initialise submodules when cloning repos (#4353)
See https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspec

Fixes #1356
2019-09-25 11:58:52 +02:00
Ryan Murfitt
8c9a8f2c48 feat(bitbucket-cloud): Default reviewers (#4501) 2019-09-17 09:48:16 +02:00
Michael Kriese
49325143bd feat(sanitize): refactor (#4479) 2019-09-12 12:48:31 +02:00
Rhys Arkins
99f18b7dc3 fix(gitlab): EAI_AGAIN platform-failure 2019-09-11 09:33:08 +02:00
Michael Kriese
331863d211 feat(platform): remove global platform variable (#4455) 2019-09-10 09:50:29 +02:00
Rhys Arkins
88d889a979 fix(github): try automerge even if push protection is enabled
Closes #4460
2019-09-10 09:29:20 +02:00
Rhys Arkins
a32c8f4ccc fix: Revert "feat(platform): remove global platform variable (#4448)"
This reverts commit b5c9dc8e0b.
2019-09-09 06:55:30 +02:00
Rhys Arkins
2224580941 fix: Revert "fix: platform assign"
This reverts commit cdaa5514c4.
2019-09-09 06:55:13 +02:00
Rhys Arkins
cdaa5514c4 fix: platform assign 2019-09-09 06:50:08 +02:00
Michael Kriese
b5c9dc8e0b feat(platform): remove global platform variable (#4448) 2019-09-09 04:40:52 +02:00
Rhys Arkins
7a05f8b6a0 fix: remove duplicate sanitize 2019-09-07 18:34:14 +02:00
Rhys Arkins
95d54baf83
feat: centralized sanitation (#4446)
Adds a sanitize function to host-rules that redacts tokens and passwords from issues and PRs.

Closes #4444
2019-09-07 14:51:00 +02:00
Rhys Arkins
c3ba80c58f fix: throw baseBranch error from gitFs
Closes #4346
2019-09-05 09:47:53 +02:00
Rhys Arkins
80069f285e fix(github): handle 404 status check gracefully 2019-09-05 09:26:53 +02:00
Rhys Arkins
9ab4b5d4e9
feat: refactor pr.canRebase => !pr.isModified (#4385) 2019-08-29 10:30:17 +02:00
Michael Kriese
88892abb56 fix: typescript types (#4393) 2019-08-28 09:00:08 +02:00
Rhys Arkins
75dcf30ea0 logs: lower bitbucket issue warnings 2019-08-27 06:01:39 +02:00
Rhys Arkins
c488a674ca refactor: add better logging for bitbucket issue creation 2019-08-23 06:04:14 +02:00
Edd Armitage
e10f590c9a fix(gitlab): follow pagination in getbranchstatus for gitlab (#4342)
There are cases where the first page of results is not representative of the entire branch's status, so we need to follow all pages in the result.

Closes #4340
2019-08-22 19:34:50 +02:00
Rhys Arkins
f56c7701cd chore: drop unused setAppMode 2019-08-15 13:09:13 +02:00
Michael Kriese
4c485b727a feat(utils): convert to ts (#4237) 2019-08-15 08:26:21 +02:00
praveshtora
cb9437f72d feat: configWarningReuseIssue (#4101) 2019-08-15 07:41:01 +02:00
Rhys Arkins
2590f4eb1b logs: log comment title 2019-08-15 06:15:53 +02:00
Rhys Arkins
46a329b5f1 fix(github): platform-failure when fetching check runs 2019-08-14 19:24:51 +02:00
Rhys Arkins
c42d6cb21d fix(gitlab): handle ETIMEDOUT 2019-08-14 17:12:16 +02:00
Rhys Arkins
72404706ab feat(platform): return PR targetBranch 2019-08-14 11:48:56 +02:00
Rhys Arkins
1864d4ebf3 refactor(platform): return baseBranch from initRepo 2019-08-14 11:38:13 +02:00
Rhys Arkins
e602c4553d refactor(platform): use RepoConfig strictly 2019-08-14 10:51:12 +02:00
Rhys Arkins
109ba1d9a0 refactor(bitbucket): remove eager fetching during init 2019-08-14 10:42:09 +02:00
Rhys Arkins
cf42ed9674 chore: remove unused privateRepo field 2019-08-14 10:24:11 +02:00
Rakesh Tembhurne
4ee030a5ab fix(html-sanitize): Sanitize HTML comments in PR (#4285)
Sanitizes HTML comments inside PR body for BitBucket server.
Includes snapshots for the tests.

Closes #3715
2019-08-14 10:05:02 +02:00
Rhys Arkins
44adbd90dc fix(gitfs): check for platform-failure when setting base branch 2019-08-14 08:31:33 +02:00
Rhys Arkins
f041d7d409
refactor: consolidate platform ts (#4283) 2019-08-14 06:04:09 +02:00