Commit graph

2653 commits

Author SHA1 Message Date
Rhys Arkins
a09475d219 fix(docker): match https prefix 2019-01-29 19:20:36 +01:00
Rhys Arkins
7f47d45784 fix(gitlab): do extra branchPrefix filter
Closes #3129
2019-01-29 11:55:13 +01:00
Rhys Arkins
0246f6c201 refactor: getPkgReleases 2019-01-28 06:40:37 +01:00
Rhys Arkins
ddb78f637f fix(yarn): use latest yarn by default 2019-01-28 03:54:17 +01:00
TKappatsch
cbb8190755 fix(docker): don't send manifest header when fetching tag list (#3124)
fixes #3078
2019-01-28 03:16:32 +01:00
Lukas Eipert
5aa73a16c9 perf(gitlab): Use gitlab's API to find renovate branches (#3115)
Instead of retrieving all branches and filtering later on, we make use
of GitLab's search: https://docs.gitlab.com/ee/api/branches.html
2019-01-28 02:39:44 +01:00
Rhys Arkins
7be86204ad fix(npm): check for invalid names 2019-01-27 08:40:43 +01:00
Rhys Arkins
73db5416c9 logs: trace npm auth 2019-01-27 07:36:00 +01:00
Rhys Arkins
cbc29acb61 fix(pipenv): map cache dir into artifacts container 2019-01-27 06:52:23 +01:00
Rhys Arkins
db4dc1a3ba fix(bundler): don’t attempt failed lock files generation repeatedly 2019-01-26 15:33:12 +01:00
Rhys Arkins
f5b3fe1a75 fix(bazel): try archive update if download fails 2019-01-26 06:41:16 +01:00
Rhys Arkins
05ce6de1d3 fix(bundler): catch and warn about missing credentials 2019-01-25 14:51:55 +01:00
Rhys Arkins
9d2e70775b refactor: better log allowedVersions problems 2019-01-25 09:10:17 +01:00
Rhys Arkins
e7f8d6f184 fix(npm): retry ECONNRESET 2019-01-25 08:29:26 +01:00
Rhys Arkins
396fb977c3 fix(allowed-versions): fallback to npm semver range syntax 2019-01-25 08:21:28 +01:00
Rhys Arkins
d499cb0cd5 fix(docker): skip sources containing variables 2019-01-25 07:02:13 +01:00
Rhys Arkins
03698c211a refactor: default rollbackPrs=false 2019-01-25 06:36:27 +01:00
Rhys Arkins
79a11e8387 tests: fix coverage 2019-01-25 06:36:07 +01:00
Rhys Arkins
4741ef8f8a refactor: log default padding decrypt 2019-01-24 15:24:46 +01:00
Rhys Arkins
c4f6dbb01c refactor: log regUrl for npm registry errors 2019-01-24 14:37:14 +01:00
Rhys Arkins
bdd6836777 fix: don’t massage encrypted object 2019-01-24 13:41:45 +01:00
Rhys Arkins
d30f0e5790 fix(decrypt): throw error for empty string 2019-01-24 13:41:23 +01:00
Rhys Arkins
91e9514e56 refactor: log masked decrypted token 2019-01-24 13:19:38 +01:00
Rhys Arkins
048fd66124 refactor: log npm auth 2019-01-24 12:59:14 +01:00
Rhys Arkins
10b52cf93b refactor: log lockfileUpdate 2019-01-24 08:46:28 +01:00
Rhys Arkins
d2ee36f0c8 fix: Revert "feat(automerge): merge passing branch even if PR exists (#3097)"
This reverts commit 514d527d7a.
2019-01-24 07:00:45 +01:00
Rhys Arkins
78d6d52a2e feat(pr): support displayFrom / displayTo for PR templating 2019-01-24 06:39:23 +01:00
Rhys Arkins
66062d946e fix(github): handle comment failure 2019-01-24 06:30:17 +01:00
Rhys Arkins
62d92660b2
feat: new 'lockfile-update' rangeStrategy (#3108)
Adds a new `rangeStrategy` value `lockfile-update'. Enabling this means you will get PRs that contain updates for the versions in your lock file (currently npm and yarn only) even if the range in the `package.json` file hasn't changed because the update is "in range".

Closes #1382
2019-01-24 06:23:08 +01:00
Rhys Arkins
e8a487a90f refactor: drop mirrorMode 2019-01-23 00:05:56 +01:00
Rhys Arkins
03d0066de2 refactor(config): move autodiscover to global 2019-01-22 20:05:38 +01:00
Rhys Arkins
c9f175daaa refactor: redact gotOptions 2019-01-22 19:58:30 +01:00
Ilya Savchuk
514d527d7a feat(automerge): merge passing branch even if PR exists (#3097)
Automerge branch even if PR has previously been raised, so long as only one commit exists. This handles the case where an initial update e.g. v1.0.1 fails, causing PR to be raised, but then a v1.0.2 is published which fixes the failure.

Closes #1381
2019-01-22 10:27:14 +01:00
Ilya Savchuk
f6ed2256f7 refactor: changed all VSTS to Azure DevOps (#3022)
Rename all VSTS references to be Azure DevOps.

Closes #2810

BREAKING CHANGE: 'vsts' platform is now renamed to 'azure'
2019-01-22 09:41:06 +01:00
Rhys Arkins
d471ed83f1 feat: deprecate platform tokens (#3067)
Deprecate use of “special” env var like `GITHUB_TOKEN` and instead standardize on `RENOVATE_*` environment variables instead.

Closes #2834

BREAKING CHANGE: For GitHub, GitLab, Bitbucket and VSTS you need to migrate `*_ENDPOINT` to `RENOVATE_ENDPOINT`, `*_TOKEN` to `RENOVATE_TOKEN`, and same for `BITBUCKET_USERNAME` and `BITBUCKET_PASSWORD`.
2019-01-22 09:41:06 +01:00
Rhys Arkins
869225d0df feat(npm): use repository directory from listing
Closes #3096
2019-01-22 07:37:51 +01:00
Rhys Arkins
e578bfff43 fix(automerge): check branch status again before automerge
Catches an edge case where a PR is configured for automerge and a new update comes right before automerge. If branch protection wasn’t configured, Renovate was using a “stale” branch status to think it’s OK to merge. Added an additional check before automerging that should catch it.

Fixes #3099
2019-01-22 06:42:08 +01:00
Rhys Arkins
372bfeb1d0 fix(ruby): skip rubygems compatibility check 2019-01-22 06:07:18 +01:00
Rhys Arkins
74ec520830 feat(ruby): cache versions list 15 minutes 2019-01-22 05:55:39 +01:00
Rhys Arkins
c2f18e47d4 fix(ruby): datasource throw if empty 2019-01-22 05:55:09 +01:00
Rhys Arkins
1408bb4bc0 feat(ruby): ruby-version datasource
Closes #3088
2019-01-21 21:01:49 +01:00
Rhys Arkins
1b5d3399b4 Revert "fix(bundler): compatibility true"
This reverts commit 625fa4744f.
2019-01-21 19:07:44 +01:00
Rhys Arkins
625fa4744f fix(bundler): compatibility true 2019-01-21 18:40:57 +01:00
Rhys Arkins
33b3308df6 refactor: log purl if lookup fails 2019-01-21 16:48:10 +01:00
Rhys Arkins
1ee546b0ea feat(bundler): use ruby and bundler versions to update lock files 2019-01-21 14:50:30 +01:00
Rhys Arkins
d4cff79374 refactor: gitFs stage 2019-01-21 14:48:55 +01:00
Rhys Arkins
1f49fcd523 refactor: compatibility through to branch 2019-01-21 14:13:20 +01:00
Rhys Arkins
8dfca59c04 feat(bundler): extract bundler compatibility from Gemfile.lock 2019-01-21 13:10:58 +01:00
Rhys Arkins
e02ffbdc60 feat(bunder): extract ruby compatibiity version 2019-01-21 13:10:56 +01:00
Rhys Arkins
b212f8d6df feat: packageRules filter on depTypes
Needed for package managers that support more than one depType (e.g. Bundler).

Closes #3076
2019-01-21 05:44:14 +01:00
Rhys Arkins
b8df0f8571 fix(docker): retry 406 repository with library prefix
Closes #3078
2019-01-19 13:43:17 +01:00
Rhys Arkins
b9d19e6738 fix(github): delinkify markdown references
Closes #3082
2019-01-18 10:35:21 +01:00
Sergio Zharinov
d9535e766f refactor: replace fast-xml-parser dependency to xmldoc (#3081) 2019-01-17 18:11:04 +00:00
Rhys Arkins
525fed3069 fix(github): throw if GitHub Pro limitation 2019-01-15 11:15:23 +01:00
Rhys Arkins
2ea047f4eb fix(bundler): ignore .cache 2019-01-15 09:47:23 +01:00
Rhys Arkins
00ff3d6385 tests: fix lint 2019-01-15 09:46:01 +01:00
Rhys Arkins
3a515cd467 fix(logs): don’t debug whole configs 2019-01-15 09:33:24 +01:00
Rhys Arkins
78f0803c76 fix: consider depType when deduplicating updates 2019-01-14 14:55:57 +01:00
Rhys Arkins
ce8090ea33 docs: ruby/bundler alpha 2019-01-14 06:59:15 +01:00
Rhys Arkins
ba77d4a0e7
feat(bundler): extract, update, artifacts (#3058)
This completes the work of adding basic Ruby/Bundler support to Renovate. It will now find all Gemfiles in a repository, extract dependencies from them, look up results on Rubygems, and raise PRs if updates are found.

Closes #932
2019-01-14 06:52:13 +01:00
Rhys Arkins
34c8ebe486 fix(ruby): replace complex ranges 2019-01-13 11:08:11 +01:00
Rhys Arkins
ac63a5097c fix(ruby): isValid for complex ranges 2019-01-13 10:39:48 +01:00
Rhys Arkins
c02323ca5a fix(github): check username after hostRules update 2019-01-13 07:16:57 +01:00
Rhys Arkins
1a610ff3f5 fix(config): don’t require token if in appMode 2019-01-13 06:49:46 +01:00
Rhys Arkins
c7b8e79426 fix(config): don’t set token if dummy token used 2019-01-13 06:41:35 +01:00
Rhys Arkins
76b34ac42e fix(nvm): node versioning, not semver 2019-01-11 10:21:27 +01:00
Rhys Arkins
bd1785558a refactor: appSlug for rebase 2019-01-10 12:40:56 +01:00
Adrien Lemaire
91df5928da fix: add release notes babel-preset-react-app (#3055)
the preset package notes are written in the create-react-app github releases
https://github.com/facebook/create-react-app/releases
2019-01-10 06:35:31 +01:00
Rhys Arkins
37998efb16 fix(gradle-wrapper): don’t insert distributionSha256Sum
Fixes https://github.com/renovatebot/config-help/issues/139
2019-01-10 06:33:37 +01:00
Rhys Arkins
827e9de100 refactor: info not warn for duplicate presets 2019-01-09 22:39:32 +01:00
Fedor Lukyanov
a11bf657e7 feat: rubygems datasource (#3039)
Closes #2981
2019-01-09 22:03:57 +01:00
Rhys Arkins
b7c65cd9c8 chore: gradle beta 2019-01-09 21:17:54 +01:00
Jan Sauer
1fb755c89c feat: gradle-wrapper (#3038)
Adds support for updating the gradle version used in a project via the gradle-wrapper.
See https://docs.gradle.org/current/userguide/gradle_wrapper.html
2019-01-09 12:50:53 +01:00
Rhys Arkins
4bcfd7e50c fix: don’t use got cache 2019-01-08 19:30:40 +01:00
Rhys Arkins
b4cc7f4d0b fix: unpublishSafe docs url 2019-01-08 05:44:56 +01:00
Rhys Arkins
f7f0d8750f feat: togithub.com redirect
Change github redirect links from renovatebot.com/gh/ to togithub.com
2019-01-08 05:44:42 +01:00
Rhys Arkins
983f38b26c chore: alphabetize 2019-01-08 05:04:20 +01:00
Rhys Arkins
b01f7e64ca fix: improve versioning test 2019-01-07 23:56:18 +01:00
Rhys Arkins
3946365430 chore: alphabetical order 2019-01-07 16:55:27 +01:00
Rhys Arkins
e5cd1cd4b0 docs: add versioning readmes 2019-01-07 16:19:15 +01:00
Rhys Arkins
ef0ad09fe7 chore: move cargo comments 2019-01-07 15:00:32 +01:00
Rhys Arkins
bfccc52504 fix: add maven to allowed versionSchemes 2019-01-07 14:32:46 +01:00
FidoX
e046536503 feat: maven datasource (WIP) (#2995)
feat: maven datasource
2019-01-07 10:44:47 +01:00
Rhys Arkins
76b9db414d fix: Revert "feat(github): allow positive PR reviews to override changes requested (#3037)"
This reverts commit 9af3ef2ee1.
2019-01-07 07:37:10 +01:00
Fedor Lukyanov
1a7326efeb refactor: Extract mask token function from npm datasource to utils (#3040)
Helps with https://github.com/renovatebot/renovate/pull/3039 😄
2019-01-07 06:38:24 +01:00
Rhys Arkins
6d09535c9f
feat: split out npm versioning from semver (#3023)
Closes #2069
2019-01-07 05:49:47 +01:00
Fedorets Alex
ef24694dc8 docs: add maven readme (#2999) 2019-01-06 20:44:39 +01:00
rtaum
9af3ef2ee1 feat(github): allow positive PR reviews to override changes requested (#3037)
Closes #3012
2019-01-06 17:56:30 +01:00
Rhys Arkins
55257fff26
feat: centralise app strings (#3032) 2019-01-06 14:47:42 +01:00
Rhys Arkins
e19294e894
feat: centralise config file list (#3031) 2019-01-06 06:03:26 +01:00
Rhys Arkins
a7d1f5a73b refactor: docker datasource registry 2019-01-05 19:27:25 +01:00
Rhys Arkins
c84417ddf1 fix(terraform): extract registry 2019-01-05 18:57:40 +01:00
Rhys Arkins
9202056f1f fix(pipenv): exposeEnv -> trustLevel 2019-01-05 18:42:13 +01:00
Rhys Arkins
c56ebbbffa refactor(docker): massageRegistry 2019-01-05 18:36:52 +01:00
Sergio Zharinov
94491ba0d0 feat: Implement auxiliary functions for maven versioning (#3028) 2019-01-05 17:32:55 +01:00
Rhys Arkins
fe72dc0c19 refactor: packagist registryUrls 2019-01-05 10:47:28 +01:00
Rhys Arkins
4b38793471 refactor: trustLevel 2019-01-05 09:16:32 +01:00
Rhys Arkins
a407d8f767 refactor: use purl for all npm getPkgReleases 2019-01-05 08:24:03 +01:00
Rhys Arkins
3dc82ffa2d refactor: remove retries from npm getPkgDependencies 2019-01-05 08:17:22 +01:00
Rhys Arkins
6f529375e4 refactor: split npm datasource into separate files 2019-01-05 08:01:56 +01:00
Rhys Arkins
56d55fb1dc feat: node versioning
Very basic at first. A slim wrapper around npm semver that normalizes versions.
2019-01-04 12:41:22 +01:00
Rhys Arkins
1c6725f0bd tests: drop github cache test 2019-01-04 12:28:08 +01:00
Rhys Arkins
284f7862a5 tests: drop cache test for docker 2019-01-04 10:56:19 +01:00
Rhys Arkins
9e0cadb754 chore: add maven versioning skeleton 2019-01-04 10:18:47 +01:00
Sergio Zharinov
e9ee0179c5 feat: maven compare functions (#3020)
Adds comparator function, in readiness for full Ruby versioning support later.
2019-01-04 11:11:42 +02:00
Rhys Arkins
65643bae11 tests: fix gitlab datasource test coverage 2019-01-04 09:36:48 +01:00
rtaum
960648abbe feat: Detect GitLab default branch for presets (#3015)
Usually master will be used, but just in case - let's find which branch is default first, before retrieving the file.

Closes #2991
2019-01-04 07:48:12 +02:00
Rhys Arkins
738408b728 refactor: semver-hashicorp -> hashicorp 2019-01-03 08:41:59 +02:00
Rhys Arkins
7fb377ebad refactor: semver-composer -> composer 2019-01-03 08:32:44 +02:00
Rhys Arkins
cfb7a4750f refactor: rename semver-cargo -> cargo 2019-01-03 08:27:08 +02:00
Rhys Arkins
1ddf747eed fix: add ruby versioning to definitions 2019-01-03 08:24:39 +02:00
Nikita Chashchinskii
419692a2f3 feat: semver-cargo versioning (#3002)
This PR adds support for semver-cargo versioning.

Closes #2780
2019-01-03 07:33:22 +02:00
Fedor Lukyanov
e3446bfc0c feat: Ruby semver versioning (#3000) 2019-01-03 07:32:08 +02:00
Fedor Lukyanov
6a2c6cf92e docs: bundler readme (#2980) 2019-01-03 07:29:50 +02:00
Rhys Arkins
67e3825f42 refactor: renovateFork -> includeForks 2018-12-31 07:46:00 +02:00
rtaum
9bee58143f feat(github): Block automerging if negative reviews exist (#3007)
If an automerging PR has negative/disapproving reviews, then do not automerge it until they are approved or dismissed.

Closes #2949
2018-12-28 06:40:48 +02:00
Rhys Arkins
b08b2f17d1 refactor: Revert "fix(docker): remove unnecessary caching"
This reverts commit 8054ee58b3.
2018-12-27 09:10:14 +02:00
Rhys Arkins
4923ef93fb refactor: move version normalization into datasource index 2018-12-27 07:51:26 +02:00
Rhys Arkins
4a19d57c6b
feat: datasource versions filter (#3001)
* add filter and sort to datasource
* remove filter and sort from individual datasources
2018-12-26 09:36:24 +02:00
Rhys Arkins
55875476a8 refactor: sanitize -> normalize 2018-12-26 07:07:01 +02:00
Nikita Chashchinskii
71ee394aba feat: cargo datasource (#2993) 2018-12-26 06:39:38 +02:00
Rhys Arkins
8054ee58b3 fix(docker): remove unnecessary caching 2018-12-25 21:32:09 +02:00
Rhys Arkins
ba0e1ef3eb fix(docker): remove unused suffix matching in datasource 2018-12-25 21:13:37 +02:00
Rhys Arkins
7008bccb56 fix(docker): match whole tag suffix
Closes #2968
2018-12-25 20:59:56 +02:00
Rhys Arkins
9d8239d9cf feat: datasource releases memcache
Adds automatic memcaching of datasource releases results per-repo.
2018-12-25 13:31:51 +02:00
Rhys Arkins
81daa65af9 fix(datasource): trim empty dep urls 2018-12-25 08:02:10 +02:00
Rhys Arkins
e102f8bf69 refactor: separate datasource metadata 2018-12-25 07:57:11 +02:00
Rhys Arkins
5fcece8d79 refactor: purl.fullname.toLowerCase() -> depName 2018-12-25 07:48:21 +02:00
Rhys Arkins
c7df49ff64 refactor: res -> dep 2018-12-25 07:47:51 +02:00
Rhys Arkins
52ccdd71bc refactor: better log purl parse failures 2018-12-25 07:46:35 +02:00
Sarun Intaralawan
0fffecb636 fix(gitlab): close and reopen MR while rebasing to prevent errorneous GitLab CI message (#2994) 2018-12-25 06:54:15 +02:00
Rhys Arkins
fd5787023a refactor: move datasource files 2018-12-24 15:18:48 +02:00
Rhys Arkins
10d0f58c88 fix(gitFs): allow admin renovateFork override 2018-12-23 08:47:22 +02:00
Rhys Arkins
5b43931aab fix(gitFs): use sha for non-master branches 2018-12-23 08:46:09 +02:00
rtaum
0a8264612d feat: Add gitlab preset (#2984) 2018-12-21 20:28:26 +02:00
Rhys Arkins
e0d7784ddb fix: issue pagination/filtering 2018-12-19 15:31:20 +01:00
Rhys Arkins
820a8a8ab5 fix: reenable deprecation warning issues 2018-12-19 06:28:39 +01:00
Rhys Arkins
d5a82a16f4 fix(github): don’t aggressively close issues once 2018-12-19 06:28:12 +01:00
Rhys Arkins
08b7752027 feat(github): ensure issue once 2018-12-19 06:05:43 +01:00
Nebukadneza
a519916763 fix: got needs url parsed for basic-auth in url (#2972)
When including basic-auth information in the URL, such as
`https://user:pass@my.pypi.repo.xx/repo`, `got` needs this url-parsed to
not throw an error. Since this is common with requirement.txts and
Pipfiles, let’s support this.

Closes #2971
2018-12-19 05:55:42 +01:00
Rhys Arkins
4356d4c7d5 fix: recreateClosed if grouping multiple digests
Closes #2974
2018-12-18 22:22:19 +01:00
Vishal Shah
32a58af33c fix(proxy): remove setting proxy-agent as globalAgent - #2966 (#2975) 2018-12-18 20:09:22 +01:00
Jan Sauer
ca8eafcfbc feat: Add new ansible manager (#2947)
Updates docker dependencies in ansible playbooks.

- https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout
- https://docs.ansible.com/ansible/2.5/modules/docker_container_module.html
- https://docs.ansible.com/ansible/latest/modules/docker_service_module.html
2018-12-18 11:18:27 +01:00
Rhys Arkins
7e7abb60e1 tests: fix renovate user tests 2018-12-17 15:08:43 +01:00
Rhys Arkins
99faf6fe0d feat(github): detect/print Renovate user 2018-12-17 12:52:06 +01:00
Rhys Arkins
861cce0123 feat: detect/print renovate version 2018-12-17 12:43:15 +01:00
Rhys Arkins
0ccbb9e7a6 fix(orb): add cypress source URL 2018-12-17 07:30:39 +01:00
Rhys Arkins
f0220e8bd1 fix: disable deprecationWarningIssues 2018-12-16 18:45:44 +01:00
Rhys Arkins
d2e8c875bd fix: suppressNotifications mergeable 2018-12-16 18:45:32 +01:00
Rhys Arkins
4cf202d5b9 fix(github): paginate issues 2018-12-16 18:45:11 +01:00