Commit graph

4047 commits

Author SHA1 Message Date
Rhys Arkins
fd5b265716 fix(github): catch branch deletion and throw 2018-09-18 09:57:28 +02:00
Rhys Arkins
4b3c2d23ac
feat: combine tmp storage (#2533)
Renovate will now put all its data in `path.join(os.tmpdir(), '/renovate’);` and will instruct npm and yarn to do the same. To force Renovate to use a specific folder, set `process.env.TMPDIR` when running. The previous variable `RENOVATE_TMPDIR` is now deprecated and will be rewritten to TMPDIR.

Closes #1794
2018-09-18 05:26:09 +02:00
Renovate Bot
8832d7b433 build(deps): update dependency pnpm to v2.16.0 2018-09-17 23:09:19 +00:00
Rhys Arkins
7599fc8380 fix: ensure directories exist 2018-09-17 15:08:45 +02:00
Rhys Arkins
1d39525749 fix: better digest skip detection 2018-09-17 14:35:44 +02:00
Rhys Arkins
968d166ae5 logs: log localDir 2018-09-17 14:28:58 +02:00
Renovate Bot
b68aa1d611 build(deps): update dependency simple-git to v1.100.0 2018-09-17 12:09:11 +00:00
Rhys Arkins
b29ea46f8b feat: bumpVersion mirror 2018-09-17 12:45:05 +02:00
Rhys Arkins
185deacc02 docs: debugging howto
Closes #1262
2018-09-17 12:13:42 +02:00
Rhys Arkins
e70fe59810 fix: typo in digest pr body 2018-09-17 12:08:32 +02:00
Rhys Arkins
7ad1d0c7ff chore: add yarn debug 2018-09-17 12:08:23 +02:00
Rhys Arkins
855ed50033 fix(changelog): use resolved filename
Closes #2529
2018-09-17 11:53:02 +02:00
Rhys Arkins
839eeaaebd fix: add pr existing check for lock file maintenance 2018-09-17 11:27:18 +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
c2eb51df54 feat(npm): support long git references
Part of #415
2018-09-17 10:55:27 +02:00
Renovate Bot
50b1b48d1a build(deps): update dependency simple-git to v1.98.0 2018-09-17 08:09:22 +00:00
Rhys Arkins
0498015f65 refactor(docker): use 7 char short digests 2018-09-16 06:11:12 +02:00
Rhys Arkins
c0eee811b2 refactor(npm): git ref semvers 2018-09-15 18:11:03 +02:00
Rhys Arkins
e7418b27a0 fix(npm): correct skipInstalls logic to consider config 2018-09-15 18:09:10 +02:00
Rhys Arkins
bad9c0770c refactor(npm): separate getDependency function 2018-09-15 18:01:11 +02:00
Rhys Arkins
e517a985c6 fix(npm): valid github owner/repo when extracting 2018-09-15 17:24:54 +02:00
Rhys Arkins
acf512a4ff feat: github semver tag support for npm
Detects github repos in package.json and keeps them up to date if they are using semver tags, e.g. `”github:gulpjs/gulp#v4.0.0-alpha.2”` will get updated to `”github:gulpjs/gulp#v4.0.0”`.

Part of #415 but not closing it yet.
2018-09-15 15:18:18 +02:00
Rhys Arkins
cf6bb03a25 fix: remove npm-specific rollback terminology in pr body
Closes #2250
2018-09-15 14:22:50 +02:00
Rhys Arkins
23e7cdf0b2 feat: re-activate npm rollback PRs
Re-activating npm rollback PRs now that they have resolved their scoped package ttl, which caused previous false positives.
2018-09-15 14:17:03 +02:00
Rhys Arkins
706ba270af fix(npm): compare res.name or res._id 2018-09-15 08:01:42 +02:00
Renovate Bot
b23ebd6c48 chore(deps): update dependency eslint to v5.6.0 2018-09-15 04:05:16 +00:00
Renovate Bot
ea07baca31 chore(deps): update dependency nock to v10 2018-09-14 22:16:57 +02:00
Rhys Arkins
598d57c315 feat: binarySource
Defaulting to ‘bundled’ (default behaviour), this option can be changed to ‘global’ if you wish Renovate to use globally installed npm, yarn, pnpm and lerna binaries. Note: composer always uses global regardless.
2018-09-14 20:38:52 +02:00
Rhys Arkins
788d96e5e9 refactor: rename isUnmergeable to isConflicted 2018-09-14 20:02:51 +02:00
Rhys Arkins
1e48508079 fix(onboarding): correct merge conflict detection
Use isUnmergeable and not canMerge

Closes #2524
2018-09-14 19:52:04 +02:00
Rhys Arkins
b817db10a3
feat: rebase on demand (#2522)
Adds functionality to force rebase a PR if the label "rebase" is added. Also, the label is configurable via a new `rebaseLabel` config option.

Closes #1406
2018-09-14 12:51:33 +02:00
Rhys Arkins
400b2f9929 logs: don’t warn for graphql failure 2018-09-14 12:50:24 +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
Renovate Bot
dc98205110 build(deps): update dependency lodash to v4.17.11 2018-09-14 06:10:02 +02:00
Rhys Arkins
6feda1fd25 fix(lerna): detect changed lock files properly
Closes #2519
2018-09-14 06:07:53 +02:00
Rhys Arkins
f6d9fb620b refactor(logs): log configs after log file created
Closes #2515
2018-09-13 21:13:52 +02:00
Rhys Arkins
d19b15b83d fix: don’t update lock file maintenance or create PR out of schedule
Do no lock file maintenance work even if branch exists.

Closes #2503
2018-09-13 09:08:25 +02:00
Rhys Arkins
e47b8e7df4 tests: fix lint 2018-09-13 06:50:31 +02:00
Rhys Arkins
ba1544800f fix(docker): hostRules exception 2018-09-13 06:48:08 +02:00
Rhys Arkins
fc12a0f78a logs: no add reviewers debug body 2018-09-13 06:19:35 +02:00
Rhys Arkins
9add135b00 fix(ghe): skip unsupported graphql queries if GHE
Closes #2516
2018-09-13 05:54:48 +02:00
Rhys Arkins
f91d064d14 logs: lower graphql warn to info 2018-09-13 05:54:21 +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
e66ededcfd fix(ghe): don’t escape PR bodies if using non-github.com endpoint 2018-09-13 05:44:27 +02:00
Rhys Arkins
c92ba52766 fix(docker): don’t crash DOCKER_USERNAME DOCKER_PASSWORD
Definitely fixes the crash, hopefully the auth is fully working now too.

Closes #2512
2018-09-13 05:31:18 +02:00
Rhys Arkins
b8f76ee230 fix(ghe): strip /v3 suffix for graphql
Closes #2507
2018-09-12 19:58:21 +02:00
Renovate Bot
364244fcab chore(deps): pin node.js 2018-09-12 19:57:00 +02:00
Rhys Arkins
685605cd2f
chore: pin docker digests
Closes #2513
2018-09-12 19:42:33 +02:00
Rhys Arkins
b9af6e64d6
Update Dockerfile 2018-09-12 19:30:11 +02:00
Rhys Arkins
a038177c6f fix: use full URL for changelog retrieval
This should fix the problem with fetching changelogs when using GHE.
2018-09-12 19:27:20 +02:00