Commit Graph

3688 Commits

Author SHA1 Message Date
Rhys Arkins da06af8489 logs: log finish 2018-04-18 06:31:55 +02:00
Rhys Arkins 4bec798521 fix: lower case only if the commitType has no uppercase 2018-04-17 14:28:04 +02:00
Rhys Arkins 8fc005b15e fix: group based on commitMessageExtra 2018-04-17 11:47:22 +02:00
Rhys Arkins 96d8eb321d refactor: print branchName when pr title changes 2018-04-17 10:25:48 +02:00
Rhys Arkins f042c8dbe0 fix: keep version in commitMessage/prTitle when grouping with types 2018-04-17 10:06:02 +02:00
Rhys Arkins 13484c6f98 fix: skip validating bot config to avoid unnecessary deprecation warnings 2018-04-17 09:23:41 +02:00
Rhys Arkins 9753f9dcba feat: modular branchName/prTitle/commitMessage templating (#1760)
This PR refactors `branchName`, `commitMessage` and `prTitle` so that they are more easily editable and hopefully more understandable. By breaking each up into subsections, users can modify one part without needing to copy/paste the entire string.

Directly editing any of these fields will now be deprecated and a warning issued.
2018-04-17 08:39:26 +02:00
Rhys Arkins 8352d7e661 logs: info message for pr title change 2018-04-17 08:29:25 +02:00
Rhys Arkins c90f2252a2 fix: don't check packageRules selector for default config
Closes #1829
2018-04-12 18:47:14 +02: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 bb9eae28b1 logs: lower rule debug to trace 2018-04-11 21:04:31 +02:00
Rhys Arkins f634812636 logs: improve merge status/result debug 2018-04-11 09:39:35 +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 523b02fbc8 refactor: npm and semver (#1817) 2018-04-10 05:20:46 +02: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 a81da6edf7 refactor: simplify packageRules var names 2018-04-09 06:21:15 +02:00
Ayoub Kaanich eb3c55b125 refactor: set token in config before renovation 2018-04-09 06:08:43 +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
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
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
Rhys Arkins 394bc931bd refactor: simply global mergeconfig 2018-04-04 13:47:56 +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
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 d9bfa0cd28 fix: await platform.ensureIssueClosing 2018-04-02 18:47:04 +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 ffbf332a32 fix: prune past latest versions earlier 2018-03-30 09:38:17 +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 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 797c35edf9 fix: packageRule match anything only if there is a negating config 2018-03-28 09:29:27 +02:00
Rhys Arkins 39aa1fdf64 fix: pass through migratedConfig warnings 2018-03-28 09:24:54 +02:00
Steven Hargrove 6b67ffa5ff fix: enforce valid git branch names (#1725)
Adds proper enforcement of branch name rules.

Fixes #1724
2018-03-28 05:18:42 +02:00
Rhys Arkins 9ab4e55bc5 chore: reduce logger.debug volume 2018-03-27 21:57:02 +02:00
Rhys Arkins ccf0d4ad3d fix ensure pr error ordering 2018-03-27 17:44:05 +02:00
Rhys Arkins 08f1739e15 fix: ignore npmrc in repository if user has configured one manually 2018-03-27 16:22:26 +02:00
Rhys Arkins 7379d7d1da logs: downgrade resolved config to trace 2018-03-27 15:37:09 +02:00
Rhys Arkins 223722ad4c fix: pass rate limit exceeded errors up from ensurePr 2018-03-27 15:33:05 +02:00
Rhys Arkins e03c2c267f fix: add commit signing to onboarding PR 2018-03-27 06:22:58 +02:00
Rhys Arkins 259312bb97 fix: catch Host key verification error for all lock file types 2018-03-26 13:19:06 +02:00
Rhys Arkins d5c8c300d6 fix: sklp branch creation for “Host key verification failed” install error 2018-03-26 11:21:06 +02:00
Rhys Arkins 02da88e350 fix(pr validation): skip branch status when it’s a fork 2018-03-26 07:11:11 +02:00
Rhys Arkins a9b99e779a fix: write npmrc for lerna subdirs too 2018-03-25 22:53:45 +02:00