Commit Graph

137 Commits

Author SHA1 Message Date
Rhys Arkins 45dc236e40 fix: log request options with when errored 2018-05-03 19:18:53 +02:00
Rhys Arkins 6415833a4b refactor: renovateapp.com -> renovatebot.com 2018-04-24 13:59:42 +02:00
Rhys Arkins 6eb5fe787b fix: typo in large file tree url 2018-04-19 09:09:27 +02:00
Rhys Arkins 1564150d9f refactor: streamline debug logging 2018-04-18 21:19:00 +02:00
renovate[bot] 106375295e chore: update dependency prettier to v1.12.1 (#1841) 2018-04-17 08:29:55 +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
Ayoub Kaanich ec7f75cfe9 refactor: use delay for gh-got wrapper 2018-04-09 06:07:48 +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 96275379a7 logs: Autodiscovering 2018-04-04 13:38:06 +02:00
Rhys Arkins c78da83798 logs: debug log fileList length when retrieving 2018-04-04 07:18:01 +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 61e4de2745 fix: check that result body is an array for getIssueList() 2018-04-02 18:46:45 +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 6eea2e63d3 logs: info only if issues are disabled 2018-03-29 14:16:39 +02:00
Rhys Arkins d9c1521f73 fix: delete blocking branch before attempting create 2018-03-28 16:08:07 +02:00
Rhys Arkins 171cdf372b fix: add option for unlimited pagination
Set env variable RENOVATE_PAGINATE_ALL to disable Renovate’s regular limiting of 1000 results (unlimited results will be returned).
2018-03-28 06:04:44 +02:00
Rhys Arkins 9ab4e55bc5 chore: reduce logger.debug volume 2018-03-27 21:57:02 +02:00
Rhys Arkins 4c3581caf0 fix: prune “renovate” branch if branchPrefix is “renovate/“
Otherwise it blocks us from branch creation
2018-03-26 12:10:00 +02:00
Rhys Arkins ddca468cc7 fix: github branch warm 2018-03-25 21:25:02 +02:00
Rhys Arkins cc180018be fix: fetch branch commit early
Fetches the base branch commit SHA during initRepo so that it can be cached. This should prevent us creating branches off a commit later than the one we fetched files for.

Fixes #1712
2018-03-24 06:33:05 +01:00
Rhys Arkins 445cdbe3eb fix: loosen branch delete not exist check 2018-03-22 12:20:07 +01:00
Rhys Arkins 0462f91e7a fix: expand github errors for better debugging
Try to get message and body in all errors we log
2018-03-22 09:51:19 +01:00
Rhys Arkins 363a2cc2e5 fix: abort renovation if rate limit exceeded (github) 2018-03-22 09:26:20 +01:00
Rhys Arkins 967529104d fix: add try/catch to branch delete (github) 2018-03-21 13:46:58 +01:00
Rhys Arkins 2ba360f6b3 chore: add sourceRepo to prList (github) 2018-03-21 09:14:48 +01:00
Rhys Arkins 60c997f180 chore: refactor delete to null 2018-03-21 09:10:53 +01:00
Rhys Arkins d5903b720f chore: fix prettier 2018-03-18 10:05:47 +01:00
Rhys Arkins b8105c2e9d fix: encodeURI filePath in getFile (github) 2018-03-18 08:42:04 +01:00
Rhys Arkins f70c1fe749 fix: move mirrorMode branch creation into initRepo 2018-03-18 07:04:56 +01:00
Rhys Arkins 4121350eaa fix: use renovate-config as onboarding base branch for mirror mode 2018-03-18 06:46:01 +01:00
Rhys Arkins 159a0efc90 fix: retrieve baseCommitSha before comparing in mirrorMode 2018-03-17 07:16:56 +01:00
Rhys Arkins ef26fdb3fe fix: mirrorMode fork patching
When in mirrorMode, Renovate should keep its fork up to date
2018-03-17 06:37:42 +01:00
Rhys Arkins c2f0a46d9a feat: npm shrinkwrap
Adds support for npm-shrinkwrap.json files.

Closes #67
2018-03-08 09:46:08 +01:00
Rhys Arkins a186a4b091 chore: downgrade PR log to debug 2018-03-06 19:31:02 +01:00
Rhys Arkins 453ce13278 fix: Revert "refactor: array concatenation (#1601)"
This reverts commit dd26a018c5.
2018-03-06 15:54:39 +01:00
AndreiMargineanu dd26a018c5 refactor: array concatenation (#1601)
Refactors all instances of .concat() to use array spread operators instead

Closes #1459
2018-03-06 12:34:39 +01:00
Rhys Arkins 4104e81005 Revert "chore: remove unused getPrFiles functions"
This reverts commit d5984a3cad.
2018-03-06 12:18:35 +01:00
Rhys Arkins d5984a3cad chore: remove unused getPrFiles functions 2018-03-05 15:50:34 +01:00
Rhys Arkins e47766c0f4 fix: add try/catch to getAllRenovateBranches 2018-03-01 21:17:41 +01:00
Rhys Arkins 4f642d5a95 fix: optimise getAllRenovateBrnahces
Supply prefix in query and paginate.
2018-03-01 21:15:17 +01:00
Rhys Arkins d0fa221ae3 fix: only rebase if pr is dirty (github) 2018-02-27 19:50:16 +01:00
Rhys Arkins 11c3ce7674 refactor: skip logging lock files when commit files 2018-02-21 08:28:02 +01:00
Rhys Arkins d258c3849e refactor: log files if commit files to branch fails 2018-02-21 06:52:56 +01:00
Rhys Arkins 8463be0266 fix: return branchName field when creating pr 2018-02-19 21:30:33 +01:00
Rhys Arkins c949778ab7 fix: harmonize to pr.branchName 2018-02-19 20:01:10 +01:00
Rhys Arkins 9872096948 fix: log request headers when failing to create branch 2018-02-19 07:11:28 +01:00