Commit graph

3051 commits

Author SHA1 Message Date
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
Renovate Bot
b34bba4bdd fix: update dependency delay to v3.1.0 2018-08-20 20:19:25 +00:00
Rhys Arkins
d1ee797e54 fix: add trailing / to endpoint
Closes #2363
2018-08-20 12:53:57 +02:00
Rhys Arkins
93d02e5e75 docs: improve self-hosted documentation
Added content as suggested/contributed by @swashata.

Closes https://github.com/renovatebot/config-help/issues/71
2018-08-20 12:12:03 +02:00
Renovate Bot
8bced91126 fix: update dependency compare-versions to v3.3.1 2018-08-18 19:22:07 +00:00
Renovate Bot
6147e6936d fix: update dependency semantic-release to v15.9.9 2018-08-18 18:11:30 +00:00
Renovate Bot
c66c859c16 chore: update linters 2018-08-18 07:00:50 +02:00
Renovate Bot
186d0fe50e fix: update dependency semver to v5.5.1 2018-08-17 22:21:53 +00:00
Renovate Bot
7c43911fbd fix: update dependency pnpm to v2.13.5 2018-08-17 20:59:03 +00:00
Rhys Arkins
c1dd5c0c8c feat: show both homepage and source repo for each dep
Changes PR body to show both homepage and source repo if both are present in the datasource metadata.

