Commit Graph

14403 Commits

Author SHA1 Message Date
Rhys Arkins 30b9612c8b fix(logs): dependency not name 2018-09-23 06:44:36 +02:00
Rhys Arkins 56245cf872 refactor: fatal err 2018-09-23 06:44:18 +02:00
Rhys Arkins e3116ee380 refactor: escape only release notes in pr body 2018-09-23 06:08:21 +02:00
Rhys Arkins 5c4dc4a063 refactor(github): use markdown not html for PR body (#2555) 2018-09-23 06:05:43 +02:00
Rhys Arkins 9ec32e26f3 refactor(gitlab): use markdown not html 2018-09-22 20:01:18 +02:00
Rhys Arkins 8a6e5fddfa fix: Revert "refactor(changelog): use markdown not html"
This reverts commit 0340f42d84.
2018-09-22 18:41:32 +02:00
Rhys Arkins 19a77f8901 fix(npm): force package-lock.json update when widening
Removes dependency record from package-lock.json before running “npm install” to ensure the latest version is installed.

Closes #2480
2018-09-22 18:17:49 +02:00
Rhys Arkins 0340f42d84 refactor(changelog): use markdown not html
Closes #2553
2018-09-22 17:49:56 +02:00
Rhys Arkins bdd1df27a3 chore: drop commits/hasCommits legacy 2018-09-21 19:44:12 +02:00
Rhys Arkins 555fd33207 fix(bitbucket): limit pr body to 50k chars 2018-09-21 11:48:13 +02:00
Rhys Arkins 3e4d2b7846 refactor: 3 length table header separator 2018-09-21 11:48:06 +02:00
Rhys Arkins 66a4aa40d8 feat: custom PR body notes (#2545)
Adds field “prBodyNotes” to allow customisable content in PR body.

Closes #1802
2018-09-21 11:36:07 +02:00
Rhys Arkins 10f7654ef8 refactor: register encodeURIComponent helper 2018-09-21 10:49:25 +02:00
Rhys Arkins 44020034cb refactor: better pr body log levels 2018-09-21 10:38:02 +02:00
Rhys Arkins dcec25c291 feat: customisable PR tables (#2544)
Adds ability to both redefine column definitions in PRs as well as add or remove columns.
2018-09-21 09:46:51 +02:00
Rhys Arkins 013a4d44f5 chore: remove yarn lock comment 2018-09-21 09:26:20 +02:00
Rhys Arkins 29251352e8 feat: common prBody across all types (#2542)
Closes #442
2018-09-21 05:43:51 +02:00
Rhys Arkins 72327f06a0 fix: allow rebase label after PR editing 2018-09-20 16:10:14 +02:00
Rhys Arkins 27890381aa refactor(pr): better PR edited comment 2018-09-20 14:51:58 +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 0c3c5603eb fix(docker): digest template 2018-09-19 19:50:51 +02:00
Klaus Meinhardt e9e71f4c1d feat: followTag (#2538)
If `followTag` is defined for a package, then Renovate will ignore all other available versions and instead stick strictly to whatever version is defined for the tag. npm-only for now.

Closes #2258
2018-09-19 09:59:33 +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 d625d1bfb0 fix: don’t create PR out of schedule
Closes #2536
2018-09-19 07:07:04 +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 2fd1c47485 fix(github): catch fork patch errors and throw 2018-09-18 20:41:54 +02:00
Rhys Arkins 1299c32c77 refactor: add flow-bin changelog URL (#2534) 2018-09-18 10:09:41 +02:00
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
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
Rhys Arkins b29ea46f8b feat: bumpVersion mirror 2018-09-17 12:45:05 +02:00
Rhys Arkins e70fe59810 fix: typo in digest pr body 2018-09-17 12:08:32 +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
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