Commit graph

378 commits

Author SHA1 Message Date
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
0246f6c201 refactor: getPkgReleases 2019-01-28 06:40:37 +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
Rhys Arkins
73db5416c9 logs: trace npm auth 2019-01-27 07:36:00 +01:00
Rhys Arkins
e7f8d6f184 fix(npm): retry ECONNRESET 2019-01-25 08:29:26 +01:00
Rhys Arkins
c4f6dbb01c refactor: log regUrl for npm registry errors 2019-01-24 14:37:14 +01:00
Rhys Arkins
048fd66124 refactor: log npm auth 2019-01-24 12:59:14 +01:00
Rhys Arkins
869225d0df feat(npm): use repository directory from listing
Closes #3096
2019-01-22 07:37:51 +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
b8df0f8571 fix(docker): retry 406 repository with library prefix
Closes #3078
2019-01-19 13:43:17 +01:00
Sergio Zharinov
d9535e766f refactor: replace fast-xml-parser dependency to xmldoc (#3081) 2019-01-17 18:11:04 +00: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
Fedor Lukyanov
a11bf657e7 feat: rubygems datasource (#3039)
Closes #2981
2019-01-09 22:03:57 +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
3946365430 chore: alphabetical order 2019-01-07 16:55:27 +01:00
FidoX
e046536503 feat: maven datasource (WIP) (#2995)
feat: maven datasource
2019-01-07 10:44:47 +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
a7d1f5a73b refactor: docker datasource registry 2019-01-05 19:27:25 +01:00
Rhys Arkins
c56ebbbffa refactor(docker): massageRegistry 2019-01-05 18:36:52 +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
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
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
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
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
Rhys Arkins
fd5787023a refactor: move datasource files 2018-12-24 15:18:48 +02:00
rtaum
0a8264612d feat: Add gitlab preset (#2984) 2018-12-21 20:28:26 +02: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
0ccbb9e7a6 fix(orb): add cypress source URL 2018-12-17 07:30:39 +01:00
Rhys Arkins
7d4cd7ca60
feat: circleci orb support (#2955)
Closes #2950
2018-12-16 14:32:11 +01:00
Rhys Arkins
0dd52209b9 tests: drop flakey cache test 2018-12-13 21:24:52 +01:00
Rhys Arkins
079afe1820
feat: configurable versionScheme (#2945)
Closes #2914
2018-12-13 05:29:11 +01:00
Rhys Arkins
913ba4d065
build(deps): use forked docker-registry-client (#2940) 2018-12-13 05:23:11 +01:00
Rhys Arkins
320c666a6c chore: prettier 2018-12-12 11:59:43 +01:00
Mike Bryant
9ac84fa4e3 refactor(docker): break out manifest retrieval function (#2931) 2018-12-11 13:04:09 +01:00
Adrien Lemaire
fcc93eac22 fix(pypi): add python requests changelog URL (#2933)
add requests changelog
2018-12-11 07:20:41 +01:00
Rhys Arkins
40b17b5c5c fix(pypi): manual coverage sourceUrl override
Closes #2846
2018-12-10 09:37:46 +01:00
Rhys Arkins
f242ef1256 refactor: centralize pypi manual source urls 2018-12-10 09:20:51 +01:00
Rhys Arkins
00de6f2e1e feat: datasource manual source URLs
Adds central location to define manual source URLs for packages.
2018-12-10 06:49:15 +01:00
Rhys Arkins
0f0bae4b65 refactor: datasource manual urls
Provide a central location for mapping changelog and source URLs.
2018-12-10 06:34:39 +01:00
Rhys Arkins
47a23d0a61 chore: rename for less confusion 2018-12-10 06:03:52 +01:00
Rhys Arkins
772bc17603 refactor: repositoryUrl -> sourceUrl 2018-12-10 05:59:28 +01:00
Rhys Arkins
e190851f8e
feat(docker): use whole tag as currentValue (#2922) 2018-12-10 04:26:14 +01:00
Rhys Arkins
6b12fc4ea4 refactor(versioning): use get function 2018-12-08 16:46:13 +01:00
Rhys Arkins
846c16529d
refactor: versioning require (#2915)
Simplify when statically selected
2018-12-08 15:51:34 +01:00
Rhys Arkins
e726b47648 chore: refactor docker tags datasource 2018-12-07 09:16:58 +01:00
Rhys Arkins
ce221f7e91 refactor(docker): datasource cacheKey 2018-12-07 07:37:29 +01:00
Adrien Lemaire
321939c0f6 fix(pypi): add firebase-admin release notes (#2895)
add firebase-admin release notes
2018-12-05 04:56:46 +01:00
Adrien Lemaire
3825c6b1cb fix(pypi): add django-debug-toolbar changelog (#2892) 2018-12-04 07:17:41 +01:00
Sam Bull
d689424ce2 feat(pypi): try multiple hostUrls 2018-11-22 17:14:12 +01:00
Rhys Arkins
9f96b452f1 fix(go): better check tags before releases 2018-11-22 06:59:57 +01:00
Rhys Arkins
36feb03d1c fix(go): filter out versions without leading v
Closes #2850
2018-11-21 22:51:49 +01:00
Rhys Arkins
eaf254ede3 fix(composer): resolve drupal packages repository 2018-11-19 21:03:38 +01:00
Adrien Lemaire
481514e2fd fix(pypi): add phonenumbers changelog (#2847) 2018-11-19 13:45:35 +01:00
Adrien Lemaire
36a3bb5586 fix(pypi): add psycopg changelog (#2845) 2018-11-19 11:17:24 +01:00
Rhys Arkins
f95c09e762 fix(npm): ignore npmrc if localhost and low trust 2018-11-16 21:50:27 +01:00
Rhys Arkins
8a8e5c8fed refactor: warn if localhost registry detected 2018-11-16 12:21:48 +01:00
Rhys Arkins
db0efdf053 feat: trustLevel
New config option replaces existing option exposeEnv. Set trustLevel=high in the bot config if you trust the contents of the repositories you are renovating. Doing so results in env being exposed, access to localhost, etc.

Closes #2739
2018-11-16 12:16:37 +01:00
Ayoub Kaanich
7d31af5ecb feat: Support Bazel commit-based go_repository (#2821)
Closes #2806
2018-11-14 13:11:35 +01:00
Rhys Arkins
5696cccf72 feat(packagist): cache packagist.org for 10 minutes 2018-11-11 07:53:29 +01:00
Rhys Arkins
2533fb0751 fix(packagist): use static endpoint for org lookups
Closes #2785
2018-11-11 07:42:35 +01:00
renovate[bot]
dff1fb137b feat(deps): update got packages (major) (#2433) 2018-11-09 12:50:21 +01:00
Rhys Arkins
943537417e refactor(docker): reduce cache time to 15 mins 2018-11-09 00:27:58 +01:00
Rhys Arkins
d77fcf8e52
docs: describe datasources and fields (#2667) 2018-11-07 14:19:46 +01:00
Adrien Lemaire
c0375c52d4 fix: add django-storages release notes (#2751) 2018-11-05 07:10:57 +01:00
Ayoub Kaanich
4f320ed9cd feat: Python compatibility (#2736) 2018-11-04 18:12:58 +01:00
Ayoub Kaanich
c6e4379715 refactor: gomod purl (#2729)
<!--
    Before submitting a Pull Request, please ensure you have signed the CLA using this GitHub App:
    https://cla-assistant.io/renovateapp/renovate
-->

<!-- Replace this text with a description of what this PR fixes or adds -->

Closes #2725 <!-- Ideally each PR should be closing an open issue -->
2018-11-02 06:22:42 +01:00
Adrien Lemaire
ffdce5e9ec fix: add flake8 release notes (#2688) 2018-10-25 07:21:14 +02:00
Rhys Arkins
190e896eb1 fix(github): getDigest lookup 2018-10-24 14:59:41 +02:00
Rhys Arkins
163c4bf53a fix: github getDigest use purl 2018-10-23 13:48:08 +02:00
Adrien Lemaire
38bd6f4986 fix: add djangorestframework release notes (#2668) 2018-10-21 06:28:18 +02:00
Rhys Arkins
3750d12523 fix(nuget): handle null versions 2018-10-18 15:42:06 +02:00
Rhys Arkins
1409f923d9 feat(composer): packagist.org optimisation
Use direct lookup for packagist.org only
2018-10-18 13:48:30 +02:00
Rhys Arkins
93a331f214 fix(composer): cache per site 2018-10-18 13:11:33 +02:00
Rhys Arkins
539275e014 feat(packagist): fetch files in parallel 2018-10-18 11:30:43 +02:00
Rhys Arkins
81d64bb884 feat: repo mem cache for packagist 2018-10-18 11:06:57 +02:00
Rhys Arkins
5565e4d79d refactor(packagist): don’t warn when 404 registry 2018-10-18 05:52:49 +02:00
Rhys Arkins
a907210d77 fix(packagist): set empty releases 2018-10-18 05:48:15 +02:00
Rhys Arkins
53813e97b9 fix(packagist): do proper url join 2018-10-18 05:04:19 +02:00
Rhys Arkins
3bf09baa5d fix(packagist): ignore null versions 2018-10-18 04:35:21 +02:00
Rhys Arkins
e5d0f8a33a fix(npm): don’t abort for private ETIMEDOUT 2018-10-18 03:48:02 +02:00
Rhys Arkins
24f2138165 fix: log depName, not name 2018-10-18 03:43:10 +02:00
Rhys Arkins
956d198f89 fix(composer): handle non-array repositories 2018-10-16 06:33:42 +02:00
Rhys Arkins
0f1710faf8
feat(composer): custom registries and basic auth (#2650)
Adds support for custom Packagist registries.

- [x] Support dynamic packages.json interface for wpackagist.org
- [x] Support static packages.json for satis
- [x] Support basic auth using hostRules
- [x] Write basic auth to `auth.json`

Closes #2574, Closes #2354
2018-10-16 04:52:57 +02:00
Rhys Arkins
ff2e40bd21 feat: terraform datasource
Adds a new datasource for querying terraform module registries.
2018-10-06 09:52:00 +02:00
Rhys Arkins
34061cf53c feat: go datasource getDigest
Closes #2603
2018-10-05 16:04:12 +02:00
Rhys Arkins
d8bd147b14 refactor(go): separate getSourcePurl 2018-10-05 15:15:55 +02:00
Rhys Arkins
99df4f0f31 feat(golang): digest updates
Adds support to update dependencies that have pseudo-versions like v0.0.0-20140422174119-9fd32a8b3d3d.
2018-10-02 10:34:37 +02:00
Adrien Lemaire
9ec385d6d7 fix(pypi): add django package changelogs (#2588) 2018-10-02 08:45:00 +02:00
Rhys Arkins
bb5a2962e5 fix(pypi): check lowercase and map changelogUrl to repositoryUrl 2018-10-02 07:07:49 +02:00
Rhys Arkins
8cd87c4f6b fix(pypi): better detect repositoryUrl 2018-10-02 06:49:53 +02:00
Rhys Arkins
f4210631c0
feat: go modules support (#2584)
Adds support for updating go modules (found in go.mod) and the accompanying go.sum checksum files.

Limitations:

- github.com modules only (but supports "redirects" to github e.g. by gopkg.in and golang.org)
- skips major upgrades > v1
- no vendoring support

Closes #933, Closes #2578, Closes #2579
2018-10-01 13:50:36 +02:00
renovate[bot]
9bf339a24b build(deps): update dependency @sindresorhus/is to v0.12.0 (#2570) 2018-09-28 15:20:46 +02:00
Rhys Arkins
9f8b3e5176 fix: add react-native changelogUrl 2018-09-24 15:11:25 +02:00
Rhys Arkins
30b9612c8b fix(logs): dependency not name 2018-09-23 06:44:36 +02:00
Rhys Arkins
fc9037a270 logs: correct depName/dependency 2018-09-20 12:13:18 +02:00
Rhys Arkins
e755ee7aa6 fix(docker): look up latest tag correctly 2018-09-19 19:54:52 +02:00
Rhys Arkins
a46468c048 fix(npm): serialize/deserialize to prevent cache mutation 2018-09-19 08:57:59 +02:00
Rhys Arkins
cec7f6dd2e feat(docker): support registryUrls
Adds support for defining a default Docker registry. e.g. if `config.registryUrls = [‘https://docker.company.com']` then lookups for packages like `node` will be done from docker.company.com instead of index.docker.io.
2018-09-19 08:51:43 +02:00
Rhys Arkins
571c41e69e fix(npm): serialize dep before saving to memcache 2018-09-19 05:38:33 +02:00
Rhys Arkins
ca45a546a9 feat: add changelogUrls to pypi datasource
Closes #2535
2018-09-19 05:25:57 +02:00
Rhys Arkins
1299c32c77
refactor: add flow-bin changelog URL (#2534) 2018-09-18 10:09:41 +02:00
Rhys Arkins
eeae416ac9
feat(npm): support git digest updates (#2528)
Adds support for renovating git references in `package.json` files. Supports updating semver tags or sha1 references ("commit hashes").

Also includes support for updating git references from *private* GitHub repositories, if the following conditions are met:
- Renovate user/token is authorised to read from the source private repository
- Dependency is written like `git+https://github.com/owner/repo.git#ref` in `package.json`

Closes #415, Closes #817
2018-09-17 11:18:18 +02:00
Rhys Arkins
706ba270af fix(npm): compare res.name or res._id 2018-09-15 08:01:42 +02:00
Rhys Arkins
58d5483e7b feat: changelogUrl
Allows static configuration of custom changelog URLs per npm package, which will then be displayed in PR bodies.

Closes #2520
2018-09-14 06:55:38 +02:00
Rhys Arkins
6f0ceaecc5 fix(ghe): use full path for github datasource
This prevents accidentally querying GHE for things such as Node.js tags.

Closes #2518
2018-09-13 05:50:16 +02:00
Rhys Arkins
f8cf83380f
refactor: endpoints -> hostRules (#2509)
Renames `endpoints` to `hostRules`
2018-09-12 12:16:17 +02:00
Rhys Arkins
96164f6fea refactor: don’t use repository for docker logs 2018-09-11 15:55:00 +02:00
Rhys Arkins
0252ad4d08 fix(docker): platform-failure only if docker.io 2018-09-11 15:40:37 +02:00
Rhys Arkins
a411b11982 feat(docker): cache docker tags 2018-09-11 14:20:41 +02:00
Rhys Arkins
b6cd9878e4 refactor(docker): tags/releases 2018-09-11 14:13:53 +02:00
Rhys Arkins
133505da09 feat(docker): cache digests for 30 minutes 2018-09-11 14:02:06 +02:00
Rhys Arkins
d4706f9c2e fix(docker): catch 429 errors 2018-09-11 13:07:40 +02:00
Rhys Arkins
cc611a7985 refactor(docker): log purl when failing to get docker tags 2018-09-11 12:29:48 +02:00
Rhys Arkins
b08d1aa815 fix(pypi): better normalize package name 2018-09-11 05:09:43 +02:00
Rhys Arkins
543e11751b fix: don’t cache scoped packages 2018-09-08 06:11:06 +02:00
Rhys Arkins
005dab5bcf feat: cache npm results 2018-09-07 14:40:55 +02:00
Rhys Arkins
80463651ca feat: logger err serializer
Include body, message and stack with every error if present
2018-09-05 10:32:53 +02:00
Rhys Arkins
f239df8025 logs: stop logging scoped headers 2018-09-03 18:50:05 +02:00
Rhys Arkins
35b2ce8b42
feat: centralised cache (#2472)
Closes #2466
2018-09-03 07:27:22 +02:00
Rhys Arkins
c1fd79bac7 feat: cache github datasource results for 10 minutes 2018-09-01 07:18:28 +02:00
Rhys Arkins
1f49d0fe8c feat: add in-memory github datasource caching 2018-08-31 13:05:22 +02:00
Rhys Arkins
00b89c77b6 fix(npm): revalidate all registry requests
Sets Cache-Control to ‘no-cache’ to instruct the http layer to always revalidate cached responses with the registry. Otherwise we can be up to 5 minutes “behind” because npmjs default cache time is 300s.
2018-08-22 09:54:26 +02:00
Rhys Arkins
3d1a715d2b fix(npm): don’t authorize public non-scoped packages
The authorization header can interfere with caching because npmjs doesn’t return “public” in the “Cache-Control” header.
2018-08-22 09:53:26 +02:00
Rhys Arkins
9b3f4b90e1 fix(npm): remove temporary cache-blocking code for scoped
npmjs has fixed/lowered the cache expiry time now
2018-08-22 09:49:18 +02:00
Rhys Arkins
ebb3496586 fix(npm): skip caching for scoped packages
Ref: https://npm.community/t/scoped-packages-have-latest-version-disappear-temporarily-soon-after-publish/633/7
2018-08-16 22:15:11 +02:00
Rhys Arkins
8b5e69b0c2 refactor(pypi): manual repositories map 2018-08-16 18:34:35 +02:00