Commit graph

1050 commits

Author SHA1 Message Date
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
Rhys Arkins
6d96d3d220
refactor: git.setBranch (#6739) 2020-07-13 07:31:22 +02:00
Rhys Arkins
bb10d784e7
refactor: platform.initRepo return defaultBranch not baseBranch (#6737) 2020-07-12 21:30:11 +02:00
Sergio Zharinov
41983bf29a
fix(github): Use GraphQL for initRepo (#6726)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-12 18:18:44 +02:00
Sergio Zharinov
581844a085
fix(github): Fix accept headers for Github HTTP wrapper (#6736)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-12 15:29:26 +02:00
Sergio Zharinov
e2af296c48
refactor: Rename GraphQL query methods (#6732) 2020-07-12 08:10:38 +02:00
Rhys Arkins
a8f27e0bf3
feat: dependencyDashboard (#6729) 2020-07-11 11:55:30 +02:00
Rhys Arkins
9b8f010f99 fix(github): don’t disable automerge on ghe if push protection enabled 2020-07-11 08:09:05 +02:00
Michael Kriese
e11875e036
refactor(internal): prepare for got v11 (#6727) 2020-07-10 20:51:40 +02:00
Rhys Arkins
ce8ce887d7 fix(github): harden commit checks 2020-07-09 07:44:55 +02:00
Rhys Arkins
9fe82cc2c8 fix(gitlab): reduce pr body max to 50k chars 2020-07-09 07:31:18 +02:00
Rhys Arkins
ab987941ac fix(github): delete fork after patch failure 2020-07-09 07:26:22 +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
c3f8d0067e
fix(gitlab): use global.gitAuthor to compare commit authors (#6696) 2020-07-07 14:12:31 +02:00
Rhys Arkins
60d1a5f35a chore: remove unused github platform variables 2020-07-07 09:32:33 +02:00
Carlin St Pierre
e015875ac5
fix(bitbucket-cloud): Preserve Bitbucket Cloud reviewers when updating PRs (#6560) 2020-07-06 20:58:40 +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
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
7611e6353a refactor: git/storage -> git/index 2020-06-29 09:11:55 +02:00
Cirno the Strongest
72c86c7bbf
fix(gitea): fetch both open and closed issues (#6604) 2020-06-27 12:24:14 +02:00
Rhys Arkins
dd636ed15c
refactor: pass git author in initRepo (#6605) 2020-06-27 12:21:47 +02:00
Rhys Arkins
49447989e1
fix(gitlab): fetch all open issues (#6597) 2020-06-27 09:55:02 +02:00
Rhys Arkins
3c3f259aef
fix: gitAuthor parsing (#6594) 2020-06-27 08:03:46 +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
proton
cb8d64dbe9
fix(gitea): remove immortal PR warning (#5999) 2020-06-18 23:26:28 +02:00
hussainweb
8ac8f42a22
feat(git): Pass --no-verify to git commit and push (#6526)
Fixes #6521
2020-06-17 06:48:05 +02:00
Sergio Zharinov
93eaeeab88
test: Use nock for tests (Part 2) (#6519) 2020-06-16 07:11:21 +02:00
Rhys Arkins
e5e1a181ff
refactor(bitbucket): don’t use endpoint in initRepo (#6457)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-07 13:26:08 +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
Michael Kriese
1d57643896
feat(gitlab): filter repos on autodiscover (#6448) 2020-06-06 17:11:33 +02:00
Michael Kriese
fbcfde2c4f
fix(gitlab): wrong mr link path (#6447) 2020-06-05 21:00:55 +02:00
Rhys Arkins
59ea152087
fix: force commit if requested or conflicted (#6411) 2020-06-02 17:45:24 +02:00
Rhys Arkins
75c0ca6065 refactor(platform): pass CommitFilesConfig through 2020-06-02 15:58:47 +02:00
Sergio Zharinov
01be64987b
refactor(bitbucket): Switch to new http wrapper (#6392)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-06-01 16:02:25 +02:00
Sergio Zharinov
b4b66183f0
refactor(bitbucket-server): Switch to new http wrapper (#6393) 2020-06-01 15:35:12 +02:00
Sergio Zharinov
dcbef85813
refactor(gitea): Switch to new http wrapper (#6394) 2020-06-01 14:01:09 +02:00
Tanet Trimas
818cbdb73a
feat(github): Add support for Draft PRs (#6390) 2020-06-01 07:30:11 +02:00
Sergio Zharinov
23e74599e3
refactor(gitea): Use nock for tests (#6387) 2020-05-30 22:00:07 +02:00
Sergio Zharinov
e0a0e37365
refactor(bitbucket-server): Use nock for tests (#6374) 2020-05-30 10:39:47 +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
Sergio Zharinov
9617248f86
refactor(gitlab): Use new http wrapper for Gitlab platform (#6275) 2020-05-29 07:52:40 +02:00
Rhys Arkins
29b24ac1a0 fix(github): log result if graphQl fails 2020-05-28 10:30:06 +02:00
Tyrone Meijn
fa3e017f4e
fix(gitlab): verify if MR is mergeable before setting automerge (#6250)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-05-28 08:54:12 +02:00
Rhys Arkins
b314a171c7 logs: don’t log full gitlab 404 2020-05-27 11:50:34 +02:00
Rhys Arkins
0f7e0dde99 fix: remove PR has been edited comments 2020-05-27 07:13:54 +02:00
Sergio Zharinov
be5e399257
test(bitbucket): Use nock for tests (#6319) 2020-05-24 18:57:33 +02:00
Rhys Arkins
73694efd82
fix(cache): run cache init (#6312) 2020-05-24 07:13:55 +02:00
Rhys Arkins
2d8923054b fix(gitlab): specify min_access_level=30 when autodiscovering 2020-05-22 14:47:37 +02:00
Rhys Arkins
54b2ae61ad chore: remove unused test 2020-05-19 13:09:54 +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
6c3eb3e321 chore: fix lint warnings 2020-05-19 09:34:13 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Sergio Zharinov
d5aeb50004
refactor(gitlab): Use nock for tests (#6267) 2020-05-17 21:42:15 +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
f8a418f82a fix(github): better detection of locked PR
Closes #6215
2020-05-16 09:11:04 +02:00
Rhys Arkins
6a1dab6412 refactor(platform): commitFilesToBranch -> commitFiles 2020-05-14 14:13:08 +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
a44d5452fa
fix(git): ignore symbolic links for getFileList (#6226) 2020-05-14 11:24:03 +02:00
Björn Brauer
c862677623
feat(platform): remove comments by content (#6181) 2020-05-12 23:21:58 +02:00
Rhys Arkins
6d79808b04
fix(gitlab): reduce maximum MR body size to 60k 2020-05-12 21:13:49 +02:00
Rhys Arkins
7caac0987c chore: better runCache import 2020-05-12 19:21:14 +02:00
Rhys Arkins
9f89157e17
fix(gitlab): reduce MR body size to 100k (#6212) 2020-05-12 19:05:46 +02:00
Rhys Arkins
8f12059cd4 fix(gitlab): log raw error for all platform errors 2020-05-12 14:31:19 +02:00
Rhys Arkins
04cba3f6c7 refactor(cache): rename run cache 2020-05-11 08:00:55 +02:00
Rhys Arkins
fa9adfabb1 fix(git): gracefully handle clone disk space error 2020-05-08 14:28:14 +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
e531a934bf fix: fetch file list from head not origin 2020-05-05 21:39:56 +02:00
Rhys Arkins
82ca814747 refactor: remove unused branchName param in getFileList 2020-05-05 20:42:14 +02:00
Rhys Arkins
be7b20cd8b fix: Revert "fix(gitFs): cache fileList results (#6126)"
This reverts commit 091befebff.
2020-05-05 16:02:54 +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
Sergio Zharinov
aa38ddf428
test: Better GraphQL snapshots (#6128) 2020-05-05 14:57:05 +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
b208bdb444 chore: determineBaseBranch -> setBaseBranchToDefault 2020-05-05 10:30:10 +02:00
Rhys Arkins
091befebff
fix(gitFs): cache fileList results (#6126) 2020-05-05 09:53:22 +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
Sergio Zharinov
9c6f56da22
test(github): Snapshot all HTTP requests in test (#6059) 2020-05-02 10:16:03 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Janosch Hildebrand
4a266c63e2
fix(gitea): pass through gitPrivateKey (#6074) 2020-04-28 14:12:12 +02:00
Rhys Arkins
efe102d7e3 logs: gitlab platform failure err 2020-04-28 10:38:59 +02:00
Rhys Arkins
993f411e95 fix(github): check vulnerability alerts return values
Closes #6067
2020-04-28 07:38:04 +02:00
Rhys Arkins
ca2d9be0f6 fix(gitlab): handle ParseError 2020-04-23 10:06:42 +02:00
proton
527212dbea
fix(gitea): immortal PRs for Gitea (#5998) 2020-04-21 17:21:54 +02:00
proton
9d8664ad09
feat(gitea): support organization labels (#6000) 2020-04-21 09:53:52 +02:00
Rhys Arkins
55a73b931a fix: handle base branch error gracefully 2020-04-16 07:06:15 +02:00
Florian Greinacher
e6453ae423
feat(presets): add support for local presets (#5814) 2020-04-14 07:05:30 +02:00
Preston Sego
22ed9b7b92
fix(github): Support skipped state for Workflows (#5959) 2020-04-14 06:38:09 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
renovate[bot]
e6064c4293
build(deps): update dependency azure-devops-node-api to v10 (#5939)
* build(deps): update dependency azure-devops-node-api to v10

* chore: update jest snapshots

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-10 17:39:19 +02:00
Jamie Magee
d4f6aa4bc5
fix: add missing await statements (#5918)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-04-09 12:47:48 +02:00
Michael Kriese
eafce83889
fix: binary file handling (#5916) 2020-04-09 07:43:47 +02:00
Michael Kriese
30fcff2194
feat(internal): dynamic platform imports (#5898) 2020-04-08 09:14:32 +02:00
Michael Kriese
c273e684a5
fix(platform): remove wrong bitbucket-server description (#5913) 2020-04-08 08:13:25 +02:00
Michael Kriese
5a3359462c
fix(github): fix github status check (#5905) 2020-04-07 17:45:55 +02:00
Rhys Arkins
ebdda4ddf4 fix(gitlab): platform error for 429 2020-03-28 17:38:43 +01:00
NateScarlet
f00846ee5d
fix(gitea): pagination (#5798)
Fixes #5797
2020-03-27 14:58:22 +01:00
NateScarlet
f9fe9fb313
fix: gitea status never green (#5776)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-03-26 06:42:55 +01:00
kroonprins
c5851bee00
feat(azure): small improvements for PR assignees and reviewers… (#5601)
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-03-25 07:36:52 +01:00
kroonprins
63b5094915
feat(azure): support Azure DevOps Server authentication methods (#5602)
* feat(azure): support Azure DevOps Server authentication methods

* feat(azure): support Azure DevOps Server authentication methods

Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-03-24 23:08:00 +01:00
Daniel Tschinder
782eaca8c0
feat(bitbucket-server): Implement repoForceRebase() (#5769) 2020-03-24 08:29:38 +01:00
Jamie Magee
2da4d8413b
feat(github): github enterprise vulnerability alerts (#5762)
Add support for vulnerability alerts for GHE. Requires GHE 2.17.0 or higher. I think this is a fair requirement to assume, as GHE 2.16.x went EOL on January 22, 2020.

This also allows us to remove the check for GHE version when gettings issues.

Closes #4905
2020-03-24 07:24:55 +01:00
Jamie Magee
148d5498b8
feat(azure): implement getPrFiles (#5634) 2020-03-19 21:55:32 +01:00
Ben Gummer
a207ca215a
fix(bitbucket): allow custom Bitbucket Cloud endpoint (#5587) 2020-03-19 06:38:52 +01:00
Jamie Magee
5ce5ef39c1
chore(internal): disallow implicit braces (#5730) 2020-03-17 12:15:22 +01:00
Rhys Arkins
a8e1979edc fix(github): setBranchStatus mapping 2020-03-09 08:17:15 +01:00
Rhys Arkins
8e3390275b fix(bitbucket-server): treat STOPPED statuses as FAILED
Closes #5670
2020-03-09 05:56:12 +01:00
Rhys Arkins
5f2ab635cf fix(gitlab): add more status check mappings 2020-03-09 05:49:30 +01:00
Rhys Arkins
6605fe548d fix(gitlab): add missing “created” branch status 2020-03-08 21:05:46 +01:00
Rhys Arkins
588616f669
feat: branch status unification (#5658) 2020-03-08 15:03:19 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib (#5635) 2020-03-05 21:57:24 +01:00
Rhys Arkins
23a820e74f
feat(constants): Pull Request Status Constants (#5158) 2020-03-05 07:03:47 +01:00
Jamie Magee
16962a989f
chore: better types for azure (#5633) 2020-03-03 23:08:45 +01:00
Luke Page
30a3c9e701
fix(azure): null exception updating comment (#5624)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-03-03 11:36:57 +01:00
kroonprins
1088efde49
fix: bugfix for hourly limit for azure & bugfix for ignorePrefi… (#5600) 2020-02-29 23:04:59 +01:00
Michael Kriese
ecd981bf64
fix(platform): fix api differences (#5570) 2020-02-25 09:42:24 +01:00
Michael Kriese
d1a40c548c
fix(gitlab): add merge method fallback (#5571) 2020-02-25 09:12:56 +01:00
Michael Kriese
763e444962
feat(gitlab): add merge method check (#5567) 2020-02-25 06:34:06 +01:00
Rhys Arkins
712f9f091a logs: Issue created 2020-02-24 13:56:04 +01:00
Rhys Arkins
ab9361a170 logs: Comment added info 2020-02-24 13:54:11 +01:00
Rhys Arkins
432a0fa7c7 fix(logs): debug gitlab 406 err 2020-02-24 12:31:33 +01:00
Michael Kriese
9c717d9d57
fix: lgtm suggestions (#5562) 2020-02-24 12:27:10 +01:00
Rhys Arkins
f1d0b7b5fe refactor: lower some levels from info to debug
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
b097fb8f0a fix(pr): condense rebase description 2020-02-24 06:35:41 +01:00
Rhys Arkins
6c7f228347
fix(logs): log commit with Branch creates and updates (#5560) 2020-02-24 05:33:51 +01:00
Rhys Arkins
7dba5ed5b0 fix: pointless check 2020-02-22 07:13:12 +01:00
Pascal Mathis
c9357cc340
feat: add support for gitea platform (#5509) 2020-02-19 11:19:25 +01:00
Luke Page
b484272238
feat: Azure - update comments (#5503)
* fix ensure comment

* Fix comment update mechanism

* Fix snapshots

Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-02-18 22:12:15 +01:00
Luke Page
e179c7d948
feat(azure): calculate isModified (#5482) 2020-02-17 21:34:54 +01:00
Björn Dahlgren
30ee09ca4a
fix(bitbucket): log warning when PR creation fails (#5474) 2020-02-13 11:51:48 +01:00
Rhys Arkins
5d454ca3ff
fix(yarn): offline integrity hash (#5449) 2020-02-13 06:39:07 +01:00
Rhys Arkins
d0dae99796 fix(github): log canMergeReason if pr.canMerge = false; 2020-02-12 09:19:15 +01:00
Rhys Arkins
c2f28bdd95 fix(github): try/catch getPrList 2020-02-11 12:22:48 +01:00
Rhys Arkins
ab166d7088 fix(gitlab): warn not error when failing to add assignees 2020-02-08 15:49:13 +01:00
Rhys Arkins
aff618fa8e
feat: dynamic platform list retrieval (#5394) 2020-02-06 13:44:53 +00:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types (#5171) 2020-02-06 12:15:54 +00:00
Rhys Arkins
99c2b38ec5 fix: import URLSearchParams in bitbucket 2020-02-06 12:17:09 +01:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Michael Kriese
8719f70dea
chore(eslint): simplify / update settings (#5296) 2020-02-04 10:37:00 +01:00
Sergio Zharinov
514fdbddab fix(platform): Filter out non-Renovate PRs with same branch (#5211) 2020-01-27 13:45:52 +01:00
Rhys Arkins
e34900377c fix(gitlab): GITLAB_IGNORE_REPO_URL
Adds unofficial (for now) env option to igore the http_url_to_repo value returned by GitLab.
2020-01-21 16:44:24 +01:00
Rhys Arkins
4b29858768
fix(pr): better rebase/retry description in PRs (#5203) 2020-01-21 09:44:38 +01:00
Rhys Arkins
bd1179397b
fix: skip empty commits (#5184)
Skips the git commit force push if git returns no diff between the local branch and server branch of the same name.

Closes #5009, Closes #5083, Closes #5074
2020-01-18 11:55:32 +01:00
Jamie Magee
1e2c30a96a fix: warn if force push commit has no diff (#5099)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-17 18:11:02 +01:00
Sourav Das
9024eda2a0 feat(constants): Branch Status (#5166)
1. Branch related statuses are moved to lib/branch-constants.ts
2. Updated all the references

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-17 10:14:58 +01:00
renovate[bot]
36a37dada8 chore(deps): update dependency prettier to v1.19.1 (#5169)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-16 16:21:07 +01:00
Sourav Das
3a4c61ed03 refactor(constants) : Error constants (#5156) 2020-01-15 21:36:12 +01:00
Rhys Arkins
6d3966c7f6 logs: log 422 errors 2020-01-15 02:52:19 +01:00
Sourav Das
547dcd84a7 refactor(function): findPR function(#4996) (#5129) 2020-01-14 16:12:14 +01:00
Sourav Das
447b110a8c refactor(function): Ensure Comment Function (#4996) (#5128)
1. Create interface EnsureCommentConfig
2. Add config to the interface for Bitbucket
3. Refactor functions
4. Update tests

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-14 12:13:34 +01:00
Sourav Das
ee153e560e feat: use error constants (#5088) (#5100)
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
8170aed064 logs: print renovate version as part of renovateRepository 2020-01-11 07:50:08 +01:00
Sourav Das
50c74d38c0 refactor: createPR function (#4996) (#5108)
* refactor: createPR function (#4996)
1. Interface created: createPRConfig

* refactor: Create PR function (#4996)
Remove label parameter from bitbucket and bitbucket server function call.

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-07 15:33:19 +00:00
Sourav Das
be5679661a refactor: EnsureIssue function (#5107)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:40:53 +00:00
Sourav Das
e72bf85b1e refactor: setBranchStatus Function (#4996) (#5112) 2020-01-07 09:59:14 +00:00
Jamie Magee
113b1466cd fix(azure): reimplement getpr using getprlist (#5097)
* fix(azure): reimplement getpr using getprlist

* test fixes
2020-01-03 19:50:10 +00:00
Jamie Magee
7f6ac52f16 fix(azure): correct naming for branches (#5087) 2020-01-02 15:27:18 +00:00
Sourav Das
e7695bde9c refactor: convert commitFilesToBranch function params (#5064) 2020-01-02 09:03:46 +00:00
Sourav Das
a165d6b411 fix(github): Show warning when failed to add pr reviewer. (#5086) 2020-01-02 08:47:59 +00:00
Adam Dehnel
e1ebe77781 feat: skip gitlab disabled and empty repos (#5084)
* skipping disabled repos in gitlab

* adding tests for gitlab disabled repo check

* fixing empty_repo test

* skip gitlab project if MRs are disabled

Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-01-01 17:02:58 +01:00
Jamie Magee
ca05487273 feat(azure): implement findPrs (#5008) 2019-12-21 13:59:15 +01:00
Sergio Zharinov
3a7c67919f feat(github): graphql wrapper with query retry (#4739) 2019-12-13 12:24:11 +02:00
Rhys Arkins
3c5cdeb3cf fix(bitbucket-server): sanitize rebase checkbox
Fixes #4952
2019-12-11 09:02:44 +02:00
Rhys Arkins
8806148add fix(github): throw repository-changed if setBranchStatus fails 2019-12-11 09:00:47 +02:00
Michael Kriese
e6e121e7b7 refactor(test): convert to ts (#4945) 2019-12-09 14:42:55 +03:00
Frank Liepert
5601f3dade fix(gitlab): complete git author including name (#4932) (#4933) 2019-12-05 16:25:37 +01:00
Rhys Arkins
2adad0dae6
fix: drop configurable appName (#4931) 2019-12-05 11:55:14 +01:00
Rhys Arkins
1c33d1c101
fix: drop appSlug configurability (#4930) 2019-12-05 10:45:28 +01:00
Rhys Arkins
c7e129cdf6
feat: configurable product links (#4929) 2019-12-05 10:27:29 +01:00
Rhys Arkins
5ad362fb21 fix: Revert "fix: refactor appStrings imports"
This reverts commit aec281840b.
2019-12-04 16:44:04 +01:00
Rhys Arkins
aec281840b fix: refactor appStrings imports 2019-12-04 16:18:37 +01:00
Rhys Arkins
c8f49e71f5 refactor: remove Object.assign 2019-12-04 10:12:01 +01:00
Kirill Romanov
f223f5e007 fix: cache-bust branch status after updating a status (#4884) (#4885) 2019-12-03 18:21:40 +01:00
Riccardo Padovani
d51bf30c82 feat(gitlab): do not discover projects without MR enabled. (#4913)
Skip fetching gitlab repos that have MRs disabled.
2019-12-02 20:40:13 +01:00
Satsuki Yanagi
f78e43e024 fix(gitlab): pass through gitPrivateKey (#4904)
GitLab's PlatformConfig doesn't implemented well as support GPG Commit Signing.
2019-11-29 08:56:10 +01:00
Jamie Magee
ae2f0f7c84 feat: Initial support for git submodules (#4605) 2019-11-28 20:04:54 +01:00
Michael Kriese
f0d4995fda fix(eslint): '@typescript-eslint/explicit-function-return-… (#4872) 2019-11-26 16:13:07 +01:00
Gabriel Melillo
defac5d831 feat(gitlab) multiple assignees support (#4851) 2019-11-25 17:13:39 +01:00
Kirill Romanov
01aaf078df fix(storage): do not throw error when no remote branch to delete (#4314) (#4868) 2019-11-25 09:45:59 +01:00
Rhys Arkins
d46bd277c7 fix(gitlab): handle authentication-error retrieving PRs 2019-11-24 21:43:46 +01:00
Rhys Arkins
8d0aa39920 refactor(eslint): '@typescript-eslint/explicit-function-return-type' improvements 2019-11-24 08:43:24 +01:00
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