Jamie Magee
456245aabe
chore(eslint): enable typescript 3.7 rules ( #6765 )
2020-07-18 08:42:32 +02:00
Rhys Arkins
be37109cf6
refactor: rename globalCache to packageCache ( #6580 )
2020-06-25 08:32:55 +02:00
Rhys Arkins
f77b7e8781
refactor: simplify global init ( #6452 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-22 17:00:46 +02:00
Rhys Arkins
8ed1eb08d1
feat(cache): redis global cache ( #6315 )
2020-05-25 10:23:32 +02:00
Rhys Arkins
0aae466cc1
fix(cache): global cache init ( #6314 )
2020-05-24 10:58:58 +02:00
Rhys Arkins
e990c6b24c
logs: info log list of autodiscovered repositories
2020-05-22 14:47:49 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks ( #5986 )
2020-05-18 14:33:44 +02:00
Rhys Arkins
df66994985
chore: fix lint
2020-05-12 07:09:23 +02:00
Rhys Arkins
c5ee8abfc2
refactor: global cache
2020-05-11 22:26:47 +02:00
Michael Kriese
00c56d8bde
chore: fix types ( #5904 )
...
* chore: fix types
* fix more types
* chore: mote fixes
* fix frmat
* chore: fix tests
* chore: fix type
* chore: cleanup
* chore: cleanup
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-07 10:23:45 +02:00
Rhys Arkins
53ca91301f
chore: import linting ( #6105 )
2020-05-01 18:03:48 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 ( #5952 )
...
* chore(deps): update dependency prettier to v2
* Run prettier-fix
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
kroonprins
63b5094915
feat(azure): support Azure DevOps Server authentication methods ( #5602 )
...
* feat(azure): support Azure DevOps Server authentication methods
* feat(azure): support Azure DevOps Server authentication methods
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-03-24 23:08:00 +01:00
Rhys Arkins
85cbc96184
fix: remove host stats
2020-03-13 06:47:20 +01:00
Rhys Arkins
3371b95403
feat: clean up dangling docker containers at startup ( #5678 )
2020-03-09 15:56:50 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib ( #5635 )
2020-03-05 21:57:24 +01:00
Rhys Arkins
f1d0b7b5fe
refactor: lower some levels from info to debug
...
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
a56e0de4c7
feat: move localDir awareness to util/exec ( #5207 )
2020-01-21 18:04:50 +01:00
Rhys Arkins
a13ebf8979
fix(exec): call exec per-repo, not globally
2020-01-15 05:27:49 +01:00
Rhys Arkins
56d94e259f
refactor: centralized docker volumes ( #5132 )
2020-01-12 19:47:39 +01:00
Rhys Arkins
da22cc35f1
refactor: global config massage
2020-01-11 11:22:42 +01:00
Rhys Arkins
abbc9147ea
refactor: global worker config
2020-01-11 11:18:10 +01:00
Rhys Arkins
e77d596f32
fix(cache): default init using tmpdir
2020-01-11 11:11:49 +01:00
Rhys Arkins
8170aed064
logs: print renovate version as part of renovateRepository
2020-01-11 07:50:08 +01:00
Rhys Arkins
9ce229bef3
refactor: init cacheDir inside setDirectories
2020-01-11 07:35:06 +01:00
Rhys Arkins
a544032b10
refactor: move repositories warn
2020-01-11 07:28:42 +01:00
Rhys Arkins
2715603ad3
refactor: centralize dockerUser logic
...
Closes #5124
2020-01-10 17:38:27 +01:00
Rhys Arkins
2adad0dae6
fix: drop configurable appName ( #4931 )
2019-12-05 11:55:14 +01:00
Rhys Arkins
5ad362fb21
fix: Revert "fix: refactor appStrings imports"
...
This reverts commit aec281840b
.
2019-12-04 16:44:04 +01:00
Rhys Arkins
aec281840b
fix: refactor appStrings imports
2019-12-04 16:18:37 +01:00
Michael Kriese
d210191fec
fix(typescript): convert workers/global to ts ( #4883 )
2019-11-26 14:05:24 +01:00
Rhys Arkins
8d0aa39920
refactor(eslint): '@typescript-eslint/explicit-function-return-type' improvements
2019-11-24 08:43:24 +01:00
Rhys Arkins
473b7e1f4b
refactor(eslint): enable @typescript-eslint/no-use-before-define
2019-11-24 05:09:13 +01:00
Julien SIMON
d1e7c17f25
feat: prCommitsPerRunLimit ( #4392 )
2019-10-14 13:15:37 +02:00
renovate[bot]
dcc9c559b6
build(deps): update dependency cacache to v13 ( #4599 )
2019-10-08 08:51:07 +02:00
Jamie Magee
0c538ebf78
feat(emoji): Adds support for configuring emoji types ( #4409 )
2019-09-25 11:40:16 +02:00
Michael Kriese
331863d211
feat(platform): remove global platform variable ( #4455 )
2019-09-10 09:50:29 +02:00
Rhys Arkins
a32c8f4ccc
fix: Revert "feat(platform): remove global platform variable ( #4448 )"
...
This reverts commit b5c9dc8e0b
.
2019-09-09 06:55:30 +02:00
Michael Kriese
b5c9dc8e0b
feat(platform): remove global platform variable ( #4448 )
2019-09-09 04:40:52 +02:00
Michael Kriese
88892abb56
fix: typescript types ( #4393 )
2019-08-28 09:00:08 +02:00
Rhys Arkins
c4e812a2c9
docs: update docs and app references
2019-08-27 13:11:25 +02:00
Michael Kriese
f650b851c5
feat(logger): store and print errors on exit ( #4257 )
2019-08-15 12:43:13 +02:00
Michael Kriese
d97737914e
refactor: add js type check ( #4098 )
2019-07-17 10:14:56 +02:00
Jamie Magee
f334c568a5
feat(typescript): convert logger to typescript ( #3671 )
2019-07-15 11:04:05 +02:00
Rhys Arkins
aa38e6af4f
feat: host stats ( #3812 )
...
Collects latency stats for hosts and dumps them at the end of each run.
2019-05-26 09:33:09 +02:00
Rhys Arkins
5f11c5e8d9
feat: hostRules rewrite ( #3801 )
...
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`
Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Rhys Arkins
2426a5239f
feat(github): use git for all file operations ( #3806 )
...
With Renovate’s github platform code now using git for all file system operations, we need to tell Renovate which gitAuthor to use.
If you had already configured a gitAuthor in your bot config, you do not need to make any change.
Otherwise, to keep functionality as before, you should either:
(1) configure `gitAuthor` to match the bot’s account, or
(2) recreate your bot’s personal access token to include the “user:email” permission so that the bot can retrieve the email itself
BREAKING CHANGE: GitHub bot admins should either configure gitAuthor in their config or generate a new token with “user:email” permissions.
2019-05-24 16:34:52 +02:00
Michael Kriese
5f213255d0
test: fix coverage ( #3794 )
2019-05-24 15:01:07 +02:00
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
Rhys Arkins
5f02c91823
refactor(config): Warn instead of error when no repositories found
2017-07-15 06:47:20 +02:00
Rhys Arkins
6f49927a45
feat: schedule support for lock file maintenance
...
This feature now allows a custom schedule to be defined for lock file maintenance. It is now enabled by default but runs only before 5m on Sundays. Closes #399
BREAKING CHANGE: lock file maintenance is enabled by default.
Rules will apply to both yarn and npm (npm is yet to be implemented however). Existing mainainYarn* variables are removed and replaced by new lockFileMaintenance object.
2017-07-01 06:46:11 +02:00