Commit graph

61 commits

Author SHA1 Message Date
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
Jamie Magee
5ce5ef39c1
chore(internal): disallow implicit braces (#5730) 2020-03-17 12:15:22 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib (#5635) 2020-03-05 21:57:24 +01:00
Rhys Arkins
d06a8ef811 fix(logs): treat old/new config as config 2020-02-24 13:19:35 +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
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
e1bb02a098 fix(logs): stackTraceLimit=20 2020-02-12 14:16:20 +01:00
Rhys Arkins
394c789e0c fix(logs): adapt command serializer 2020-01-15 11:58:28 +01:00
Rhys Arkins
0dab3f4067 refactor: logs meta 2020-01-11 09:16:22 +01:00
Jamie Magee
4c287bc655 refactor(logger): convert more loggers to typescript (#4887)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2019-11-29 13:52:46 +01:00
Michael Kriese
f0d4995fda fix(eslint): '@typescript-eslint/explicit-function-return-… (#4872) 2019-11-26 16:13:07 +01:00
Rhys Arkins
8d0aa39920 refactor(eslint): '@typescript-eslint/explicit-function-return-type' improvements 2019-11-24 08:43:24 +01:00
Carlin St Pierre
a20ca3c8a5 fix: Allow Date objects to pass through sanitizeValue without all of the fields being removed (#4809)
This fixes an issue where timestamps were not being logged because `Object.entries<any>(value)` for a Date object would return `{}`.
2019-11-15 07:04:58 -08:00
Sergio Zharinov
c95ae29179 feat(logger): Integrate logger with sanitizing (#4474) 2019-09-27 11:28:09 +02:00
Rhys Arkins
1819608ce0
refactor(changelog): fetch release list independently (#4398) 2019-08-29 08:21:17 +02:00
Michael Kriese
f650b851c5 feat(logger): store and print errors on exit (#4257) 2019-08-15 12:43:13 +02:00
Michael Kriese
5cb02acf2b fix/logger): meta should be logged as meta (#4258) 2019-08-07 09:04:45 +03:00
Michael Kriese
4a43ebce39 fix(logging): replace password in auth gotOptions (#4108) 2019-07-17 13:49:35 +02:00
Michael Kriese
d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
Rhys Arkins
27505b38b3 fix(logger): migrate last refs to ts
Closes #4094, Closes #4095
2019-07-15 15:04:03 +02:00
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
Rhys Arkins
a7e1115237 fix: redact private header 2019-06-06 17:01:26 +02:00
Rhys Arkins
4a854e6c2c fix(logs): serialize migratedConfig, originalConfig, presetConfig 2019-05-27 10:53:40 +02:00
mohd hassaan
315f036e38 fix: Return non-zero exit code in any fatal error (#3621) 2019-05-02 12:20:00 +02:00
Rhys Arkins
7bc2f157ee refactor: logger cmdSerializer 2019-04-09 12:23:56 +02:00
Rhys Arkins
107051e7cd tests: lint 2019-04-08 08:55:28 +02:00
Rhys Arkins
3da629247e fix(logs): err serializer strip secrets 2019-04-08 08:22:40 +02:00
Rhys Arkins
7be889e315 fix(logs): serialize cmd to strip tokens 2019-04-08 08:16:04 +02:00
Rhys Arkins
c9f175daaa refactor: redact gotOptions 2019-01-22 19:58:30 +01: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
80463651ca feat: logger err serializer
Include body, message and stack with every error if present
2018-09-05 10:32:53 +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
994284d2cb refactor(logs): special handling for module 2018-08-28 12:40:50 +02:00
Rhys Arkins
d8b50d7b09 logs: simplify releases 2018-06-27 07:21:17 +02:00
Rhys Arkins
98e9198c8e refactor: replace indexOfs 2018-06-04 20:44:32 +02:00
Connor Brathwaite
398303235b (refactor): delegate generic predicate checking to @sindresorhus/is (#2021)
Closes #1764
2018-06-04 20:07:22 +02:00
Rhys Arkins
80ebeadf83 logs: serialize array fields 2018-05-03 14:21:24 +02:00
Rhys Arkins
f408d582e8 fix: serialize body in logs 2018-04-18 06:32:06 +02:00
Rhys Arkins
c7b00f4a8f refactor: don’t mask commitMessage and prTitle 2018-04-17 10:34:30 +02:00
Rhys Arkins
9ff363251f
fix: return non-zero exit code if any errors (#1625)
fix: return non-zero exit code if any errors
2018-03-09 12:00:57 +01:00
Rhys Arkins
47bf45019d fix: better serialize content fields 2018-03-08 07:22:06 +01:00
Rhys Arkins
dc49ac42da fix: add authorization to redacted logger fields 2018-02-19 09:11:24 +01:00
Rhys Arkins
b5b714d4b5
fix: writeToken -> forkToken (#1295)
Rename writeToken to forkToken to make it clearer. This enables GitHub API to use one token for all reads, and another token just for writing to the forked repository.
2017-12-14 11:47:00 +01:00
Rhys Arkins
bbb700c54d feat: add github writeToken capability in github wrapper 2017-12-12 14:54:09 +01:00
Rhys Arkins
5036360658
feat: gitPrivateKey for signed git commits (#1282)
This feature enables signing of git commits on GitHub. To achieve this, Renovate must be configured with a gitPrivateKey in format supported by openpgp. There must also be a gitAuthor configured to enable this feature.

Closes #897
2017-12-09 17:56:23 +01:00
Rhys Arkins
fca3a1fbd1
feat: json logging (#1146) 2017-11-11 07:51:36 +01:00
Rhys Arkins
0c882ce135
refactor: add logger master (#1124) 2017-11-08 15:43:09 +01:00
Rhys Arkins
89e13d05fe
fix: refactor logger addStream and depType logging (#1117)
* fix: refactor logger addstream

* remove depTyp setMeta
2017-11-08 09:59:32 +01:00
Rhys Arkins
8c479071fd
refactor: use global logger (#1116) 2017-11-08 06:44:03 +01:00