Commit graph

114 commits

Author SHA1 Message Date
Rhys Arkins
788215af99 fix(gitlab): Revert "feat(gitlab): try merging PR on creation (#3308)"
This reverts commit 8bd75923bb.

Reverting until https://gitlab.com/gitlab-org/gitlab-ce/issues/56698 is fixed by GitLab
2019-04-25 10:47:29 +02:00
Rishabh Jain
98174d4e37 tests: Optimise jest rules to best practices (#3438)
Closes #2028
2019-04-02 16:59:27 +02:00
Rishabh Jain
c1663e3db1 tests: move fixtures to corresponding directories (#3351)
- Refactor: move fixtures to corresponding directories
- Delete unused fixtures

Resolves: #3328
2019-03-11 16:50:10 +01:00
Florian Greinacher
8bd75923bb feat(gitlab): try merging PR on creation (#3308) 2019-03-11 10:07:54 +01:00
Rhys Arkins
89d4807c76 fix: use HEAD not master for subDirectory links 2019-03-08 17:23:43 +01:00
Rhys Arkins
807f8183a7 tests: update snapshots 2019-03-08 14:11:04 +01:00
Rhys Arkins
13cc5b5b0e refactor: rename lock files -> artifacts 2019-02-09 07:08:15 +01:00
Gord Lea
3bf4c6d798 fix(ghe): update github release notes to use api endpoint instead of sourceUrl (#3111)
The code to get a list of releases was not using the RENOVATE_ENDPOINT when the npm modules it was fetching releases for had it's git repository on github enterprise.

Closes #3079
2019-02-01 06:43:15 +01:00
Rhys Arkins
869225d0df feat(npm): use repository directory from listing
Closes #3096
2019-01-22 07:37:51 +01:00
Rhys Arkins
9587581c46 tests: drop flakey changelog cache test 2018-12-14 09:10:13 +01:00
Rhys Arkins
772bc17603 refactor: repositoryUrl -> sourceUrl 2018-12-10 05:59:28 +01:00
Rhys Arkins
6ba13f9132 feat(pr): support rebasing checkbox
Adds a “rebase this PR” checkbox for github and gitlab. Suppressed for Bitbucket and VSTS because not currently supported.

Closes #2766
2018-12-05 07:22:38 +01:00
Rhys Arkins
0d6a1308e2 fix: ignore white space when comparing PR bodies
Closes #2769
2018-12-05 05:58:02 +01:00
Rhys Arkins
3300b5a51a fix(pr): don’t log automerged unless true 2018-11-09 22:11:26 +01:00
Rhys Arkins
6c8e796cb1 fix(github): skip branch status checks if pr.canMerge=true 2018-10-29 06:32:20 +01:00
Rhys Arkins
9c0135cf0d fix: typo in digest newValue
Closes #2674
2018-10-22 10:50:58 +02:00
Rhys Arkins
70b4000f83 chore: remove misbehaving cache test 2018-10-16 06:47:54 +02:00
Rhys Arkins
a429618e09
chore: try delay for changelog cache test (#2608) 2018-10-06 13:35:10 +02:00
Rhys Arkins
78271c818a
chore: refactor cached changelog test (#2607) 2018-10-06 07:27:43 +02:00
Rhys Arkins
69cf9d309f feat(schedule): default to “at any time”
Closes #2601
2018-10-05 10:50:21 +02:00
Rhys Arkins
2555339552 feat: rebase using PR title
If PR title starts with “rebase!” then PR will be rebased.
2018-09-27 15:34:13 +02:00
Rhys Arkins
5956adf8bc fix(pr): improve rebase instructions 2018-09-27 14:32:45 +02:00
Rhys Arkins
6f16f1c569 feat: prBody default to Change column 2018-09-24 22:04:04 +02:00
Rhys Arkins
3e4d2b7846 refactor: 3 length table header separator 2018-09-21 11:48:06 +02:00
Rhys Arkins
66a4aa40d8
feat: custom PR body notes (#2545)
Adds field “prBodyNotes” to allow customisable content in PR body.

Closes #1802
2018-09-21 11:36:07 +02:00
Rhys Arkins
dcec25c291
feat: customisable PR tables (#2544)
Adds ability to both redefine column definitions in PRs as well as add or remove columns.
2018-09-21 09:46:51 +02:00
Rhys Arkins
29251352e8
feat: common prBody across all types (#2542)
Closes #442
2018-09-21 05:43:51 +02:00
Rhys Arkins
788d96e5e9 refactor: rename isUnmergeable to isConflicted 2018-09-14 20:02:51 +02:00
Rhys Arkins
f8cf83380f
refactor: endpoints -> hostRules (#2509)
Renames `endpoints` to `hostRules`
2018-09-12 12:16:17 +02:00
Rhys Arkins
167049502a fix: don’t look up release notes compare URLs by date 2018-09-03 22:39:35 +02:00
Rhys Arkins
5e38150154 fix: skip changelog lookup for @types
There’s never anything there
2018-09-03 22:20:01 +02:00
Rhys Arkins
0d2e3bd451 chore: update snapshot 2018-09-03 17:11:13 +02:00
Rhys Arkins
1f7b25e51c fix: cache changelog on from/to 2018-09-03 16:19:02 +02:00
Rhys Arkins
4d48ba1395 refactor: cache changelog per-release
Closes #2473
2018-09-03 10:25:30 +02:00
Rhys Arkins
7c3b6f1054 refactor: add release notes in one place 2018-09-03 09:17:11 +02:00
Rhys Arkins
934adfdffe refactor: move release notes into changelog 2018-09-03 08:39:30 +02:00
Rhys Arkins
35b2ce8b42
feat: centralised cache (#2472)
Closes #2466
2018-09-03 07:27:22 +02:00
Rhys Arkins
265f796ea6 fix: remove excess newlines from pr body 2018-08-27 13:56:53 +02:00
Rhys Arkins
c1dd5c0c8c feat: show both homepage and source repo for each dep
Changes PR body to show both homepage and source repo if both are present in the datasource metadata.

Closes #2387
2018-08-17 17:27:54 +02:00
Rhys Arkins
eaf73394d8 feat: linkify changelog/release notes
Adds the library `linkify-markdown` to actively linkify urls, issues and usernames so that they can then be linked to the renovatebot redirector for github.
2018-07-26 17:13:01 +02:00
Rhys Arkins
981d5a1cce feat: set prBody formatting per-platform
Pushes “getPrBody” logic into platform level to allow platforms to individually do things like text replacements and body length limiting.

Closes #2267
2018-07-22 07:47:23 +02:00
Ayoub Kaanich
219950399e feat: endpoints credentials handling 2018-07-06 07:26:52 +02:00
Rhys Arkins
068ff16ec4 fix: Revert "feat: endpoint credentials handling (#2146)"
This reverts commit 04e0ca1f80.
2018-07-02 13:18:37 +02:00
Ayoub Kaanich
04e0ca1f80 feat: endpoint credentials handling (#2146)
Refactors credentials/token handling to rely less on env variables and instead use an endpoints middleware for credentials handling.

First step towards #2105
2018-07-02 10:01:42 +02:00
Rhys Arkins
40962940a0
refactor: harmonize release timestamp (#2189)
Renames "date" and "time" values from datasources to instead be "releaseTimestamp".
2018-06-28 09:07:28 +02:00
Rhys Arkins
8da5888ef6 feat: combine branch automergeTypes
This deprecates branch-push and branch-merge-commit automergeTypes and replaces with “branch”, which has the same behaviour as the previous branch-push.

BREAKING CHANGE: branch-merge-commit automergeType behaviour is no longer supported, all branch automerges now use branch push approach.
2018-06-26 14:01:13 +02:00
Rhys Arkins
7651029064 feat: strip Reviewable content before comparing existing PR body
Closes #2141
2018-06-19 15:15:13 +02:00
Rhys Arkins
bcd708fd7c feat: cache full changelog 2018-06-14 09:54:00 +02:00
Ayoub Kaanich
4bcfabd2c3 feat: manager-agnostic changelog (#2109)
Closes #2101 #2092
2018-06-13 11:00:58 +02:00
Dragomir Țurcanu
aa84074d76 feat: comment in PR when branch automerge fails (#2058)
This PR adds the feature of commenting on a failed automerge. It's done by adding a conditional in `lib/workers/branch/automerge.js` which, in case of receiving `failure` or `error` from the `getBranchStatus` function, returns the "branch status error" value. Another modification is in `lib/workers/branch/index.js`, which is an adition to the failure response of the `tryBranchAutomerge` function. The added functionality is the ability to add a comment to the PR which had a failure automerging. In case of receiving the aforementioned "branch status error" value, to the comment is appended a note which emphasize the fact that there're multiple failed status checks.

Closes #1934
2018-06-07 14:42:51 +02:00