Commit Graph

3413 Commits

Author SHA1 Message Date
Rhys Arkins 61466b7114 fix: remove prBody double compile 2018-09-02 19:18:44 +02:00
Rhys Arkins d660c57a19 feat: add prBanner to default prBody template 2018-09-02 18:21:48 +02:00
Erik Seliger 6cf6eab8fa fix: allow cli json lists (#2457)
Now supports `--endpoints=[........]` via CLI.

Closes #2455
2018-08-31 21:44:40 +02:00
Vladimir Starkov 608d8c5be0 feat: Bitbucket Cloud support
Adds platform support for Bitbucket cloud.

Closes #136, Closes #2238
2018-08-29 07:30:23 +02:00
Rhys Arkins f99af76370 fix(circleci): support nested directories 2018-08-29 06:58:55 +02:00
Rhys Arkins 4ef12ff598 fix: check val before migrating 2018-08-27 17:05:24 +02:00
Rhys Arkins df142f475e fix: add line break after Compare Source in PR template 2018-08-27 13:51:37 +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 50acfff1ba fix: packageRules.paths definition 2018-08-24 17:08:32 +02:00
Rhys Arkins 3d0637f432 feat: support encryption with RSA_PKCS1_PADDING
Renovate will now attempt to decrypt with existing default padding, and if that fails then try with RSA_PKCS1_PADDING.
2018-08-22 11:00:19 +02: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
Maximilian Gaß 8a9c371bef fix(docker): fix Docker group template (#2398) 2018-08-17 10:46:30 +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 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
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
Rhys Arkins b41a2a9256 feat: support DOCKER_USERNAME and DOCKER_PASSWORD 2018-08-05 07:39:38 +02:00
Rhys Arkins 5a89b27f88 refactor: move endpoints from global to repository 2018-08-05 07:32:20 +02:00
Rhys Arkins a53eb1adf8 refactor: expose endpoints configuration object 2018-08-05 07:02:08 +02:00
renovate[bot] 48bddceb4d fix: update dependency commander to v2.17.0 (#2343) 2018-08-04 08:36:28 +02:00
Maximilian Gaß 4a3ed1dd6b feat: Implement Kubernetes manager (#2341)
Add support for renovating Docker images in Kubernetes manifests
2018-08-04 08:04:11 +02:00
Rhys Arkins 048eb6bf6e feat: github-hosted presets (#2328)
Adds support for GitHub-hosted presets, using the `github>` prefix. Supports single preset per repository only.

Example:

```json
{
  "extends": ["github>renovatebot/renovate"]
}
```

The above would extend the `renovate.json` inside this repository (probably not a good idea, but an example).

Closes #2102, Closes #2312
2018-07-31 06:48:56 +02:00
Rhys Arkins 83e00f2adc refactor(presets): move more logic into datasource 2018-07-30 08:08:28 +02:00
Rhys Arkins 32c775265a refactor: separate npm.getPresets 2018-07-30 07:12:30 +02:00
Rhys Arkins 31f2f4c610 refactor: rename getDependency to getPkgReleases 2018-07-29 16:04:00 +02:00
Rhys Arkins 1da53671b8 feat: vulnerabilityAlertsOnly
For use in new app
2018-07-29 09:03:54 +02:00
Rhys Arkins ac371e2a37 feat(github): vulnerability alerts (#2321)
Adds rules to skip any configured grouping or schedules that prevent insecure packages from being updated immediately.

If GitHub's vulnerability alerts are detected, package rules are added to force empty schedule and grouping for each affected package. Settings are configurable via new `vulnerabilityAlerts` config object, e.g. so that custom PR titles, labels or assignees can be configured.

Closes #1567
2018-07-29 06:35:25 +02:00
Rhys Arkins 21ed038eed fix: add commitMessageSuffix to definitions 2018-07-28 20:47:25 +02:00
Rhys Arkins 28afece617 feat: use release notes name in pr body if found 2018-07-22 10:29:55 +02:00
Rhys Arkins c97c71a31d refactor(buildkite): use default pr body template 2018-07-22 10:21:07 +02:00
Rhys Arkins 95475be47a refactor(docker): disable rollback PRs by default 2018-07-22 06:51:20 +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 37b1c8f0de feat: gitlabci.yml support (#1744)
Adds support for .gitlabci.yml files. Part of the logic is same as Docker Compose files, however the “services” list is new/different so requires additional logic.

Closes #1598
2018-07-22 06:33:11 +02:00
Rhys Arkins 91215af1ba refactor(js): use language ‘js’ for npm and meteor 2018-07-21 21:28:38 +02:00
Rhys Arkins a0e2a18e7a refactor(docker): rename docker manager to dockerfile (#2298)
"docker" in config now refers to the Docker "language", which is the parent of dockerfile, docker-compose and circleci managers.
2018-07-21 19:40:50 +02:00
Rhys Arkins 441eac73b7 fix(docker): currentTag in pr body 2018-07-20 09:40:56 +02:00
Rhys Arkins 8c0857b88b fix: scheduler parse check 2018-07-20 08:40:43 +02:00
Rhys Arkins b3fb4e3bf7 fix: ignore $schema when validating 2018-07-18 09:31:55 +02:00
Rhys Arkins 2c8b817b4d fix(config): return config.endpoint from env parsing
This should address the GITHUB_ENDPOINT problem in #2249
2018-07-12 14:10:19 +02:00
Rhys Arkins d56ca3ae23 fix(vsts): detect VSTS_TOKEN 2018-07-12 14:05:10 +02:00
Rhys Arkins ee4132fd14 refactor: if/else with return 2018-07-09 11:28:42 +02:00
Rhys Arkins 11c4741271 refactor: fix import order 2018-07-09 11:15:06 +02:00
Rhys Arkins 42145e60fc refactor: log npmrc 2018-07-06 16:56:29 +02:00
Ayoub Kaanich 219950399e feat: endpoints credentials handling 2018-07-06 07:26:52 +02:00
Rhys Arkins 41b733ce4f fix: Revert "fix: force pin dependencies config"
This reverts commit 247bdf6bb3.
2018-07-05 22:08:19 +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
Rhys Arkins d4f2572651 fix: assign config.force after every mergeChildConfig 2018-07-05 18:55:00 +02:00
Rhys Arkins 13f09b9f36 refactor: simplify patch branch name 2018-07-05 18:21:43 +02:00
Rhys Arkins 6643a3d09e feat: npm token substitution in npmrc
If an encrypted npmToken is found alongside an unencrypted npmrc in config, then the token will replace any `${NPM_TOKEN}` placeholder found, or be appended to the end of the file. This enables large npmrc files to be defined in config without needing to enrypt the entire thing.

Closes #1796
2018-07-05 15:44:42 +02:00