Commit graph

2582 commits

Author SHA1 Message Date
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