Commit graph

2318 commits

Author SHA1 Message Date
Renovate Bot
1bcfb44bf5 chore: update dependency nock to v9.2.4 2018-04-09 23:32:58 +00:00
Rhys Arkins
ea447cfa0d
feat: depTypeList in packageRules (#1815)
Adds a field `depTypeList` to `packageRules`, enabling rules for packages to be applied for any `depType`. Config objects `dependencies`, `devDependencies` and `peerDependencies` will be deprecated in favour of this new approach.

Closes #1807
2018-04-09 16:10:34 +02:00
Rhys Arkins
b974d2f116 fix: don’t resolve onboardingConfig 2018-04-09 13:29:47 +02:00
Rhys Arkins
d742732e2b fix: set isRange true for non-version docker tags
Closes #1806
2018-04-09 13:28:08 +02:00
Rhys Arkins
865ac3ea47 fix: mergeChildConfig should support nested mergeable=true 2018-04-09 13:19:23 +02:00
Rhys Arkins
d4d4ee170b chore: update contributing.md, issue_template.md and add pull_request_template.md 2018-04-09 09:55:14 +02:00
Steven Hargrove
02e52a8c79 feat: merge configured repositories with autodiscovered
Merges any static config from config.js with repositories list that is autodiscovered.

BREAKING CHANGE: Repositories in config.js will have their config combined with the autodiscover list and a warning if any statically configured repositories are not found.
2018-04-09 09:24:37 +02:00
Rhys Arkins
e6e28a62fb fix: return empty travis updates if no support policy set
No longer defaults to supportPolicy=[‘lts’] when supportPolicy is undefined.

BREAKING CHANGE: If you wish to use travis with supportPolicy=lts, then you need to explicitly set that in node or travis config.
2018-04-09 08:29:39 +02:00
Rhys Arkins
1f63173194 fix: remove enabled=true requirement from managers
Simplify manager definitions by removing need for explicit enabled=true
2018-04-09 08:23:59 +02:00
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