Commit graph

2459 commits

Author SHA1 Message Date
Rhys Arkins
662828ab1b fix: default pinVersions to false
Change default of pinVersions from null (autodetect) to false. Note: The preset “config:base” still reverts this to null/autodetect.

BREAKING CHANGE: pinVersions defaults to false. To switch back to autodetect, use preset “:autodetectPinVersions”, which is already included within “config:base”.
2018-04-09 07:43:08 +02:00
Rhys Arkins
756954efcd fix: remove semanticCommitType=fix default from dependencies
Removes hardcoded “fix” commitType from dependencies. Doing so allows for easier overriding without requiring complicated/deep presets or config.

BREAKING CHANGE: dependencies default semantic commit type now uses main config commit type (chore)
2018-04-09 07:33:20 +02:00
Rhys Arkins
0904588c3d feat: empty onboarding config
Changes the default onboarding config from `{ extends: [‘config:base’] }` to `{}` (empty). Self-hosted bot users can add it back by configuring `onboardingConfig` in `config.js` or env. Doing this makes the bot less “opinionated” by default and more convenient for self-hosted users, who can configured everything in config.js or env now.

Closes #1554

BREAKING CHANGE: onboarding config now defaults to empty config instead of config:base. Self-hosted users need to add it back if they with to retain it as default suggested config.
2018-04-09 07:25:24 +02:00
Rhys Arkins
2e2573b3bb Update license from MIT to AGPL 2018-04-09 07:22:55 +02:00
Rhys Arkins
a81da6edf7 refactor: simplify packageRules var names 2018-04-09 06:21:15 +02:00
Renovate Bot
5d152cc086 fix: update dependency cacache to v11.0.0 2018-04-09 06:10:30 +02:00
Ayoub Kaanich
eb3c55b125 refactor: set token in config before renovation 2018-04-09 06:08:43 +02:00
Ayoub Kaanich
ec7f75cfe9 refactor: use delay for gh-got wrapper 2018-04-09 06:07:48 +02:00
Rhys Arkins
79bdfbea3e fix: don’t skip lockfilemaintenance branch creation due to unpublishsafe
Closes #1809
2018-04-08 06:59:34 +02:00
Renovate Bot
dd08a7431a fix: update dependency pnpm to v1.38.3 2018-04-07 12:26:00 +00:00
David
3afc78dab5 chore: renamed "user name" to "username" in definitions.js (#1805)
Changed `user name` to `username` in description to clarify we want a login name and not the user's actual name.
2018-04-07 09:26:29 +02:00
Adam Moss
51c1efa7a8 fix(gitlab-reviewer): change from error to warning (#1803)
GitLab as of v10.6 has a API end point for Merge Request Approvals
which equates to the Reviewer functionality in GitHub.  This is available
to both GitLab.com and EES or above on-prem users.

See https://docs.gitlab.com/ee/api/merge_request_approvals.html#merge-request-level-approvals

Signed-off-by: Adam Moss <adam.moss@bcs.org.uk>
2018-04-06 11:31:34 +02:00
Hutson Betts
585a4b99fa docs: fix formatting for configuration options (#1800) 2018-04-05 23:07:12 +02:00
Rhys Arkins
49246a75a7 tests: fix config resolve to not query actual npm 2018-04-05 22:51:44 +02:00
Țurcanu Dragomir
2f4d5836f3 feat: Raise config error if config found within nested package.json (#1777)
Raises config error if renovate config found in a nested package.json

Closes #1742
2018-04-05 22:42:07 +02:00
Rhys Arkins
ab26535269 tests: fix snapshot 2018-04-05 22:32:42 +02:00
Rhys Arkins
990767fa38 fix: await handleError 2018-04-05 07:37:26 +02:00
Rhys Arkins
d0af557ade
fix: no warn when deleting lock file maintenance branch
Closes #1797
2018-04-05 07:04:02 +02:00
Steven Hargrove
126b6b2883 test: added test for presets definend global and repo in config.js 2018-04-04 21:50:08 +02:00
Renovate Bot
92f0cbed27 fix: update node:8.11.1-alpine digest 2018-04-04 21:36:42 +02:00
Renovate Bot
65cf29692d fix: update dependency pnpm to v1.38.2 2018-04-04 19:33:13 +00:00
Rhys Arkins
0dd604f53d tests: fix automerge tests 2018-04-04 19:35:01 +02:00
Rhys Arkins
27db9cfbf8 refactor: remove automerge recursion 2018-04-04 19:23:45 +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
Steven Hargrove
4c3401cc34 refactor: simply repositories autodiscover 2018-04-04 14:13:19 +02:00
Rhys Arkins
0d92defb7d fix: resolve presets in config.js
Closes #1080
2018-04-04 14:08:10 +02:00
Rhys Arkins
394bc931bd refactor: simply global mergeconfig 2018-04-04 13:47:56 +02:00
Rhys Arkins
96275379a7 logs: Autodiscovering 2018-04-04 13:38:06 +02:00
Steven Hargrove
393dcf58c8 fix: pasrse cli and env integers 2018-04-04 13:34:22 +02:00
Steven Hargrove
24c324c5b6 refactor: initPlatform 2018-04-04 13:33:56 +02:00
Steven Hargrove
7b0ae535ab refactor: module.exports => exports 2018-04-04 13:26:05 +02:00
ikisialeu
484ef0cbcd feat: validate user regex (#1766)
Validate that user-inputted regex for package patterns are valid RegExp().

Closes #1450
2018-04-04 09:23:59 +02:00
Renovate Bot
90d3a2d92d fix: update node:8.11.1-alpine digest 2018-04-04 09:19:10 +02:00
Steven Hargrove
be04c31b4c test: added jest serializer for renovate configs 2018-04-04 08:56:57 +02:00
Rhys Arkins
c78da83798 logs: debug log fileList length when retrieving 2018-04-04 07:18:01 +02:00
Renovate Bot
4ae2e18a58 chore: update dependency semantic-release to v15.1.5 2018-04-03 22:08:25 +00:00
Țurcanu Dragomir
101226db97 fix: add 5s sleep after automerge or restart (#1761)
This hopefully gives a better chance of GitHub being able to finish computing the new mergeability status, and reduces the chance of a race condition.

Closes #1617
2018-04-03 11:28:51 +02:00
Rhys Arkins
ced374ea24 fix: disable manager if parentManager is disabled
Closes #1778
2018-04-03 06:52:04 +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
Renovate Bot
2bd882f4c7 fix: update node to tag 8.11.1-alpine 2018-04-03 04:27:22 +00: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
Renovate Bot
d6c7b153aa fix: update dependency vso-node-api to v6.5.0 2018-04-02 20:31:58 +00:00
Rhys Arkins
1ad05442e4 fixl handle npm registry 403 2018-04-02 20:18:26 +02:00
Rhys Arkins
d9bfa0cd28 fix: await platform.ensureIssueClosing 2018-04-02 18:47:04 +02:00
Rhys Arkins
61e4de2745 fix: check that result body is an array for getIssueList() 2018-04-02 18:46:45 +02:00
Ayoub Kaanich
57ffec14cb feat: autodetect changelog file name (#1770)
Improves changelog detection algorithm to look for different upper/lower case options as well as alternative filenames like `History.md`.

Resolves #1754
2018-04-01 21:41:26 +02:00
Renovate Bot
1ba12ef59c fix: update dependency pnpm to v1.37.5 2018-04-01 16:58:34 +00:00
Ayoub Kaanich
74dde919f1 fix: use markdown-it to sectionize changelog files (#1767)
Resolves #1709
2018-04-01 15:51:20 +02:00
Steven Hargrove
359fa5c939 fix: Prefer /usr/src/app workdir so no need for chown (#1763)
In alpine linux, the `/usr/src` dir is already configured to allow system users read access. Keeping the ownership to root, but permitting the `node` user read access.

**Note**: Maybe a breaking change if users are mounting to `/src` path on docker run.
2018-04-01 07:17:00 +02:00
Rhys Arkins
ed20fdffa7 refactor: simplify all yarn references in package.json and travis.yml 2018-03-31 06:48:36 +02:00