Rhys Arkins
1762ee68a0
feat: automergeComment ( #1906 )
...
Adds new option “pr-comment” for `automergeType` and a new option `automergeComment` to use in such a case.
2018-05-04 06:55:01 +02:00
Rhys Arkins
6415833a4b
refactor: renovateapp.com -> renovatebot.com
2018-04-24 13:59:42 +02:00
Rhys Arkins
6eb5fe787b
fix: typo in large file tree url
2018-04-19 09:09:27 +02:00
Sarun Intaralawan
776e516e83
feat: implement isBranchStale for GitLab ( #1833 )
...
Closes #1626
2018-04-14 21:47:22 +02:00
Ayoub Kaanich
ec7f75cfe9
refactor: use delay for gh-got wrapper
2018-04-09 06:07:48 +02:00
Rhys Arkins
b6cf7360e2
fix: clean repo at end of every repo run ( #1787 )
...
Closes #1786
2018-04-04 14:16:36 +02:00
Rhys Arkins
ba98e7dc3e
fix(github): don’t post branch status check if already set
...
Closes #1779
2018-04-03 06:51:19 +02:00
Ayoub Kaanich
3b8f3c5c16
fix: use sha instead of ref for PRs when possible. ( #1772 )
...
Resolves #1658
2018-04-02 22:49:34 +02:00
Rhys Arkins
4c3581caf0
fix: prune “renovate” branch if branchPrefix is “renovate/“
...
Otherwise it blocks us from branch creation
2018-03-26 12:10:00 +02:00
Rhys Arkins
363a2cc2e5
fix: abort renovation if rate limit exceeded (github)
2018-03-22 09:26:20 +01:00
Rhys Arkins
ec14bf0e92
fix: reopen MR after branch deletion (GitLab) ( #1660 )
...
Closes #1657
2018-03-13 20:33:22 +01:00
Rhys Arkins
4104e81005
Revert "chore: remove unused getPrFiles functions"
...
This reverts commit d5984a3cad
.
2018-03-06 12:18:35 +01:00
Adam Moss
621badb964
fix(allow-failure): enabled automerge when allowed failures occur
...
Closes : #1586
Signed-off-by: Adam Moss <adam.moss@bcs.org.uk>
2018-03-05 21:18:51 +01:00
Rhys Arkins
d5984a3cad
chore: remove unused getPrFiles functions
2018-03-05 15:50:34 +01:00
Rhys Arkins
9119568fe4
fix: add checks if pr branch still exists (gitlab)
...
in GitLab, a PR may be open while the branch itself has been removed. We cant just assume that the branch exists because the PR does, even if it’s an edge case.
2018-02-28 04:43:30 +01:00
Rhys Arkins
d0fa221ae3
fix: only rebase if pr is dirty (github)
2018-02-27 19:50:16 +01:00
Rhys Arkins
8463be0266
fix: return branchName field when creating pr
2018-02-19 21:30:33 +01:00
Rhys Arkins
c949778ab7
fix: harmonize to pr.branchName
2018-02-19 20:01:10 +01:00
JYC
e03d487bc8
fix: update dependency vso-node-api to v6.3.2 ( #1534 )
...
* fix: update dependency vso-node-api to v6.3.2
* The web api create methods need to be async
* remove Redundant use of `await`
* To test 100%
2018-02-19 14:17:53 +01:00
Rhys Arkins
576f38efdc
fix: use isUmergeable instead of mergeable
2018-02-16 16:19:26 +01:00
Adam Moss
4c0d7cf3e6
fix(gitAuthor): add support for GitLab
...
Allow the `gitAuthor` configuration option to override the committer
property when creating or updating a file within GitLab. Port of #1280
which introduced the same capability for GitHub.
Closes #1281
Signed-off-by: Adam Moss <adam.moss@bcs.org.uk>
2018-02-12 16:49:08 +01:00
Rhys Arkins
9c845040ac
fix: delete gitlab branch first if rebasing
2018-02-12 06:58:33 +01:00
Rhys Arkins
c92d67658c
feat: use gitlab commits api for 1 commit per branch
...
Closes #1508
2018-02-12 06:20:20 +01:00
Rhys Arkins
720b46696a
feat: gitlab branch cleanup ( #1475 )
...
Removes the GitHub-only check when cleaning/pruning branches.
2018-02-03 12:06:25 +01:00
Rhys Arkins
aa0b0d68fd
fix: don’t check for branch existing when rebasing (gitlab) ( #1474 )
...
Previously, our GitLab API library was checking if a a branch existed first before trying to create it. But due to caching, a branch we'd deleted ourselves still showed up as existing, so then there was no branch to update the files in. Skip this check and use try/catch for creating branch instead.
Fixes #1468
2018-02-03 11:04:27 +01:00
Rhys Arkins
6101f25dc7
fix: reset file list when setting base branch (gitlab)
2018-02-03 10:39:04 +01:00
Rhys Arkins
d66dea7ec3
feat: verify status check (GitHub) ( #1444 )
...
Adds a `renovate/verify` status check for those migrating and looking for familiarity. Better to check the GPG verified commit, as mentioned in the associated doc.
2018-01-25 13:36:21 +01:00
Rhys Arkins
9363fd8acf
refactor: pass object to platform.initRepo
...
Also renames repoName to repository
2018-01-25 12:24:13 +01:00
Rhys Arkins
285a59b085
fix: filter out “Update branch” commits when determining canRebase ( #1410 )
...
Closes #1405
2018-01-19 07:35:39 +01:00
Rhys Arkins
eb2c159d02
refactor: simplify archived check
2018-01-17 15:16:52 +01:00
Rhys Arkins
2dcb2a70d8
feat: prHourlyLimit
...
Adds a feature to enforce an hourly limit on PR creations.
Closes #1363
2018-01-11 11:56:16 +01:00
Rhys Arkins
b711e0c3aa
fix: handle 404 repos gracefully
2017-12-31 20:47:46 +01:00
Rhys Arkins
24b94765ff
feat: skip over archived repositories (github)
2017-12-31 20:28:22 +01:00
Rhys Arkins
007be13313
feat: add api caching to gitlab ( #1324 )
...
This PR ports across GitHub’s caching approach to the GitLab platform API.
2017-12-23 08:03:16 +01:00
Rhys Arkins
eeefc3c8f3
feat: stop and raise error if repository is misconfigured ( #1302 )
...
This PR updates Renovate to detect config validation problems and (1) stop processing, and (2) either raise an Issue if already onboarded, or (2) update the onboarding PR to reflect the error if still onboarding.
Closes #1300
2017-12-18 09:39:52 +01:00
Rhys Arkins
35cd3506db
fix: drop team_reviewers param and github preview header from reviewer requests
2017-12-15 19:51:41 +01:00
Rhys Arkins
b5b714d4b5
fix: writeToken -> forkToken ( #1295 )
...
Rename writeToken to forkToken to make it clearer. This enables GitHub API to use one token for all reads, and another token just for writing to the forked repository.
2017-12-14 11:47:00 +01:00
Rhys Arkins
f5c3642ae7
fix: escape all forward slash with %2f (gitlab) ( #1294 )
...
Use a regex replace all instead of single replace, for cases where projects or branches have more than one forward slash.
Fixes #1293
2017-12-14 06:19:24 +01:00
Rhys Arkins
bbb700c54d
feat: add github writeToken capability in github wrapper
2017-12-12 14:54:09 +01:00
Rhys Arkins
cb8fd6b4ed
feat: fork mode ( #1287 )
...
This PR adds the capability to run Renovate in a new "fork mode". This new mode must be configured by the Renovate admin, and cannot be configured within repositories themselves (for now). Example use: `renovate --autodiscover --fork-mode`
In this mode:
* Renovate will fork the repository if necessary (first run only)
* If the fork already existed, Renovate will ensure that its base branch is up to date with the source repository's
* Branches will be created within the fork, PRs will be created in the source
2017-12-11 19:14:51 +01:00
Rhys Arkins
837b53619f
fix: use git data API to retrieve large files ( #1286 )
2017-12-11 12:24:37 +01:00
Rhys Arkins
278e9fe14a
refactor: improve branch protection visibility (github) ( #1284 )
2017-12-10 15:22:58 +01:00
Rhys Arkins
0dbd4c3ac0
fix: remove unnecessary loki preview header for repo object ( #1283 )
...
The loki preview header is no longer required, as per https://developer.github.com/changes/2017-09-06-protected-branches-preview-end/
2017-12-10 07:25:36 +01:00
Rhys Arkins
70c95add5a
feat: custom git commit author ( #1280 )
...
This PR adds the capability to specify a custom author for git commits on GitHub. Setting this field will mean GitHub uses this value for author and commit instead of the token’s identity. For instance if you are running hosted mode you may set the gitAuthor to “Renovate Bot <bot@renovate.com>” to have commits appear as coming from the renovate-bot account.
2017-12-09 17:09:31 +01:00
JYC
560bf727c3
fix: VSTS - add reviewer once even if multiple teams ( #1259 )
...
Closes #1258
2017-12-02 20:22:03 +01:00
Rhys Arkins
7e6befe4a8
fix: merged PRs should not block new PRs in monorepos ( #1230 )
...
Only block if it was closed unmerged.
Fixes #1205
* check for closed only for monorepos
2017-11-24 07:31:20 +01:00
JYC
8e1dfa111c
feat: VSTS - Add Reviewers & Assignees ( #1200 )
2017-11-22 05:12:19 +01:00
JYC
4bce262a14
fix: VSTS - Fix reading big file ( #1204 )
...
Closes #1158
* deleteBranch like gitlab
* changes in single commit
* prettier lint and tests
* read big file
* challenging linting!
2017-11-21 06:08:54 +01:00
Hutson Betts
ca3a1c9f9d
fix(github): paginate repo get requests ( #1193 )
...
Enable pagainate for requests made to the `user/repos` endpoint
for fetching all repositories the configured user has access to.
2017-11-20 20:36:40 +01:00
JYC
dbe68efdc7
fix: VSTS - RepoName & ProjectName ( #1201 )
...
* deleteBranch like gitlab
* changes in single commit
* prettier lint and tests
* add project and repo feature
* add case insensitive string compare
2017-11-20 19:47:49 +01:00