Commit Graph

14403 Commits

Author SHA1 Message Date
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
Rhys Arkins c78da83798 logs: debug log fileList length when retrieving 2018-04-04 07:18:01 +02: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
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 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
Ayoub Kaanich 74dde919f1 fix: use markdown-it to sectionize changelog files (#1767)
Resolves #1709
2018-04-01 15:51:20 +02:00
Rhys Arkins a2fab232b4 fix: raise config error issue for nested presets 2018-03-31 06:13:35 +02:00
Rhys Arkins b15909f8df feat: enabledManagers (#1755)
feat: enabledManagers
2018-03-30 17:00:51 +02:00
Rhys Arkins 6edb5fd579 fix: cache github requests that include a host prefix
We were only caching GET requests that start with `repos/` and so this skipped URLs requested by our release-notes (CHANGELOG.md) function.
2018-03-30 13:37:06 +02:00
Rhys Arkins c4d8c36fd6 logs: log github requests only if non-cached 2018-03-30 13:33:37 +02:00
Rhys Arkins ffbf332a32 fix: prune past latest versions earlier 2018-03-30 09:38:17 +02:00
Rhys Arkins 5b3d7a9f86 refactor: use common manager resolve function 2018-03-30 07:38:38 +02:00
Rhys Arkins 974e210bd3 fix: set mergeable and cli options in manager definitions 2018-03-30 06:34:20 +02:00
Rhys Arkins 9a36bdcf1b refactor: rename setNewValue to updateDependency 2018-03-30 06:05:00 +02:00
Rhys Arkins ba614d4624 fix: support quotation marks for circleci
Fixes #1745
2018-03-29 19:25:31 +02:00
Rhys Arkins 9a28852eb9 fix: correct logic 2018-03-29 19:09:27 +02:00
Rhys Arkins 339a767582 fix: filter out parameterised docker-compose tags
e.g. ${TAG}
2018-03-29 18:38:18 +02:00
Rhys Arkins f5ecc1f4c8 logs: lower no digest from warn to info 2018-03-29 18:37:57 +02:00
Rhys Arkins b57437940b fix: handle quoted docker compose strings 2018-03-29 15:42:17 +02:00
Rhys Arkins fb71523e7f fix: use Docker not Dockerfile in templates 2018-03-29 15:03:32 +02:00
Rhys Arkins 71433de9c6 logs: trace docker version list 2018-03-29 15:02:48 +02:00
Rhys Arkins 9d192ff075 feat: enable docker-compose by default
Flips Docker Compose config from default disabled to default enabled.
2018-03-29 14:20:05 +02:00
Rhys Arkins 6eea2e63d3 logs: info only if issues are disabled 2018-03-29 14:16:39 +02:00
Rhys Arkins 13ca5d66f7 fix: actively handle 401 auth deny from docker registries 2018-03-29 12:45:22 +02:00
Rhys Arkins 533f866c82 fix: don’t raise error for locked private dependencies
yarn should be able to handle this now.

Closes #1721
2018-03-29 11:34:36 +02:00
Rhys Arkins aa3d361187 fix: throw registry failure if a tag has no manifest 2018-03-29 10:53:08 +02:00
Rhys Arkins 20cdd20f18 refactor: downgrade docker warn to info 2018-03-29 10:49:00 +02:00
Rhys Arkins 9d6401f823 fix: skip missing docker manifests altogether 2018-03-29 07:59:20 +02:00
Rhys Arkins 2e173c3539 fix: better fix for undefined new docker digest 2018-03-29 07:07:56 +02:00
Rhys Arkins 9b19096743 fix: filter out null docker digests
Closes #1739
2018-03-29 06:57:12 +02:00
Rhys Arkins 70ae736988 fix: abort if renovate config returns null 2018-03-28 21:01:38 +02:00
Rhys Arkins 94a5240858 feat: CircleCI docker image support (#1732)
Adds support for renovating docker image definitions in CircleCI 2 config files (`.circleci/config.yml`).

Closes #1714
2018-03-28 20:12:56 +02:00
Rhys Arkins 3b2d8d2dd4 fix: consider newFrom when evaluating group logic 2018-03-28 19:54:42 +02:00
Rhys Arkins cb3537feaa refactor: return manager name with package files 2018-03-28 19:53:42 +02:00
Rhys Arkins d9c1521f73 fix: delete blocking branch before attempting create 2018-03-28 16:08:07 +02:00
Rhys Arkins b724a411da feat: Docker Compose support (#1729)
Adds support for renovating Docker Compose files (e.g. `docker-compose.yml`). Functionality is essentially the same as the existing `Dockerfile` capabilities, so config for `docker` is shared with `docker-compose` but may also be overridden.

Merging as disabled by default - will wait for some opt-in testing before turning it on by default.

Closes #832
2018-03-28 15:24:42 +02:00
Rhys Arkins 906c6273c7 fix: raise config errors for package rules missing selectors 2018-03-28 15:13:32 +02:00
Rhys Arkins 1c96ba54b4 chore: fix Warning typo 2018-03-28 13:33:58 +02:00
Rhys Arkins b89f448946 feat: validate packageRule selectors (#1728)
Validates that each packageRule must contain at least one selector. Resolves the rule first to allow for presets.

Closes #1345, Closes #1693
2018-03-28 10:04:07 +02:00
Rhys Arkins 2611b52489 refactor: move extends validation inside list validation 2018-03-28 09:37:19 +02:00
Rhys Arkins 37035480f1 refactor: validate list only if non-empty 2018-03-28 09:36:09 +02:00
Rhys Arkins 797c35edf9 fix: packageRule match anything only if there is a negating config 2018-03-28 09:29:27 +02:00