Commit graph

33 commits

Author SHA1 Message Date
Rhys Arkins
c3acca8877
refactor: better manager types (#15708)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-24 07:01:43 +00:00
Michael Kriese
982cefff2b
refactor(config): strict null checks (#15291)
* refactor(config): strict null checks

* chore: fix test
2022-04-24 22:48:54 +00:00
Rhys Arkins
dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00
Rhys Arkins
96c4df2776
chore: clean up ManagerConfig types (#11469)
* chore: use ExtractConfig for git-submodules

* chore: drop ManagerConfig from config/types

* chore: remove unused ManagerConfig from manager types
2021-08-30 08:05:32 +02:00
Rhys Arkins
750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Rhys Arkins
11694e9294
refactor: move config/parse into global worker (#10282) 2021-06-02 12:06:16 +02:00
Rhys Arkins
d0434d5df1 chore: GlobalConfig -> AllConfig 2021-06-02 11:25:10 +02:00
Rhys Arkins
cbf8ea4e55 feat(config): delay preset resolution until after platform initialization (#9415)
Delay config preset resolution in admin config until after platform initialization. This will enable resolution of private “local>…” presets to work.

BREAKING CHANGE: Config presets will be resolved after platform initialization, so from now on platform credentials cannot be placed in presets.
2021-04-22 08:47:58 +02:00
Rhys Arkins
95ac10998c feat: remove logLevel support in config (#9390)
Remove support for logLevel in config. Must be configured using LOG_LEVEL instead.

Closes #8291

BREAKING CHANGE: Configure LOG_LEVEL in env and not in config or CLI
2021-04-22 08:47:58 +02:00
Sergei Zharinov
b957d4afb7
refactor(config): Extract interfaces from "index.ts" to separate "types.ts" (#9629) 2021-04-20 10:52:57 +02:00
Rhys Arkins
6443902da9 chore: remove unused customPrFooter 2021-04-06 16:06:26 +02:00
Rhys Arkins
3357e6333d
refactor: Object.assign -> object spread (#9076) 2021-03-11 08:03:37 +01:00
Rhys Arkins
f2bd0f9d7d fix(logs): ensure logFile parent directory exists 2021-03-03 09:40:39 +01:00
Michael Kriese
74d7691bef
refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Rhys Arkins
4e1271b702
fix(config): move trustLevel to admin config (#8555) 2021-02-05 12:30:01 +01:00
Rhys Arkins
3756f2aec3 refactor: GlobalConfig type 2021-02-05 10:49:34 +01:00
Michael Kriese
434fdbd4be
feat: deprecated logLevel option (#8301)
* feat: deprecated logLevel option

* feat: deprecated logLevel option

* docs: update logging

* fix: remove log level env option

* Update warn

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-01-19 09:29:45 +00:00
Rhys Arkins
e77253208e fix: Revert "feat: deprecated logLevel option (#8293)"
This reverts commit 76ada5e7d5.
2021-01-14 15:12:53 +01:00
Michael Kriese
76ada5e7d5
feat: deprecated logLevel option (#8293)
* feat: deprecated logLevel option

* feat: deprecated logLevel option

* docs: update logging
2021-01-14 12:11:23 +00:00
Rhys Arkins
953101bf15
fix: don’t force cli token or hostRules (#7303)
Closes #7298
2020-09-16 16:34:18 +02:00
Robert Lin
cd57b3e3df
fix: do not override config.force with forceCli (#7274) 2020-09-15 10:17:44 +02:00
Tim Gatzemeier
ee5e0ad162
feat: add privateKeyPath to support reading PK from file (#7158)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:42:33 +02:00
Rhys Arkins
e834f2b826
feat: prHeader and prFooter (#6511) 2020-06-14 08:49:52 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Florian Greinacher
e6453ae423
feat(presets): add support for local presets (#5814) 2020-04-14 07:05:30 +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
Michael Kriese
e779d895f7
test(coverage): lib/config (#5656) 2020-03-07 11:27:10 +01:00
Rhys Arkins
adde436df0
feat(logger): logContext (#5553)
Adds a new concept `logContext`, to be added to each log entry when in JSON format.

Closes #5551
2020-02-23 07:31:13 +01:00
Rhys Arkins
da22cc35f1 refactor: global config massage 2020-01-11 11:22:42 +01:00
Rhys Arkins
2b9da5c2e3 fix: add trailing slash to endpoint
Closes #5069, Closes #5082
2020-01-01 09:23:55 +00:00
Michael Kriese
f243e3cf22 fix(config): fix cyclic imports (#4477) 2019-09-12 08:43:08 +02:00
Michael Kriese
79f72f0b5d chore: move clone to utils (#4434) 2019-09-06 06:48:25 +02:00
Michael Kriese
2b11b661ed feat(config): convert to ts (#4299) 2019-08-23 15:46:31 +02:00
Renamed from lib/config/index.js (Browse further)