Commit graph

3299 commits

Author SHA1 Message Date
Michael Kriese
b1df50851a feat(azure): convert to typescript (#3967) 2019-06-27 10:40:27 +03:00
Rhys Arkins
32009378de fix(npm): full npm install if deduping
Closes #3972
2019-06-27 10:39:03 +03:00
Rohan Singh
335014bf1a fix(bazel): use docker version scheme for container_pull (#3948) 2019-06-24 19:49:23 +03:00
Sergio Zharinov
acd318a1d9 feat(swift): Support for Package.swift files (#3911) 2019-06-24 19:43:48 +03:00
Michael Kriese
1d6880b1a6 fix(bitbucket-server): store pr versions (#3957) 2019-06-24 19:28:24 +03:00
Rhys Arkins
4f627520a1 fix: don’t lowercase emoji semantic commits
Closes #3959
2019-06-24 19:14:16 +03:00
Michael Kriese
5a2eb752e0 fix(got): repoCache was not updated (#3958) 2019-06-24 13:17:02 +03:00
Rhys Arkins
1ccb45601e refactor(package-rules): split logic into separate function and return earlier 2019-06-21 22:04:42 +02:00
Rhys Arkins
bc853ad309 fix(package-rules): check compareVersion is a version first
Closes #3952
2019-06-21 21:45:34 +02:00
Michael Kriese
bc0198e047 fix(bitbucket-server): delay pr refresh (#3950)
fix(bitbucket-server): delay pr refresh
2019-06-21 10:27:37 +02:00
Rhys Arkins
df34ddc528 refactor(bazel): use hasha instead of crypto 2019-06-21 08:26:20 +02:00
Rhys Arkins
86a9f7f5ae test: simplify bazel update tests 2019-06-21 08:09:42 +02:00
Rhys Arkins
e13a223f18 fix(got): don’t cache streams 2019-06-21 07:59:25 +02:00
Rhys Arkins
c1f46ff4a8 fix(pip_requirements): handle complex index-url
Closes #3944
2019-06-20 10:25:17 +02:00
Rhys Arkins
deaa028149 fix(pip_requirements): registryUrls on res, not per-dep 2019-06-20 10:20:27 +02:00
Rhys Arkins
5cb0f3fff7 logs: don’t log entire err for preset failure 2019-06-19 16:21:12 +02:00
Rhys Arkins
941d6f14aa fix(gitFs): catch Could not write new index file error 2019-06-19 16:21:11 +02:00
Michael Kriese
2c3777001f fix(bitbucket-server): do not throw on merge failure (#3943) 2019-06-19 15:14:39 +02:00
Rhys Arkins
dd4eccf618 fix(presets): pass platform-failure up 2019-06-19 11:42:10 +02:00
Matouš Dzivjak
aa70cac628 fix(dockerfile): renovate Dockerfiles with suffix by default (#3941)
Signed-off-by: Matous Dzivjak <matous.dzivjak@kiwi.com>
2019-06-18 15:16:16 +02:00
Rhys Arkins
2142007737 fix(bazel): better match replace string
Closes #3902
2019-06-17 20:48:01 +02:00
Rhys Arkins
522ecc3928 fix(bazel): correct replace newValue with leading v 2019-06-17 20:37:46 +02:00
Rhys Arkins
bad3fdcce8 fix(bazel): correct git tag sha
Closes #3938
2019-06-17 18:36:21 +02:00
Rhys Arkins
27746996f6 fix: restore gitAuthor to config to allow use in templating
Closes https://github.com/renovatebot/config-help/issues/275
2019-06-17 15:50:02 +02:00
Rhys Arkins
58f6498cc4 fix(github): don’t dump request stats 2019-06-17 08:31:36 +02:00
Rhys Arkins
154a8ddc2e feat(github): rest fallback for GHE issue retrieval
Falls back to REST api for issues retrieval if GHE version is < 2.17.0
2019-06-15 10:03:46 +02:00
Rhys Arkins
01548e2348 fix: remove PR edited if master issue checked 2019-06-15 08:54:24 +02:00
Rhys Arkins
fd954f09c8 fix(composer): defensive versioning 2019-06-15 08:53:56 +02:00
Rhys Arkins
9c63ac033d fix(package-rules): check currentValue before isVersion 2019-06-15 08:53:19 +02:00
Rhys Arkins
e94f85f636 fix(github): allow override of endpoint in initRepo 2019-06-14 11:54:36 +02:00
Rhys Arkins
81eb175001 fix(validation): support validating json5 pull requests
Closes #3931
2019-06-13 13:25:45 +02:00
Rhys Arkins
68a9a26ed9 fix(presets): log err when not found 2019-06-13 11:08:30 +02:00
Rhys Arkins
4ea03ac0b4 feat(gitlab): detect gitAuthor as part of initPlatform
GitLab self-hosted users now no longer need to manually configure gitAuthor if it matches with the bot account they’re using.
2019-06-13 07:25:39 +02:00
Rhys Arkins
df0d79f7de fix(gitlab): skip mirrored repositories 2019-06-13 06:05:58 +02:00
Rhys Arkins
388c6010d2
test: fix circleci tests (#3927) 2019-06-12 23:05:35 +02:00
Rhys Arkins
73af6f7f3c refactor: for/of 2019-06-12 22:43:33 +02:00
Rhys Arkins
abe9464779 fix(gitFs): catch platform failures on each try/catch 2019-06-12 22:25:31 +02:00
Rhys Arkins
ec46ec6a4a fix(gitFs): catch more git errors 2019-06-12 16:14:44 +02:00
Rhys Arkins
5fc475e2b1 fix(gitFs): looser git error check 2019-06-12 11:44:45 +02:00
Rhys Arkins
4a71b5bad6 fix(gitFs): rewrite git 5xx errors to platform-failure 2019-06-12 10:49:21 +02:00
Rhys Arkins
5f59a0b5a8
feat(composer): support lock file maintenance (#3912) 2019-06-11 15:06:29 +02:00
Rhys Arkins
b110cc0204 test: fix coverage 2019-06-11 12:33:12 +02:00
Rhys Arkins
9a4f2b9eb7 fix(lock-file-maintenance): PR body Changes text 2019-06-11 12:29:14 +02:00
jgarec
3f4e464e2b feat(cli): enable onboarding-config cli option (#3910) 2019-06-11 06:19:05 +02:00
Matt R. Wilson
9212a876fc feat(schedule): Support scheduling by weeks of year. (#3914)
Fixes #3879.
2019-06-11 06:17:12 +02:00
Sergio Zharinov
4ce426560c fix(sbt): Fix sbt plugin fetching from maven repos (#3909) 2019-06-10 17:48:26 +02:00
Sergio Zharinov
f845fe4d4f feat(git): Create datasource that fetches tag versions directly from git (#3890) 2019-06-10 07:43:44 +02:00
Rhys Arkins
c911a2dfaf refactor: getArtifacts -> updateArtifacts 2019-06-09 08:18:41 +02:00
Rhys Arkins
da4818c900 fix(bundler): syntax error when using global bundler
When running global bundler, a mistaken additional `”` caused the command to fail.

Fixes #3860
2019-06-08 10:50:01 +02:00
renovate[bot]
dab7b1c314 chore(deps): update dependency prettier to v1.18.0 (#3905) 2019-06-07 06:34:57 +02:00
Rhys Arkins
bdd2c056a2 fix(github): handle EAI_AGAIN 2019-06-06 18:57:08 +02:00
Markus Heberling
c830f45484 feat(gitlab): use repository URL from API (#3900)
This allows to access gitlab servers running with a relative url root
* https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-a-relative-url-for-gitlab
2019-06-06 17:06:04 +02:00
Rhys Arkins
a7e1115237 fix: redact private header 2019-06-06 17:01:26 +02:00
Rhys Arkins
08ea666bd5 fix(gitlab): log initRepo err 2019-06-05 18:45:40 +02:00
Rhys Arkins
7c96842d92 fix(npm): don’t name PR after @types when grouped
Closes #3887
2019-06-05 11:16:13 +02:00
Rhys Arkins
c6d61bf0b3 fix(gitlab): platform-error if ECONNRESET 2019-06-05 11:14:06 +02:00
Rhys Arkins
f6f7db8d6c fix(gitlab): throw platform-failure if 5xx 2019-06-05 10:13:00 +02:00
Rhys Arkins
6a11d5f59b
fix(npm): use registry url in cache key (#3889) 2019-06-04 20:38:30 +02:00
Rhys Arkins
5ca5a124fa
feat(pipenv): support index registry urls (#3885)
Closes #3865
2019-06-04 14:08:37 +02:00
Sergio Zharinov
edec4ad307 fix(maven): Fix comparing versions with leading zero (#3884) 2019-06-04 10:35:28 +02:00
Rhys Arkins
6c6e584d33 fix(bitbucket): options override defaults
Closes #3883
2019-06-04 08:41:37 +02:00
Rhys Arkins
d5af20fb64 fix: don’t except pin schedules
Closes #3867
2019-06-04 08:38:23 +02:00
Rhys Arkins
09a8ba311d test: fix lint warnings 2019-06-04 04:25:15 +02:00
Rhys Arkins
5edbe981b7 fix(github): use err.body.message 2019-06-04 04:10:22 +02:00
Rhys Arkins
c20db3eea8 fix(github): platform-failure 2019-06-04 04:03:46 +02:00
Rhys Arkins
14c3e7e9e4 fix(lerna): detect undeclared npmClient=yarn 2019-06-03 22:24:40 +02:00
Gord Lea
25f9401987 fix(docker): Fixes issue with private docker registry on amazon s3 (#3878) 2019-06-03 22:05:16 +02:00
Rhys Arkins
9219d34521
fix(yarn): run yarn again after dedupe (#3871) 2019-06-03 10:05:56 +02:00
Rhys Arkins
6c5687ba96
feat: commitBodyTable (#3868)
Adds a table to the commit message body listing all the updates in a commit. Disabled by default for now, so opt in by setting commitBodyTable=true
2019-06-02 10:50:35 +02:00
hesstobi
cfaa334236 fix(pypi): missing await (#3863) 2019-06-01 19:30:07 +02:00
Rhys Arkins
53dfe77aa4 fix(github): handle 451 errors 2019-06-01 11:39:03 +02:00
Rhys Arkins
8fd03d7ae8 feat(pr): better default PR body columns
Drops References column and embeds links in Package column.

Closes #3855
2019-06-01 11:20:38 +02:00
Rhys Arkins
4424c52342 fix: remove double colons on semantic prefix 2019-06-01 10:32:17 +02:00
Rhys Arkins
9916c51ad1 fix(npm): escape dep name in diff link 2019-06-01 08:55:52 +02:00
Rhys Arkins
389ceed9a9 fix(npm): diff links via renovatebot.com 2019-06-01 08:38:14 +02:00
Rhys Arkins
fe41748e7b
feat(pr): simpler displayFrom/displayTo logic (#3853) 2019-06-01 08:23:18 +02:00
Rhys Arkins
7878cd4e02 fix(maven): ECONNRESET 2019-06-01 06:49:47 +02:00
Rhys Arkins
b41fc76127 fix(github): detect pull request already exists error 2019-06-01 06:27:12 +02:00
Rhys Arkins
74b8a0d3fd fix(github): better comment failure detection 2019-06-01 06:26:31 +02:00
Rhys Arkins
ccb5f105ae fix(github): better detect disabled issues 2019-06-01 05:58:52 +02:00
Rhys Arkins
5763eaa3ed refactor: don’t warn for maven ECONNREFUSED 2019-06-01 05:49:38 +02:00
Rhys Arkins
cc8e40265b fix(bazel): cast file to Buffer before calculating sha256 2019-06-01 05:31:25 +02:00
Rhys Arkins
c498e0858d fix(github): restructure git init auth 2019-05-31 10:40:11 +02:00
Rhys Arkins
6c8afb6a46 fix(github): findIssue should throw if error 2019-05-31 02:22:43 +02:00
Rhys Arkins
7e21110d26 fix(github): throw error if unable to retrieve issues 2019-05-31 02:22:43 +02:00
Rhys Arkins
bdd37fd50d refactor: platform hostRule hostName not baseUrl 2019-05-31 02:22:43 +02:00
Rhys Arkins
ae507b7f11 fix(github): massage graphql baseUrl, not path 2019-05-31 02:22:43 +02:00
Rhys Arkins
2243b54f60 Revert "fix: Revert "feat(github): use graphql instead of rest api for issue list (#3808)""
This reverts commit dc194219d9.
2019-05-31 02:22:43 +02:00
Sergio Zharinov
a91e3d39f3 feat(sbt): Add Scala (sbt) datasource (#3835) 2019-05-31 01:39:07 +02:00
Rhys Arkins
246d1664df logs: trace prRebase 2019-05-30 18:16:04 +02:00
Rhys Arkins
dc194219d9 fix: Revert "feat(github): use graphql instead of rest api for issue list (#3808)"
This reverts commit 8a19ee2bf6.
2019-05-30 16:30:16 +02:00
Rhys Arkins
65c67648aa fix: suppress 'deprecationWarningIssues' 2019-05-30 16:12:27 +02:00
Rhys Arkins
a576a6f1cd fix(github): debug canRebase 2019-05-30 15:54:09 +02:00
Rhys Arkins
d6414ced16 fix(github): don’t skip graphql for closed PR list 2019-05-30 10:28:53 +02:00
Rhys Arkins
1ed047cd3b fix: pin dependencies groupSlug 2019-05-30 07:49:35 +02:00
Michael Kriese
cd0a3bd675 feat(gitlab): convert to typescript (#3824) 2019-05-29 14:00:56 +02:00
Ciprian Mandache
8a19ee2bf6 feat(github): use graphql instead of rest api for issue list (#3808) 2019-05-28 14:17:09 +02:00
Sergio Zharinov
d293fb72fb fix(sbt): Skip deps using missing Scala versions (#3828) 2019-05-28 14:06:05 +02:00
Michael Kriese
0b063aeaa1 feat(build): use babel (#3825) 2019-05-28 11:21:17 +02:00
Rhys Arkins
4a854e6c2c fix(logs): serialize migratedConfig, originalConfig, presetConfig 2019-05-27 10:53:40 +02:00
Rhys Arkins
73f953ca94 refactor(gitlab): use util/got/auth 2019-05-27 09:29:22 +02:00
Rhys Arkins
7a1703372b refactor(github): better retry logic 2019-05-27 09:07:52 +02:00
Rhys Arkins
e16487b824 fix(github): don’t unnecessarily retry 2019-05-27 08:57:40 +02:00
Rhys Arkins
d4a00b7a4d fix(github): use token not Bearer 2019-05-27 08:03:43 +02:00
Rhys Arkins
4b907eb70d
refactor(github): use util/got (#3816) 2019-05-27 07:39:01 +02:00
Rhys Arkins
35f1f83371 chore: fix lint 2019-05-26 21:37:27 +02:00
Rhys Arkins
5d4e66144c fix(github): useCache 2019-05-26 21:17:00 +02:00
Rhys Arkins
ec301b1c48
refactor(bitbucket-server): use util/got (#3815) 2019-05-26 20:51:27 +02:00
Rhys Arkins
02b5f2e4be
refactor(gitlab): use util/got (#3814) 2019-05-26 19:05:05 +02:00
Rhys Arkins
e0766fa5ee
refactor: bitbucket got (#3813) 2019-05-26 11:25:24 +02:00
Rhys Arkins
aa38e6af4f
feat: host stats (#3812)
Collects latency stats for hosts and dumps them at the end of each run.
2019-05-26 09:33:09 +02:00
Rhys Arkins
289275031b refactor: drop unnecessary got timeouts 2019-05-25 22:50:10 +02:00
Rhys Arkins
b96c03a7aa refactor: move manager updates to util/got 2019-05-25 22:48:33 +02:00
Rhys Arkins
b8cb3f53ca refactor: npm datasource use custom got 2019-05-25 20:18:27 +02:00
Rhys Arkins
84cd62349f chore: downgrade got debugging to trace
# Conflicts:
#	lib/util/got/host-rules.js
2019-05-25 20:12:40 +02:00
Rhys Arkins
490e0689a7 refactor(host-rules): cleaner got processing 2019-05-25 20:09:16 +02:00
Rhys Arkins
11c77d07f6 fix(host-rules): massage timeout properly 2019-05-25 19:57:25 +02:00
Rhys Arkins
06cb50cf10 fix: Revert "fix: Revert "feat(host-rules): configurable timeout""
This reverts commit e3937fa89a.
2019-05-25 19:48:05 +02:00
Rhys Arkins
e3937fa89a fix: Revert "feat(host-rules): configurable timeout"
This reverts commit c9bfccfd9c.
2019-05-25 19:33:13 +02:00
Rhys Arkins
c9bfccfd9c feat(host-rules): configurable timeout
Closes #3640
2019-05-25 17:36:46 +02:00
Rhys Arkins
bc076c37a0 feat: convert token to bearer auth automatically 2019-05-25 17:17:22 +02:00
Rhys Arkins
092bdf1684 fix(docker): delete username/password before sending 2019-05-25 10:09:54 +02:00
Rhys Arkins
c5a015df65 refactor: Authorization -> authorization 2019-05-25 10:09:30 +02:00
Rhys Arkins
7a4f12777a refactor(host-rules): simplify auth 2019-05-25 08:27:14 +02:00
Rhys Arkins
57f49a2fb7 fix(packagist): check for opts.auth 2019-05-25 08:19:35 +02:00
Rhys Arkins
47edd88755
refactor(bitbucket): simplify auth (#3810) 2019-05-25 08:13:55 +02:00
Rhys Arkins
5b0ef9409f refactor: bitbucket useCache 2019-05-25 07:58:57 +02:00
Rhys Arkins
cc10917666
refactor: packagist auth (#3809) 2019-05-25 07:57:27 +02:00
Rhys Arkins
d550d554c7 fix(host-rule): always return an object 2019-05-25 07:52:02 +02:00
Rhys Arkins
8d7841f040 fix(changelog): use endpoint, not config.endpoint 2019-05-25 07:07:48 +02:00
Rhys Arkins
14363a9388 test: fix pip_setup coverage 2019-05-25 07:07:16 +02:00
Rhys Arkins
42becebf23 fix: migrate gitFs on CLI and bot config 2019-05-25 06:59:46 +02:00
Rhys Arkins
439e19d78c
chore: remove all gitFs references (#3807) 2019-05-25 06:23:44 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite (#3801)
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`

Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Rhys Arkins
2426a5239f
feat(github): use git for all file operations (#3806)
With Renovate’s github platform code now using git for all file system operations, we need to tell Renovate which gitAuthor to use.

If you had already configured a gitAuthor in your bot config, you do not need to make any change.

Otherwise, to keep functionality as before, you should either:
(1) configure `gitAuthor` to match the bot’s account, or
(2) recreate your bot’s personal access token to include the “user:email” permission so that the bot can retrieve the email itself

BREAKING CHANGE: GitHub bot admins should either configure gitAuthor in their config or generate a new token with “user:email” permissions.
2019-05-24 16:34:52 +02:00
Michael Kriese
5f213255d0 test: fix coverage (#3794) 2019-05-24 15:01:07 +02:00
Rhys Arkins
b53c4c09cb Revert "feat(github): gitFs-only (#3736)"
This reverts commit acb493be95.
2019-05-24 12:08:55 +02:00
Rhys Arkins
acb493be95
feat(github): gitFs-only (#3736)
The github platform code will now use git "under the hood" instead of plucking files one by one from GitHub's API.
2019-05-24 11:50:11 +02:00
Sergio Zharinov
bda25d6ca7 feat(clojure): Add basic support for Leiningen and deps.edn (#3685) 2019-05-24 07:29:26 +02:00
Michael Kriese
1f8e9d86e6 fix(packagist): default hostRule (#3793)
fix(packagist): default hostRule
2019-05-21 21:11:10 +02:00
Rhys Arkins
d501790965
fix(docker): default hostRule (#3792) 2019-05-21 20:56:09 +02:00
Rhys Arkins
1f6d18fcd6 fix(github): use defaults.endpoint
Closes #3787
2019-05-21 17:16:27 +02:00
Rhys Arkins
87f2b04f4e
feat(host-rules): remove overrides option (#3785) 2019-05-21 15:12:53 +02:00
Rhys Arkins
c02abf0976
feat: rename hostRules.platform to hostRules.hostType (#3768)
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Michael Kriese
0ecc16baf0 chore(build): fix linting (#3769) 2019-05-21 11:15:50 +02:00
Michael Kriese
314889031e feat(bitbucket): convert to typescript (#3767) 2019-05-21 10:34:28 +02:00
Rhys Arkins
3b69de91e1 chore: remove debugger statements 2019-05-21 09:57:57 +02:00
Rhys Arkins
73a2b42ac2 fix: clear and apply hostRules before each repo 2019-05-21 08:45:30 +02:00
Ciprian Mandache
05ec931f36 fix: remove checkbox hints + checkbox formatting for bitbucket via readOnlyIssueBody() transformer (#3765) 2019-05-21 08:21:44 +02:00
Rhys Arkins
dbb1332a04 fix(npm): ignoreNpmrcFile until artifact generation 2019-05-20 23:37:43 +02:00