Closes #2387
2018-08-17 17:27:54 +02:00
Rhys Arkins
2eaaaca6a9 tests: update snapshot 2018-08-17 17:19:00 +02:00
Maximilian Gaß
8a9c371bef fix(docker): fix Docker group template (#2398) 2018-08-17 10:46:30 +02:00
Rhys Arkins
d4aec0ff76 feat(npm): perform full install if file: references found
npm’s —package-lock-only implementation seems to have a bug and produces incorrect lock files when file: references are present. If file: dependencies are detected, skipInstalls is set to false.

Closes #2401
2018-08-17 08:22:41 +02:00
Renovate Bot
a47ffff3bd fix: update dependency validator to v10.6.0 2018-08-17 03:51:53 +00:00
Renovate Bot
ccc4ae7c09 chore: update dependency jest-silent-reporter to v0.1.0 2018-08-16 22:17:04 +00: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
8cf9334273 tests: update snapshots 2018-08-16 18:37:22 +02:00
Rhys Arkins
b5f2a8940d refactor: hasUrls 2018-08-16 18:35:16 +02:00
Rhys Arkins
516f60a2cf refactor: save dep homepage 2018-08-16 18:35:01 +02:00
Rhys Arkins
8b5e69b0c2 refactor(pypi): manual repositories map 2018-08-16 18:34:35 +02:00
Rhys Arkins
586ec1f5b8 refactor(npm): delete package homepage if it’s a github repo 2018-08-16 18:32:55 +02:00
Maximilian Gaß
7a1418ad6f fix(docker): exclude calico/node from being marked as Node.js (#2397)
fix(docker): exclude calico/node from being marked as Node.js
2018-08-16 15:46:19 +02:00
Rhys Arkins
bc074aff02 fix: check PR is closed when finding blocking PR
Closes #2391
2018-08-16 12:15:56 +02:00
Rhys Arkins
19116fc6ed refactor: remove legacy closed PR check 2018-08-16 12:04:44 +02:00
renovate[bot]
6d9ba0683c chore: update node.js to v8.11.4 (#2394)
chore: update node.js to v8.11.4
2018-08-16 10:27:24 +02:00
Rhys Arkins
e9108a0502 refactor(npm): return package tags 2018-08-16 06:19:39 +02:00
Renovate Bot
e9486a3bef fix: update dependency npm to v6.4.0 2018-08-15 19:25:11 +00:00
Rhys Arkins
a80173d898 fix(npm): ignore scripts on full install 2018-08-15 17:27:40 +02:00
Rhys Arkins
d0ec341e15
feat: skipInstalls (#2390)
Adds new admin option “skipInstalls” that is applicable for npm-only for now (including lerna-npm). If set to false, Renovate will perform a full install of modules rather than `—package-lock-only`. This is necessary in some cases to work around bugs in npm.

Self-hosted bot users can set this option themselves on the bot’s config, but app users will require it to be enabled per-repository by the app admin.
2018-08-15 17:13:07 +02:00
Rhys Arkins
d2885e5d9e fix: do not jump unstable versions implicitly
If the current value is already unstable then we presume the user is happy to take newer unstable versions. However we should not presume that they want to keep jumping versions if so and instead would prefer to stabilise.

Discussed in #2258 but does not close it
2018-08-15 09:40:10 +02:00
Rhys Arkins
d376f9db87 refactor(versioning): expose getPatch 2018-08-15 09:38:04 +02:00
Rhys Arkins
3761aabea6 fix(vsts): set endpoint from env 2018-08-15 09:16:44 +02:00
Rhys Arkins
7d8d4faea5 fix(npm): Disable npm rollback PRs
Necessary because of https://npm.community/t/scoped-packages-have-latest-version-disappear-temporarily-soon-after-publish/633

Until the npmjs registry can return consistent results, we need to disable roll back PRs.

Closes #2148
2018-08-15 08:42:10 +02:00
Ayoub Kaanich
def2c8f518 refactor: Prepare GitHub storage for Git storage (#2378)
Contains GitHub specific changes from #2323
2018-08-15 07:57:09 +02:00
Renovate Bot
0e9c3f53a0 chore: update dependency eslint-config-prettier to v3 2018-08-15 07:45:11 +02:00
Renovate Bot
003864b93d fix: update dependency pnpm to v2.13.4 2018-08-14 00:11:35 +00:00
Renovate Bot
98220b6e3f chore: update dependency nock to v9.6.1 2018-08-13 18:50:48 +00:00
Renovate Bot
3509c532fe chore: update dependency eslint-config-prettier to v2.10.0 2018-08-13 17:41:00 +00:00
Renovate Bot
d3c553d3d1 chore: update linters 2018-08-13 09:41:50 +00:00
Renovate Bot
acb86306fd fix: update dependency pnpm to v2.13.3 2018-08-12 18:45:59 +00:00
Renovate Bot
a1c326a2d3 chore: update node:8.11.3 docker digest to 13f928 2018-08-11 15:07:38 +02:00
Maximilian Gaß
52a8da89fa feat(docker): Add support for COPY --from lines (#2368)
COPY --from= can specify external images. Add support to renovate them.
2018-08-11 11:27:18 +02:00
Rhys Arkins
b0ea6790eb fix(docker): use currentValue not currentTag in digest updates 2018-08-11 11:26:08 +02:00
Rhys Arkins
103d8fbf68
feat: prettyDepType (#2376)
Adds field prettyDepType available for templates, currently used for npm only. Allows for PR titles like “Update devDependency left-pad to v1.3.0” instead of default “Update dependency left-pad to v1.3.0”.

To enable in PR titles: add this configuration: `"commitMessageTopic": "{{prettyDepType}} {{depName}}”`

This is not enabled by default as otherwise it could lead to the reopening of previously manually-closed PRs.

Closes #2371, Closes #1863
2018-08-11 11:24:38 +02:00
renovate[bot]
b1b834b00e chore: update dependency prettier to v1.14.2 (#2365) 2018-08-11 11:24:14 +02:00
Rhys Arkins
d3ae0d8617 docs: fix privacy policy link 2018-08-11 10:34:57 +02:00
Rhys Arkins
fe2539293d docs: fix relative links
Closes #2374
2018-08-11 10:34:02 +02:00
Rhys Arkins
0117b73220 docs: fix private modules link 2018-08-11 10:26:55 +02:00
Maximilian Gaß
15ee7ab4ae fix: pinning digest of latest version (#2359)
If the dependency already is the latest version, filteredVersions is
empty here, and then the early exit skips over the pinning code
2018-08-11 10:03:57 +02:00