Commit graph

2658 commits

Author SHA1 Message Date
Renovate Bot
3700d32fe1 fix: update dependency moment-timezone to v0.5.15 2018-04-17 05:27:53 +00:00
Renovate Bot
4004100e97 fix: update dependency chalk to v2.4.0 2018-04-17 05:11:35 +00:00
Rhys Arkins
0a51fdaf98 docs: add more details to packageRules selectors 2018-04-16 12:50:06 +02:00
Renovate Bot
81112b761d fix: update dependency pnpm to v1.40.2 2018-04-15 19:27:39 +00:00
Renovate Bot
7491c610cc fix: update dependency yarn to v1.6.0 2018-04-15 13:48:25 +00:00
Renovate Bot
5215658b57 fix: update dependency moment to v2.22.1 2018-04-15 07:29:15 +00:00
renovate[bot]
eea86b1841 chore: update node:8.11.1-alpine digest (#1834) 2018-04-15 06:43:50 +02:00
Sarun Intaralawan
776e516e83 feat: implement isBranchStale for GitLab (#1833)
Closes #1626
2018-04-14 21:47:22 +02:00
Rhys Arkins
5bda10af76 logs: drop noisy locked version debug 2018-04-14 07:25:39 +02:00
Renovate Bot
1208129129 fix: update dependency pnpm to v1.40.1 2018-04-13 08:31:06 +00:00
Rhys Arkins
d4163fe2fb fix: test for unsafe regex and warn 2018-04-13 06:52:08 +02:00
Renovate Bot
5b9891e16f fix: update dependency pnpm to v1.40.0 2018-04-13 00:32:53 +00:00
Renovate Bot
573b6ec776 chore: update dependency semantic-release to v15.1.7 2018-04-12 23:32:21 +00:00
Rhys Arkins
c90f2252a2 fix: don't check packageRules selector for default config
Closes #1829
2018-04-12 18:47:14 +02:00
Renovate Bot
acc41ac0c1 chore: update dependency eslint-plugin-import to v2.11.0 2018-04-12 16:38:04 +00:00
Rhys Arkins
70ae459890 Add 'not-found' to errors 2018-04-12 17:03:14 +02:00
Rhys Arkins
2dfae8337d refactor: enhance repository result details
renovateRepository now returns “res” - the result of the current renovation, and “status” - the overall status of the repository.
2018-04-12 14:02:10 +02:00
Rhys Arkins
c18a1dfece docs: fix onboarding pinVersions description 2018-04-12 12:54:37 +02:00
Țurcanu Dragomir
6c46ddf20e feat: validate packageRules selectors (#1810)
packageRules selectors should only ever be inside a packageRule object, or at the top level of a preset. This feature enforces this rule with a validation check.

Closes #1773
2018-04-12 12:13:39 +02:00
Rhys Arkins
a8d45394aa fix: init logger in cli validator 2018-04-12 11:52:52 +02:00
Renovate Bot
aad5f1c74a chore: update dependency prettier to v1.12.0 2018-04-12 05:42:50 +00:00
Renovate Bot
e614bbc3cd fix: update dependency pnpm to v1.39.1 2018-04-12 01:32:17 +00:00
Renovate Bot
8be7eb0800 chore: update dependency semantic-release to v15.1.6 2018-04-11 22:33:31 +00:00
Rhys Arkins
ce238ed708 tests(validation): Fix another packageRule 2018-04-11 22:08:48 +02:00
Rhys Arkins
baf7303aab tests(validation): move packageRules selectors inside a packageRule 2018-04-11 21:54:16 +02:00
Rhys Arkins
1bdc548876 feat: print full config path in validation errors 2018-04-11 21:38:31 +02:00
Rhys Arkins
bb9eae28b1 logs: lower rule debug to trace 2018-04-11 21:04:31 +02:00
Rhys Arkins
cc7c6dc191
fix: remove logger lines from validator code
Remove logger.* statements as this can be called from the CLI validator which has no logger defined.

Closes #1816
2018-04-11 16:20:11 +02:00
Rhys Arkins
50b3b195c0 fix: check discovered length, not manually configured length
Closes #1823
2018-04-11 12:03:38 +02:00
Rhys Arkins
5a6be0f9b2 fix: keep trying automerge if receiving a 405
GitHub forbids rebase merging if signed commits branch protection is enabled. We still want to try rebase first though, so will keep trying.
2018-04-11 10:39:12 +02:00
Rhys Arkins
f634812636 logs: improve merge status/result debug 2018-04-11 09:39:35 +02:00
Rhys Arkins
2dd588df06 fix: branch status check typo 2018-04-11 09:39:08 +02:00
Renovate Bot
88b5e66ba2 chore: update dependency nock to v9.2.5 2018-04-10 20:34:06 +00:00
Renovate Bot
bec2dd1dd3 fix: update dependency cacache to v11.0.1 2018-04-10 19:25:55 +00:00
Rhys Arkins
e204b0df4b fix(config-validator): massage config before validating 2018-04-10 13:03:24 +02:00
Rhys Arkins
f874ab53e7 refactor: remove try/catch/finally from repository worker 2018-04-10 09:19:24 +02:00
Rhys Arkins
813dd1be79 logs: log err and message for unknown errors 2018-04-10 09:18:39 +02:00
Rhys Arkins
a0e8cdcbf0
refactor: combine package and dep-type workers into package-file (#1819)
* refactor: move workers/package to workers/dep-type

* refactor: move dep-type to package-file
2018-04-10 06:47:38 +02:00
Rhys Arkins
6af4facf91 fix: refactor isValidSemver to avoid Invalid Version errors 2018-04-10 06:02:48 +02:00
Rhys Arkins
523b02fbc8
refactor: npm and semver (#1817) 2018-04-10 05:20:46 +02:00
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