Commit Graph

799 Commits

Author SHA1 Message Date
Rhys Arkins e190851f8e feat(docker): use whole tag as currentValue (#2922) 2018-12-10 04:26:14 +01:00
Rhys Arkins 42eb19bb91 fix(deprecation): reset list for each manager 2018-12-09 13:51:50 +01:00
Rhys Arkins 32e2140886 fix(deprecations): do not raise warnings for onboarding repos 2018-12-09 13:12:10 +01:00
Rhys Arkins c742ac02ee refactor(deprecations): add info on how to disable 2018-12-09 13:11:41 +01:00
rtaum 90af9fc3ab feat: refactor raiseDeprecationWarnings into suppressNotifications (#2921) 2018-12-09 11:39:35 +01:00
Rhys Arkins 6b12fc4ea4 refactor(versioning): use get function 2018-12-08 16:46:13 +01:00
Ayoub Kaanich 33781c4d39 feat(docker): better versioning redo 2018-11-05 12:14:04 +01:00
Rhys Arkins 71b8fb0e72 fix: Revert "feat: better docker versioning (#2742)"
This reverts commit ea8bcbc9b2.
2018-11-05 11:35:06 +01:00
Ayoub Kaanich ea8bcbc9b2 feat: better docker versioning (#2742)
Rewrite docker versioning to support versions of any size.

Closes #2357, Closes #2358
2018-11-05 09:32:34 +01:00
Rhys Arkins 4f7d4fbeae logs: deprecationMessage 2018-10-29 05:53:00 +01:00
Rhys Arkins 7fdef1d683 fix: dry run deprecation issues 2018-10-29 05:52:45 +01:00
Rhys Arkins f82f26197c fix: skip null current values 2018-10-19 07:09:31 +02:00
Rhys Arkins e9053fbe4a fix: abort rollback if null toVersion 2018-10-19 06:57:21 +02:00
Rhys Arkins 50ba8473f7 refactor: lower debug logging 2018-10-15 09:21:57 +02:00
Rhys Arkins c0e8e51b5e fix(lookup): improve digest comparison 2018-10-05 15:49:24 +02:00
Rhys Arkins 3092c17ee2 fix(lookup): don’t return early if digests supported 2018-10-05 15:27:49 +02:00
Rhys Arkins 2dad7bbcd1 logs: debug versions lookup failure 2018-10-05 12:58:18 +02:00
Rhys Arkins 95d01e7ab1 feat: master issue
Adds undocumented/experimental “master issue” feature.

Setting `config.masterIssue = true` will result in Renovate opening and maintaining an issue that contains a list of all PRs both pending and open, and allowing some control over them (e.g. bypass schedule, force retry, etc).

Setting `config.masterIssueApproval` in addition will mean that branches are not created automatically and instead await approval in that master issue.

Closes #2595
2018-10-04 10:08:20 +02:00
Rhys Arkins 1f128bbcc2 refactor: processBranch function interface 2018-10-03 15:57:01 +02:00
Rhys Arkins 8597f16ba9 fix(golang): skip digest updates if real versions exists 2018-10-02 14:20:24 +02:00
Rhys Arkins 29115ba38c fix: bump patch only if explicitly separating
Bump updates should only be separated into “patch” if users explicitly separate patch and minor.

Closes https://github.com/renovatebot/presets/issues/85
2018-09-27 14:57:28 +02:00
Rhys Arkins 0e2947aa3f fix(followTag): jump unstable
Fixes #2561
2018-09-26 15:52:06 +02:00
Rhys Arkins 9d46ca6dbd refactor: lower log levels 2018-09-23 07:26:06 +02:00
Rhys Arkins fc9037a270 logs: correct depName/dependency 2018-09-20 12:13:18 +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 1d39525749 fix: better digest skip detection 2018-09-17 14:35:44 +02:00
Rhys Arkins 0498015f65 refactor(docker): use 7 char short digests 2018-09-16 06:11:12 +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 dda0bade29 refactor: use single localDir per repo (#2505) 2018-09-12 06:30:01 +02:00
Rhys Arkins e5e303f46f logs: fix branches debug 2018-09-07 08:44:20 +02:00
Rhys Arkins 88c6a48b2a logs: less debug 2018-09-05 15:04:18 +02:00
Rhys Arkins 4539487d26 refactor: less logging 2018-09-05 14:18:31 +02:00
Rhys Arkins 0e0d050884 refactor: include releases only if there’s an update 2018-08-29 11:13:45 +02:00
Rhys Arkins 5fb9d77bba feat: separate groups into major/minor/patch (#2426)
Previously if grouping, all major/minor updates within that group were combined into one. Instead, we now honour the “separateMajorMinor”, "separateMinorPatch", and "separateMultipleMajor" settings and keep the groups separate if necessary.

For maximum compatibility with existing PRs, we name branches like `renovate/group-name` whenever possible and only name them like `renovate/major-group-name` or `renovate/patch-group-name` if major or patch are found.

Closes #2425
2018-08-27 06:25:17 +02:00
Rhys Arkins 516f60a2cf refactor: save dep homepage 2018-08-16 18:35:01 +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
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
Rhys Arkins 31f2f4c610 refactor: rename getDependency to getPkgReleases 2018-07-29 16:04:00 +02:00
Rhys Arkins 9555b27d9e fix(lookup): use major/minor/patch updateType instead of bump
Helps https://github.com/renovatebot/config-help/issues/67 and https://github.com/renovatebot/config-help/issues/70#issuecomment-407595535
2018-07-25 08:58:17 +02:00
Rhys Arkins 9064e0af62 fix(baseBranches): apply special branch and PR naming only when multiple
baseBranch will be applied in PR title and in branch name only if there are more than one.

Closes #2306
2018-07-23 16:40:30 +02:00
Rhys Arkins 6f868c83f2 refactor(lookup): return warnings object 2018-07-22 11:43:47 +02:00
Rhys Arkins bb28ae27a2 fix: check for valid fromVersion before pinning 2018-07-22 08:05:21 +02:00
Rhys Arkins 14cbd68d42 feat: rollbackPrs
Adds new config option `rollbackPrs` which defaults to `true` (current behaviour). Setting to false will disable creation of rollback PRs - configurable globally, per-language, per-package, etc.
2018-07-22 06:49:04 +02:00
Rhys Arkins cffef4f1b4 logs: debug rollback versions, not info 2018-07-22 06:32:17 +02:00
Rhys Arkins 7066a5dd99 fix(docker): use tag suffix when looking up new digest 2018-07-21 10:47:29 +02:00
Rhys Arkins 482892042a fix(docker): filter out failed digest lookups 2018-07-20 18:59:30 +02:00
Rhys Arkins 2635b234c7 refactor: don’t warn if no versions found 2018-07-20 10:03:18 +02:00
Rhys Arkins 7254b5f16c feat: use generic lookup for docker (#2280)
Removes custom Docker lookup code and instead integrates it with the generic lookup routine used by other package managers. Logic for digest support was added but is used by Docker-only for now.

Closes #2081, Closes #2276
2018-07-20 09:09:01 +02:00
Rhys Arkins ca23927735 feat: pin PRs should only block necessary PRs
Previously if there were any “pin” updates then that would block all non-pin updates until the pin one was merged. However, this doesn’t make sense if the other PR is for an unrelated dependency.

Closes https://github.com/renovatebot/config-help/issues/64
2018-07-13 06:48:52 +02:00
Rhys Arkins 9521b08b03 refactor: use isSingleVersion in template instead of isRage
Refactors template logic to test for isSingleVersion instead of the negative of isRange. This means that new values like `==1.2.0` in python will be presented as v1.2.0
2018-07-05 21:11:58 +02:00