Commit graph

2739 commits

Author SHA1 Message Date
Michael Kriese
29ccbf4512 feat(bitbucket-server): reviewers (#3230) 2019-02-18 14:11:44 +00:00
Rhys Arkins
de6b1c4566 refactor(github): log err with file list error 2019-02-18 13:22:01 +01:00
Michael Kriese
bb15977e39 fix(gitFs): set explicit remote branch (#3229)
This pr fixes the windows specific git bug by setting the remove branch name explicitly when pushing.

Closes #3204
2019-02-18 11:52:10 +00:00
Rhys Arkins
20a53ba7be fix(pip_setup): suppress imp deprecation warning
Closes #3174
2019-02-18 12:20:55 +01:00
Rhys Arkins
eb782e12f9 refactor(pip_setup): add try/catch and log error 2019-02-18 11:24:25 +01:00
Rhys Arkins
5b0f801eec fix(bitbucket-server): catch empty pull requests 2019-02-18 10:39:55 +01:00
Rhys Arkins
48bd25dbda fix(bitbucket-server): pr check after deleting branch
Closes #3228
2019-02-18 10:36:03 +01:00
Rhys Arkins
9f3bc53e1c logs: better gitFs branch deletion debug 2019-02-18 10:35:36 +01:00
Rhys Arkins
36f2e0acd9 fix(lockFileMaintenance): don’t delete conflicted PRs
Closes #3018
2019-02-16 11:50:59 +01:00
Rhys Arkins
910ce2076a fix(pr): rebase checkbox detection when PR edited
Closes #3221
2019-02-16 11:41:43 +01:00
Rhys Arkins
268c86b0ff fix(gitlab): err.message typo 2019-02-15 10:39:40 +00:00
Rhys Arkins
8b761f5a6d fix(gradle): throw registry failure if lookup fails 2019-02-15 10:39:16 +00:00
Rhys Arkins
ff6115fb15 fix(npm): add back line return when massaging npmrc 2019-02-14 11:01:07 -05:00
Christian Murphy
7b16533c4d docs: add readme for python poetry package manager (#3195) 2019-02-14 06:31:43 -05:00
Rhys Arkins
67b29f8a2c fix: copy dockerRegistry and dockerRepository
Closes https://github.com/renovatebot/config-help/issues/151
2019-02-14 06:05:08 -05:00
Yuki MIZUNO
123bdd4572 fix: ignore delete label if dry-run (#3211) 2019-02-14 04:43:16 -05:00
Rhys Arkins
703fa52d6c fix: bad-credentials 2019-02-13 16:33:58 -05:00
Rhys Arkins
bf9c4a84c7 fix(bundler): catch authentication requirement 2019-02-13 14:26:13 -05:00
Rhys Arkins
cdb0408dfd logs: info not log for maven not found 2019-02-13 14:25:40 -05:00
Paul Tyng
8f79b660b0 feat(gomod): Run go mod tidy if configured (#3201)
Adds a configurable option to run `go mod tidy` on a repo between the `go get...` and the `go mod vendor`.

Closes #2594
2019-02-13 13:05:52 -05:00
Rhys Arkins
d35b673323 refactor(github): don’t warn deleting protected branch 2019-02-13 12:46:26 -05:00
Rhys Arkins
9507062e85 refactor(gitlab): don’t warn for status transition errors 2019-02-13 11:47:07 -05:00
Rhys Arkins
3edd582b64 logs: don’t warn for lock file maintenance lerna 2019-02-13 10:50:17 -05:00
Rhys Arkins
fb891c9796 refactor: debug log unauthorized integration 2019-02-13 10:08:06 -05:00
Rhys Arkins
0dcfbbe1ab fix(gitFs): catch and throw ssh error 2019-02-13 09:06:51 -05:00
Rhys Arkins
65880e39e0 fix(gitFs): catch and throw bad-credentials 2019-02-13 08:47:37 -05:00
Sergio Zharinov
302bfb7eb6 feat(maven): support dependencies defined via properties (#3199) 2019-02-13 06:36:56 -05:00
David
c52e749177 fix: correct phrasing for rebase notification (#3196)
Closes #3185
2019-02-11 10:43:20 +01:00
Rhys Arkins
3f7661b429 fix(config): reset ignorePaths 2019-02-11 04:41:49 -05:00
Rhys Arkins
c87a153823
feat: go module vendoring support (#3191)
Detects if a `vendor/modules.txt` is present and runs `go mod vendor` if so. Requires gitFs to work.

Closes #2580
2019-02-11 10:19:25 +01:00
Sergio Zharinov
279f632b26 fix(maven): parse additional Maven repositories from pomfiles (#3198) 2019-02-11 09:58:49 +01:00
Rhys Arkins
2705172376
feat: GitHub Actions docker image support (#3197)
Detect GitHub Actions workflow files and pin/update any Docker image references found within.

Closes #2750
2019-02-11 09:42:54 +01:00
Rhys Arkins
c711fb4cea refactor: getArtifacts returns an array 2019-02-09 07:08:15 +01:00
Rhys Arkins
13cc5b5b0e refactor: rename lock files -> artifacts 2019-02-09 07:08:15 +01:00
Rhys Arkins
047245260e Update README.md 2019-02-09 07:07:44 +01:00
Rhys Arkins
647f9d1d48 Update README.md 2019-02-09 07:07:44 +01:00
Rhys Arkins
1d9167b081 refactor(docker): include dockerRegistry, dockerRepository in results 2019-02-08 16:03:26 +01:00
Rhys Arkins
da56512306 fix(golang): ignore vendor paths 2019-02-08 15:41:28 +01:00
Konstantin_Kurganov
9a806cf537 feat: add "hex" datasource (Elixir/Erlang) (#3167)
Closes #3043
2019-02-08 14:13:36 +01:00
Rhys Arkins
e91809c3fa
feat(azure): gitFs support (#3186)
Closes #2811
2019-02-08 11:20:04 +01:00
Rhys Arkins
5332eeb4b0 fix(npm): decrypt tokens < 50 chars
Closes #3184
2019-02-08 05:51:53 +01:00
Vladimir Starkov
8a841a7c81 feat(bitbucket): Bitbucket Server platform support (#2774)
Closes #2482
2019-02-07 20:04:23 +01:00
Rhys Arkins
dcabf4132e docs: update bitbucket cloud readme 2019-02-07 13:57:53 +01:00
rtaum
fe40f1ef48 feat(python): add simple endpoint support (#3125)
Closes #2970
2019-02-07 08:56:02 +01:00
Sergio Zharinov
4c26d593b9 refactor(maven): unify depName between Maven and Gradle (#3179)
Closes #3173
2019-02-06 17:40:29 +01:00
Rhys Arkins
565f584a62 fix(golang): handle github names with version in path 2019-02-06 17:06:59 +01:00
Rhys Arkins
b1cc20d891 refactor(github): don’t warn if failing to comment on locked issue 2019-02-05 06:41:51 +01:00
Rhys Arkins
fd85d068f4 fix: trim urls from getPkgReleases
Closes #3169
2019-02-04 21:49:49 +01:00
Rhys Arkins
67cbbba80b fix: Revert "feat(gradle): use maven datasource (#3062)"
This reverts commit 0a2b212c76.
2019-02-04 21:31:04 +01:00
FidoX
0a2b212c76 feat(gradle): use maven datasource (#3062) 2019-02-04 16:05:04 +01:00
Rhys Arkins
7fb7b93ef7
feat(bitbucket): git fs (#3168)
Adds gitFs support to Bitbucket Cloud. It is now mandatory to configure Bitbucket with username/password instead of token.

Closes #2550, Closes #3024
2019-02-04 16:03:02 +01:00
Rhys Arkins
1ac01f1d13 refactor(bitbucket): no token initRepo 2019-02-04 12:42:38 +01:00
Rhys Arkins
2db6f16482 refactor(bitbucket): username/password overwrite token 2019-02-04 12:34:30 +01:00
Rhys Arkins
ebd81cd0bc fix(maven): use maven versioning, not semver 2019-02-04 12:16:33 +01:00
Rhys Arkins
a9332a8db0
feat: replace purl with datasource (#3154)
This deprecates the (internal) use of package URLs and instead replaces with `datasource`/`lookupName`.

Closes #3005
2019-02-04 09:41:22 +01:00
Rhys Arkins
5b985b713e
feat: got wrapper (#3159)
Wraps the `got` library in our own wrapper to add:
- Renovate user agent
- Memory cache wrapper
2019-02-03 19:53:44 +01:00
Rhys Arkins
392f67ad16 fix(orbs): use npm versionScheme for ranges 2019-02-03 19:27:01 +01:00
Rhys Arkins
f6d8eb7a68 Revert "refactor(gitlab): always debug merge err"
This reverts commit 6237a7f4a3.
2019-02-03 06:00:14 +01:00
Sergio Zharinov
59eebe3ce9 feat(maven): Add support for Maven (#3147)
Alpha version of Maven support

Closes #3029
2019-02-02 18:27:02 +01:00
Rhys Arkins
6237a7f4a3 refactor(gitlab): always debug merge err 2019-02-02 16:01:22 +01:00
Rhys Arkins
47305e6031 fix(github): catch 404 when committing files 2019-02-02 03:02:12 +01:00
Rhys Arkins
b5965c6285 fix(gitFs): gracefully handle authentication failure 2019-02-02 02:46:32 +01:00
Rhys Arkins
2b1223450a fix(config): don’t try to massage non-array packageRules 2019-02-02 02:17:07 +01:00
Christian Köberl
0355b7558e feat(docker): add support for basic auth (#3137) 2019-02-01 06:54:13 +01:00
Gord Lea
3bf4c6d798 fix(ghe): update github release notes to use api endpoint instead of sourceUrl (#3111)
The code to get a list of releases was not using the RENOVATE_ENDPOINT when the npm modules it was fetching releases for had it's git repository on github enterprise.

Closes #3079
2019-02-01 06:43:15 +01:00
Sergio Zharinov
201d6e02d4 feat(maven): additional package info fetching (#3146) 2019-01-31 20:04:45 +01:00
Rhys Arkins
ae3a25ce03 chore: move maven 2019-01-31 06:23:28 +01:00
Ben
59b1b747d7 fix(tests): sort setup.py dependencies by lineNumber (#3141)
Closes #3131, Closes #3136
2019-01-30 21:32:38 +01:00
Gautier Pelloux-Prayer
ca31580cb0 docs: specify supported binarySource modes (#3138) 2019-01-30 21:17:10 +01:00
Rhys Arkins
dd73bc8c35 refactor: purl return subset 2019-01-30 10:39:52 +01:00
Rhys Arkins
48ac359e20 chore: refactor res purl 2019-01-30 10:35:08 +01:00
Rhys Arkins
64dfb59c21 refactor: purl registryUrls 2019-01-30 10:34:04 +01:00
Rhys Arkins
ec9ea0e800 tests: remove unused qualifiers 2019-01-30 10:33:09 +01:00
Rhys Arkins
371003fabb refactor: purl use subpath for lookupType 2019-01-30 10:23:44 +01:00
Rhys Arkins
8ee4a68e6d refactor: terraform registryUrls 2019-01-30 09:55:57 +01:00
Rhys Arkins
70dc1c4292
feat(docker): preserve registry in depName (#3133) 2019-01-30 09:27:53 +01:00
Rhys Arkins
b794c9ec84 refactor: maven repositoryUrls 2019-01-30 06:46:41 +01:00
Rhys Arkins
2c4ee47f99 refactor: drop github qualifiers from go 2019-01-30 06:46:41 +01:00
Rhys Arkins
ba59a21505 refactor: terraform registryUrls 2019-01-30 06:46:41 +01:00
Rhys Arkins
d7629ce68d fix(datasource): remove unused normalize qualifier 2019-01-30 06:46:41 +01:00
Rhys Arkins
debc75f3f4 refactor: move lookupType out of qualifiers 2019-01-30 06:46:41 +01:00
Rhys Arkins
bf57bb8071 refactor: github ref => lookupType 2019-01-30 06:46:41 +01:00
Rhys Arkins
7e7ec8cc56 refactor: remove purl namespace and name 2019-01-30 06:46:41 +01:00
Rhys Arkins
f145e886a1 refactor: ignore purl.version 2019-01-30 06:46:41 +01:00
Rhys Arkins
82cc45b2e5 refactor: purl.type -> purl.datasource 2019-01-30 06:46:41 +01:00
Rhys Arkins
d0018cbd2d refactor: purl.fullname -> lookupName 2019-01-30 06:46:41 +01:00
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