Commit graph

97 commits

Author SHA1 Message Date
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
Rhys Arkins
f8be45055a
refactor: remove config.api and use platform dispatcher (#1114) 2017-11-07 11:46:10 +01:00
renovate[bot]
cfc6c5ccdf fix: update dependency eslint-config-airbnb-base to v12 (#771)
* chore(deps): update dependency eslint-config-airbnb-base to v12.0.0

* fix lint
2017-09-15 19:46:25 +02:00
Rhys Arkins
6c0d50703f feat: encrypted configuration strings (#759)
A new config object `encrypted` can be defined at any level and contain encrypted configuration strings. Initial use is for encrypting an npm token for use with the hosted renovate app.

Closes #650
2017-09-01 06:45:51 +02:00
Rhys Arkins
16d36a15e2 feat: add npmToken, npmrc and yarnrc configuration support (#753)
Renovate config can now support the fields `npmToken`, `npmrc` and `yarnrc`. `npmrc` and `yarnrc` (note no `.` prefix) can be used as an alternative to checking the respective files into the repo and have the same effect. `npmToken` is a shorter alternative and allows for just the npm token to be added, defaulting to the public npm registry.
2017-08-29 09:25:44 +02:00
Rhys Arkins
ea9ace2a76 feat: branch worker updates (#736)
This is a major refactor of branch code to prepare for Yarn workspaces plus creating PRs for branches with failing lockfiles. Marked as "feature" to cause a minor version bump due to the moderate chance of accidentally breaking something.
2017-08-26 16:10:18 +02:00
Rhys Arkins
ccb66310b1 feat: Pre-fetch all package.json files (#642)
Repository initialisation is refactored so that all package files and their content is retrieved up-front before an renovating begins. This allows us to know both how many package files as well as determine if there is renovate json in a package.json before triggering the onboarding PR.

Closes #634
2017-08-08 06:25:44 +02:00
Rhys Arkins
db2e6dd1b9 refactor: Convert Object.assign to spread (#585)
Closes #226
2017-08-03 08:01:20 +02:00
Rhys Arkins
30155782f5 chore(logs): Ignore start_time log field 2017-07-19 08:41:09 +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
c4dcad7de8 chore: squash template fields in config log serializer 2017-07-02 06:32:52 +02:00
Rhys Arkins
552b5e68c5 Refactor helpers (#382)
* Move yarn and npm helpers into branch worker

* Fix name

* Move package-json helper

* Update name

* Move changelog

* Move github-app

* Remove unused platform

* Move logger

* Fix lint
2017-06-29 07:29:41 +02:00