Commit graph

587 commits

Author SHA1 Message Date
Rhys Arkins
d6414ced16 fix(github): don’t skip graphql for closed PR list 2019-05-30 10:28:53 +02:00
Michael Kriese
cd0a3bd675 feat(gitlab): convert to typescript (#3824) 2019-05-29 14:00:56 +02:00
Ciprian Mandache
8a19ee2bf6 feat(github): use graphql instead of rest api for issue list (#3808) 2019-05-28 14:17:09 +02:00
Michael Kriese
0b063aeaa1 feat(build): use babel (#3825) 2019-05-28 11:21:17 +02:00
Rhys Arkins
73f953ca94 refactor(gitlab): use util/got/auth 2019-05-27 09:29:22 +02:00
Rhys Arkins
7a1703372b refactor(github): better retry logic 2019-05-27 09:07:52 +02:00
Rhys Arkins
e16487b824 fix(github): don’t unnecessarily retry 2019-05-27 08:57:40 +02:00
Rhys Arkins
4b907eb70d
refactor(github): use util/got (#3816) 2019-05-27 07:39:01 +02:00
Rhys Arkins
35f1f83371 chore: fix lint 2019-05-26 21:37:27 +02:00
Rhys Arkins
5d4e66144c fix(github): useCache 2019-05-26 21:17:00 +02:00
Rhys Arkins
ec301b1c48
refactor(bitbucket-server): use util/got (#3815) 2019-05-26 20:51:27 +02:00
Rhys Arkins
02b5f2e4be
refactor(gitlab): use util/got (#3814) 2019-05-26 19:05:05 +02:00
Rhys Arkins
e0766fa5ee
refactor: bitbucket got (#3813) 2019-05-26 11:25:24 +02:00
Rhys Arkins
47edd88755
refactor(bitbucket): simplify auth (#3810) 2019-05-25 08:13:55 +02:00
Rhys Arkins
5b0ef9409f refactor: bitbucket useCache 2019-05-25 07:58:57 +02:00
Rhys Arkins
439e19d78c
chore: remove all gitFs references (#3807) 2019-05-25 06:23:44 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite (#3801)
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`

Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Rhys Arkins
2426a5239f
feat(github): use git for all file operations (#3806)
With Renovate’s github platform code now using git for all file system operations, we need to tell Renovate which gitAuthor to use.

If you had already configured a gitAuthor in your bot config, you do not need to make any change.

Otherwise, to keep functionality as before, you should either:
(1) configure `gitAuthor` to match the bot’s account, or
(2) recreate your bot’s personal access token to include the “user:email” permission so that the bot can retrieve the email itself

BREAKING CHANGE: GitHub bot admins should either configure gitAuthor in their config or generate a new token with “user:email” permissions.
2019-05-24 16:34:52 +02:00
Michael Kriese
5f213255d0 test: fix coverage (#3794) 2019-05-24 15:01:07 +02:00
Rhys Arkins
b53c4c09cb Revert "feat(github): gitFs-only (#3736)"
This reverts commit acb493be95.
2019-05-24 12:08:55 +02:00
Rhys Arkins
acb493be95
feat(github): gitFs-only (#3736)
The github platform code will now use git "under the hood" instead of plucking files one by one from GitHub's API.
2019-05-24 11:50:11 +02:00
Rhys Arkins
1f6d18fcd6 fix(github): use defaults.endpoint
Closes #3787
2019-05-21 17:16:27 +02:00
Rhys Arkins
c02abf0976
feat: rename hostRules.platform to hostRules.hostType (#3768)
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Michael Kriese
0ecc16baf0 chore(build): fix linting (#3769) 2019-05-21 11:15:50 +02:00
Michael Kriese
314889031e feat(bitbucket): convert to typescript (#3767) 2019-05-21 10:34:28 +02:00
Rhys Arkins
3b69de91e1 chore: remove debugger statements 2019-05-21 09:57:57 +02:00
Rhys Arkins
73a2b42ac2 fix: clear and apply hostRules before each repo 2019-05-21 08:45:30 +02:00
Ciprian Mandache
05ec931f36 fix: remove checkbox hints + checkbox formatting for bitbucket via readOnlyIssueBody() transformer (#3765) 2019-05-21 08:21:44 +02:00
Michael Kriese
cc52c20533 feat(bitbucket-server): convert to typescript (#3756) 2019-05-20 15:08:18 +02:00
Rhys Arkins
ee218097dc
feat: refactor platform authentication (#3758) 2019-05-20 10:59:30 +02:00
Michael Kriese
61bdb3e14b fix(bitbucket-server): wrong stale pr check (#3754) 2019-05-20 05:44:14 +02:00
Rhys Arkins
a9674a5485 fix(bitbucket-server): determine gitFs type automatically 2019-05-19 09:44:57 +02:00
Rhys Arkins
9c9161d36c fix(github): autodiscover 100 per page 2019-05-18 18:58:32 +02:00
Rhys Arkins
a1a7b307a3 fix(gitlab): don’t warn if more than one MR assignee 2019-05-18 06:45:57 +02:00
Rhys Arkins
cbde6ca387 fix(gitFs): set branchExists=true after create 2019-05-17 19:47:10 +02:00
Rhys Arkins
6f7ac2c173 fix: Revert "fix(gitFs): better branch fetch"
This reverts commit 7324e4cdd9.
2019-05-17 17:56:57 +02:00
Rhys Arkins
7324e4cdd9 fix(gitFs): better branch fetch 2019-05-17 16:59:48 +02:00
Rhys Arkins
c59233819b fix(gitFs): post-commit fetch 2019-05-17 16:56:08 +02:00
Rhys Arkins
b701e15870 fix(gitFs): fetch branch after creating 2019-05-17 14:12:28 +02:00
Michael Kriese
ab5a531ada fix(gitFs): force update diverged branches (#3737) 2019-05-17 13:43:00 +02:00
Rhys Arkins
8f6e124998
fix(semantic-commits): fix lazy git semantic commit detection (#3735) 2019-05-17 10:24:29 +02:00
Rhys Arkins
3215d2966a
feat(gitFs): lazy fetching (#3638)
Instead of shallow cloning every branch (using —no-single-branch), we now clone only the default branch and lazy fetch the others as needed.
2019-05-17 08:10:40 +02:00
Michael Kriese
affc0116f0 fix(gitFs): fix fetch args (#3723)
fix(gitfs): fix wrong fetch arguments
2019-05-16 17:01:25 +02:00
Rhys Arkins
ca6320d95d fix(gitFs): catch missing baseBranch 2019-05-16 13:38:21 +02:00
Michael Kriese
0189dd8c4b feat: convert storage to typescript (part2) (#3690) 2019-05-16 13:00:40 +02:00
Rhys Arkins
2ff1dedb85 fix(gitFs): use force checkout between branches 2019-05-15 18:51:29 +02:00
Michael Kriese
966e7c41cc feat: convert storage to typescript (#3686) 2019-05-15 15:40:29 +02:00
Rhys Arkins
6ec1aac9ad fix(platform): always set baseBranch 2019-05-15 13:04:16 +02:00
Rhys Arkins
0569e9e40a fix(gitFs): run git checkout/reset when setting base branch 2019-05-15 13:00:01 +02:00
Michael Kriese
e8814be71b feat(gitFs): small refactorings (#3701) 2019-05-15 12:03:28 +02:00