Commit Graph

404 Commits

Author SHA1 Message Date
Rhys Arkins 73a2b42ac2 fix: clear and apply hostRules before each repo 2019-05-21 08:45:30 +02:00
Rhys Arkins ee218097dc feat: refactor platform authentication (#3758) 2019-05-20 10:59:30 +02:00
Rhys Arkins e46966e390 refactor: remove unused isGitHub/etc 2019-05-18 18:38:46 +02:00
Rhys Arkins daff90163e fix(travis): don’t use setTimeout 2019-05-09 10:43:17 +02:00
Rhys Arkins 01b5ae2638 fix: clear timeouts before existing
Closes #3644
2019-05-08 21:02:09 +02:00
Rhys Arkins 4c97eef994 feat(gitFs): set default git author (#3526) 2019-04-11 12:00:10 +02:00
Jamie Magee 9683265d81 fix(config): init cache early (#3520)
This allows for presets to be used from `config.js`. If no presets are enabled, then the directory isn't created
2019-04-10 15:43:54 +02:00
Rhys Arkins a599eab231 feat: unify file locations (#3507)
feat: unify file locations
2019-04-09 17:14:08 +02:00
Rhys Arkins 07598efa37 fix: move git author logic to global worker and validate (#3410) 2019-03-19 17:21:19 +01:00
Nick Oliver 4b6de0f485 feat(autodiscover): add autodiscoverFilter option (#3394)
adds a `autodiscoverFilter` option which can be a [minimatch](https://www.npmjs.com/package/minimatch) glob-style pattern for filtering `autodiscover`ed repositories. Ex: `project/*`

Closes #3341
2019-03-17 06:49:38 +01:00
Vladimir Starkov 8a841a7c81 feat(bitbucket): Bitbucket Server platform support (#2774)
Closes #2482
2019-02-07 20:04:23 +01:00
Rhys Arkins 03d0066de2 refactor(config): move autodiscover to global 2019-01-22 20:05:38 +01:00
Ilya Savchuk f6ed2256f7 refactor: changed all VSTS to Azure DevOps (#3022)
Rename all VSTS references to be Azure DevOps.

Closes #2810

BREAKING CHANGE: 'vsts' platform is now renamed to 'azure'
2019-01-22 09:41:06 +01:00
Rhys Arkins 55257fff26 feat: centralise app strings (#3032) 2019-01-06 14:47:42 +01:00
Rhys Arkins 4b38793471 refactor: trustLevel 2019-01-05 09:16:32 +01:00
Rhys Arkins 861cce0123 feat: detect/print renovate version 2018-12-17 12:43:15 +01:00
Rhys Arkins db0efdf053 feat: trustLevel
New config option replaces existing option exposeEnv. Set trustLevel=high in the bot config if you trust the contents of the repositories you are renovating. Doing so results in env being exposed, access to localhost, etc.

Closes #2739
2018-11-16 12:16:37 +01:00
Rhys Arkins 4d617b7894 fix: improve footer wording
Closes #2651
2018-10-15 06:55:38 +02:00
Rhys Arkins 8c27d6fb23 tests: drop fatal test and ignore 2018-09-25 12:30:44 +02:00
Rhys Arkins 56245cf872 refactor: fatal err 2018-09-23 06:44:18 +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 ca72f49c3e refactor: move env deletion into env parsing 2018-09-12 06:51:55 +02:00
Rhys Arkins 1d5de52610 refactor: gitlab pro footer 2018-09-09 07:38:12 +02:00
Rhys Arkins 4539487d26 refactor: less logging 2018-09-05 14:18:31 +02:00
Rhys Arkins 737485f69b refactor: cache default 5 minutes 2018-09-03 09:59:27 +02:00
Rhys Arkins 35b2ce8b42 feat: centralised cache (#2472)
Closes #2466
2018-09-03 07:27:22 +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
Ayoub Kaanich 219950399e feat: endpoints credentials handling 2018-07-06 07:26:52 +02:00
Rhys Arkins 068ff16ec4 fix: Revert "feat: endpoint credentials handling (#2146)"
This reverts commit 04e0ca1f80.
2018-07-02 13:18:37 +02:00
Ayoub Kaanich 04e0ca1f80 feat: endpoint credentials handling (#2146)
Refactors credentials/token handling to rely less on env variables and instead use an endpoints middleware for credentials handling.

First step towards #2105
2018-07-02 10:01:42 +02:00
Rhys Arkins 47305b975e refactor: add pro pr footer 2018-06-25 11:55:12 +02:00
Connor Brathwaite 398303235b (refactor): delegate generic predicate checking to @sindresorhus/is (#2021)
Closes #1764
2018-06-04 20:07:22 +02:00
teppeis abebabb91d fix: remove a useless param 2018-05-06 18:02:54 +02:00
Rhys Arkins 13484c6f98 fix: skip validating bot config to avoid unnecessary deprecation warnings 2018-04-17 09:23:41 +02:00
Rhys Arkins c90f2252a2 fix: don't check packageRules selector for default config
Closes #1829
2018-04-12 18:47:14 +02:00
Rhys Arkins 394bc931bd refactor: simply global mergeconfig 2018-04-04 13:47:56 +02:00
Rhys Arkins b89f448946 feat: validate packageRule selectors (#1728)
Validates that each packageRule must contain at least one selector. Resolves the rule first to allow for presets.

Closes #1345, Closes #1693
2018-03-28 10:04:07 +02:00
Rhys Arkins e62aa89a6c feat: customisable prFooter (#1648) 2018-03-12 13:35:15 +01:00
Rhys Arkins 3fd090f3ef feat: prBanner
Enables a “banner” at the top of PRs. Must be set inside a config.js to work.
2018-03-01 17:35:11 +01:00
ctaepper 280e74fa9f feat: expose env to npmrc and npm/yarn/pnpm (#1407)
Adds a config option to bot administrators called `exposeEnv`, for cases where repositories are trusted. If set to true, the bot's full `process.env` can be used for `.npmrc` variable substitution and is passed to child processes when generating lock files. Disabled by default, including in the App.
2018-01-25 10:38:30 +01:00
JYC c9335d5bf6 Add VSTS support (#1049)
This PR adds support for Microsoft's [Visual Studio Team Services](https://www.visualstudio.com/team-services/) platform (in addition to existing GitHub and GitLab support). 

Closes #571
2017-11-12 10:26:53 +01:00
Rhys Arkins 8c479071fd refactor: use global logger (#1116) 2017-11-08 06:44:03 +01:00
Rhys Arkins 6f60289782 feat: install npm as dependency (#808)
* install npm from npm

* use embedded npm and remove versions checking
2017-09-14 18:24:14 +02:00
Rhys Arkins 9c56d6f51c fix: nrefactor config.logger -> logger (#794) 2017-09-14 07:21:22 +02:00
Rhys Arkins 7f97424092 fix: Separate config migration check to own file (#576) 2017-08-02 08:54:42 +02:00
Rhys Arkins 023e520702 fix: Do not log warning when deprecated config options found (#563) 2017-07-31 14:50:44 +02:00
Rhys Arkins 7d493a14bf feat: Log warnings when unknown configuration options or option types found (#554)
This PR adds detection and log warnings for the following config validation errors:
- Unknown config option (e.g misspelling of a valid config option)
- Config option is a wrong type (e.g. string instead of boolean)

It does *not* propagate this warning to the user (i.e. in onboarding or PRs) yet due to the high chance that we'll find a false negative. I will watch logs for a week or so and then once happy with results will activate user-visible warnings via #556.

Closes #548, Closes #555
2017-07-28 21:15:27 +02:00
Rhys Arkins 47044a11e1 feat(yarn): Use embedded yarn version (#510)
Renovate now uses an embedded yarn binary. This way, the version of yarn used can be known + there is no requirement for Renovate admins to install yarn separately.
2017-07-21 08:47:05 +02:00
Rhys Arkins 8e48d97392 feat(logs): Support custom log detail fields
This removes the need to JSON.stringify() objects in logs. Default bunyan fields plus our custom meta fields are stripped out, and everything else is stringified in the details field.

Closes #498
2017-07-19 08:05:26 +02:00
Rhys Arkins 4eb20e0e57 refactor(repositoryWorker): Separate token from config 2017-07-18 07:41:19 +02:00