Commit graph

889 commits

Author SHA1 Message Date
Rhys Arkins
7b91912680 chore: revert git timeout change 2021-12-16 16:53:56 +01:00
Sergei Zharinov
992d3f6dc3
test(util/git): Use global timeout setting (#13141) 2021-12-16 13:52:49 +01:00
Sergei Zharinov
d0d482155d
fix(util/emoji): Update emoji-related deps (#13122)
* chore(util/emoji): Update emoji-related deps

* Remove unused dep

* Fix
2021-12-15 12:49:25 +01:00
Sergei Zharinov
995df4d9a7
refactor(util/exec): Fix strict null errors (#12909)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-10 15:07:02 +01:00
Rhys Arkins
a86eceb7d4 fix: default empty string for replace 2021-12-10 13:55:13 +01:00
Rhys Arkins
a9d334874a
feat: binarySource=install (#12961) 2021-12-10 10:56:00 +00:00
Michael Kriese
7c4a71b679
feat!: remove node v12 and node v15 support (#12658)
BREAKING CHANGE: remove node v12 and v15 support
2021-12-09 13:44:42 +01:00
Oleg Sigida
12f467af92
chore: improve logging for stale branch rebase (#13009)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-08 14:36:09 +00:00
Oleg Krivtsov
3fa21fbf83
feat(workers/global): check git at startup (#12935) 2021-12-08 13:11:43 +01:00
Sergei Zharinov
88d348650c
fix(github): Log fieldName when shrinking page size (#12990) 2021-12-07 16:36:42 +01:00
RahulGautamSingh
597da6ff59
refactor: flagged relevant regex (#12976) 2021-12-06 15:05:37 +00:00
Rhys Arkins
2d50969550
chore: fix duplicate types import (#12973)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-06 12:41:43 +00:00
Rhys Arkins
99749f17f3
fix(npm): allow hash -d to fail (#12960) 2021-12-05 09:27:21 +01:00
Rhys Arkins
328de3fc27
refactor: exec types (#12942) 2021-12-04 07:12:27 +01:00
Rhys Arkins
38ae77eafc
refactor(npm): move hash to allToolConfig (#12946) 2021-12-03 23:13:27 +01:00
Rhys Arkins
ded642bf92
refactor(npm): move hash to toolConstraints (#12943) 2021-12-03 16:49:27 +01:00
Rhys Arkins
8c588ddbfc
feat(npm): use install-tool instead of npm global installs (#12624) 2021-12-03 12:58:39 +01:00
Rhys Arkins
508cec1015
refactor: move preCommands out of docker options (#12938) 2021-12-03 12:07:32 +01:00
Rhys Arkins
b95f608fa1
refactor: remove unused postCommands (#12939) 2021-12-03 11:00:49 +01:00
RahulGautamSingh
3a9aeb0f0a
fix: match source url prefixes compares case insensitive (#12896) 2021-12-01 14:32:56 +00:00
Sergei Zharinov
879e59fa19
refactor(util/fs): Enable strict null checks (#12904) 2021-12-01 09:12:56 +00:00
RahulGautamSingh
ee2e155f1f
fix: modify regex to be re2 compatbile (#12778)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-29 19:16:05 +00:00
Sergei Zharinov
52b2bdbb48
refactor(util/cache): Enable strict nulls (#12887) 2021-11-29 17:04:43 +01:00
Sergei Zharinov
f4dbff9bd3
refactor(util/host-rules): Strict null checks for host rules (#12868)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-28 16:31:11 +01:00
Sergei Zharinov
0bb5fcb6f7
refactor(util/regex): Enable strict null checks (#12866)
* refactor(util/regex): Enable strict null checks

* Fix coverage

* Refactor guard checks
2021-11-28 09:04:44 +01:00
Sergei Zharinov
ef51e85b7a
refactor(cache/package): Enable strict checks (#12862)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-27 12:08:24 +00:00
Sergei Zharinov
562d4ef5e9
test(util/sanitize): Improve test for sanitize function (#12860) 2021-11-27 05:54:06 +00:00
Sergei Zharinov
1a39195559
refactor(git): Extract types to separate file (#12855) 2021-11-26 20:36:17 +00:00
Oleg Krivtsov
6293641326
feat(config): add safeguard timeouts (#12604)
* Add safeguard timeouts #2804

* Fix unit tests

* Fix unit tests

* Update lib/util/exec/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Changes after code review

* Fixes after merge

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-25 11:18:27 +00:00
Sergei Zharinov
96b854df90
fix(github): Log shrinked GraphQL page size (#12706) 2021-11-24 06:04:09 +00:00
Maksim
06d8c27043
refactor: global config (#12743)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-23 21:10:45 +01:00
Rhys Arkins
84b776cebe
feat: support update-lockfile for unconstrained deps (#12802) 2021-11-23 11:21:10 +00:00
Andrei Nistor
d2d356c801
feat: Add jsonnet-bundler support (#12720) 2021-11-22 15:36:48 +00:00
Rhys Arkins
2ae52b3bd9 logs: remove warn interpolation 2021-11-19 10:40:29 +01:00
Rhys Arkins
cfc4c48a47
fix(github): handle secondary rate limit (#12741) 2021-11-18 16:47:17 +01:00
Rhys Arkins
e7b841a138
feat: regex cache (#12738)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-18 14:36:05 +00:00
Rhys Arkins
e0c1d31bc9 fix(git): catch matches more than one
Fixes #12734
2021-11-18 12:41:31 +01:00
Sergei Zharinov
a7792bc5b4
refactor(typescript): Refactor more files (#12696)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-17 09:32:33 +00:00
Sergei Zharinov
49d3c18e31
fix(github): Shrink GraphQL page size and retry for any ExternalHostError (#12689) 2021-11-16 15:16:31 +00:00
Sergei Zharinov
c98b79b11a
test(typescript): Gradual migration to strict "null" and "any" checks (#12681) 2021-11-16 08:45:17 +01:00
markussiebert
c80c7f3d0c
feat: add stringToPrettyJSON handlebars function (#12643) 2021-11-14 19:49:05 +00:00
Jamie Magee
98e7029090
feat: replace deprecated dependencies with their replacements (#5558)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-12 08:10:52 +00:00
Rhys Arkins
04620d71a8
feat: evaluate buildpack constraints in exec (#12609) 2021-11-12 08:19:23 +01:00
Rhys Arkins
bf09337076
fix: enable eslint eqeqeq (#12574)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-09 07:02:59 +00:00
Rhys Arkins
c3ad246a99
fix: no-param-reassign (#12571) 2021-11-09 07:04:34 +01:00
Rhys Arkins
7e8239dd65 fix(github): better request error handling 2021-11-09 05:16:06 +01:00
HonkingGoose
ab018191fa
chore: report and fix unused ESLint disable directives (#12548) 2021-11-08 20:20:03 +01:00
Michael Kriese
7afc2b75d5
test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
Sergei Zharinov
b9be8d4d6a
fix(http): Destroy some got responses explicitly to avoid onCancel errors (#12533) 2021-11-06 16:59:09 +01:00
Maksim
4aa5b52992
feat(onboarding): use .editorconfig file to get indentation style (#11456)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-05 13:25:50 +00:00
Rhys Arkins
ada343da8e
fix(github): expected flush after ref listing (#12472) 2021-11-03 07:22:41 +01:00
Michael Kriese
6be7e756fc
fix(github): log graphql errors (#12452) 2021-11-02 12:12:29 +01:00
Rhys Arkins
19ee8a318c logs: reviewers/stale debug 2021-11-02 09:52:27 +01:00
Rhys Arkins
e96d35d051 logs: downgrade error to warn 2021-11-01 16:56:43 +01:00
Tobias
87c5e8e022
feat(gomod): use git host rules as authentication for gosum updates (#12230)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-31 07:06:59 +00:00
Rhys Arkins
87a8c6d7a9
fix(git): catch ambiguous argument determining default branch (#12396) 2021-10-29 14:01:42 +02:00
Feng Yu
5c24e2955a
test: add timeout option test for exec (#12278) 2021-10-28 11:42:21 +02:00
Rhys Arkins
dc445bde7a
logs: graphql nodes error query and options (#12370) 2021-10-28 10:37:09 +02:00
Tobias
53964d196d
fix(gomod): remove token encoding (#12352)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:49:36 +00:00
RahulGautamSingh
91f067b39f
fix: refactor regex to use re2 part3 (#12283)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:37:11 +00:00
Oleg Krivtsov
29dde2f694
test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
Rhys Arkins
8571b3e68d
feat: binarySource=docker avoid unstable tags (#12309) 2021-10-25 13:19:17 +02:00
Rhys Arkins
36aa1d631a
fix(bitbucket): perform full clone (#12257) 2021-10-22 07:17:39 +02:00
Rhys Arkins
c62cdbfebb
fix(git): use rev-parse to get default branch (#12248) 2021-10-21 11:14:00 +00:00
Tobias
15dd2fcf02
feat(git): insteadOf environment variables for authentication (#11077)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-10-20 13:16:49 +02:00
Sergei Zharinov
eef4c2f11f
feat(github): Use native auto-merge when possible (#12045) 2021-10-20 03:31:03 +00:00
RahulGautamSingh
4b16903ff1
fix: modified regex to use RE2 (#12025)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-19 14:53:34 +02:00
Maksim
a2ceff099f
refactor: introduce enum programming-language (#12052) 2021-10-13 10:54:40 +00:00
Sergei Zharinov
9c6b79c990
refactor(github): Generic graphql request helper (#12142) 2021-10-13 11:31:22 +02:00
Jamie Magee
4461796836
refactor(crate): convert to class-based datasource (#12033) 2021-10-13 04:42:12 +00:00
Steve King
3d67812fea
fix(git): simple-git use clone rather than exit (#12092)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-11 07:03:15 +00:00
Rhys Arkins
40343d71fa
fix(git): detect github force push rejection (#12108) 2021-10-11 08:54:07 +02:00
Rhys Arkins
d6eb395300
fix(git): force add onboarding config (#12103) 2021-10-10 19:47:32 +00:00
Rhys Arkins
95003a6c04
fix(git): catch common branch push errors (#12096) 2021-10-10 17:24:54 +02:00
ylemkimon
d55650ff19
fix(git): support setting executable bit (#12085) 2021-10-09 09:02:12 +00:00
Rhys Arkins
2cf51bb681
Revert "fix(git): support setting file mode (#12081)" (#12082) 2021-10-09 08:22:00 +02:00
ylemkimon
807f124d39
fix(git): support setting file mode (#12081) 2021-10-09 07:44:33 +02:00
Maksim
1f86b71fd5
refactor: constants (#11690) 2021-10-06 07:43:32 +02:00
jjcaballero
9fea985b95
feat: create datasource for artifactory registry (#11602) 2021-10-01 08:39:29 +00:00
Martin Herndl
a630a927bb
feat(git): safely force push with lease (#11754) 2021-09-30 11:16:59 +02:00
Jennifer Wilcox
5273cbc1cb
fix(docker): handle redundant port in image (#11852) 2021-09-24 12:13:54 +00:00
Michael Kriese
28222bf762
fix: do not fallback if explicit auth is configured (#11760)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-15 15:13:17 +00:00
Rhys Arkins
cdc083f40f
feat(config): privateKeyOld (#11653) 2021-09-10 12:47:33 +02:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Rhys Arkins
d6d4124b11
feat(git): blobless git (#11401) 2021-09-09 09:25:12 +02:00
Rhys Arkins
496c2d0539
fix(git): add directories (#11643) 2021-09-08 15:32:40 +02:00
Rhys Arkins
056af57635 fix(git): don't warn on failed delete 2021-09-08 08:52:40 +02:00
Rhys Arkins
1150b8dc3f
fix(git): better github bot massage during validation (#11622) 2021-09-07 14:28:24 +02:00
Michael Kriese
8785f70b93
fix(core/http): fallback to github /gitlab hosttype (#11605)
* fix(core/http): fallback to github /gitlab hosttype

* fix: remove generic host rule

* Update lib/util/http/index.ts

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-06 21:07:52 +02:00
Rhys Arkins
a16330642b
fix(git): commitFiles cleanup (#11570) 2021-09-06 14:59:55 +02:00
Rhys Arkins
cd4e27e761
fix(git): drop force push onboarding (#11562) 2021-09-03 11:53:57 +02:00
Rhys Arkins
6606e4117b
refactor(git): log deleted files (#11561) 2021-09-03 09:23:00 +02:00
David Straub
8fb9197d0c
fix(host-rules): support matchHost with a dot prefix (#11523)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-02 17:03:51 +00:00
Rhys Arkins
fb75b2f4dc
feat(git): make gitAuthor repo-configurable (#11539) 2021-09-02 16:19:02 +02:00
Rhys Arkins
de727153db
fix: remove global.gitAuthor (#11536) 2021-09-02 14:08:12 +02:00
Rhys Arkins
00b87dbfc9
refactor(git): gitAuthor writing (#11535) 2021-09-02 12:50:53 +02:00
Michael Kriese
0eb5c6d2cd
fix(core/changelogs): pass though known project info (#11515) 2021-09-01 13:07:55 +02:00
Sebastian Poxhofer
443b22b0ae
feat(gitlab-release): implement datasource (#11226)
Co-authored-by: Nejc Habjan <hab.nejc@gmail.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-09-01 09:36:38 +00:00
Michael Kriese
902ee02096
feat(manager:docker): use head requests (#11484) 2021-08-31 08:23:22 +00:00
Michael Kriese
c8c8684ea3
fix(datasource): trim trailing slash in registry url (#11392)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-08-30 18:28:32 +02:00
Michael Kriese
60b3d6d933
fix(manager:docker): only pass auth header when required (#11449) 2021-08-30 15:55:16 +02:00
Rhys Arkins
dcfc9d9885
fix(travis): massage currentValue to string (#11475) 2021-08-30 11:08:48 +02:00
Jesko Steinberg
9f791552d3
feat: enable right filtering when specifing hostRules with github-api using datasources (#11136)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-08-25 07:07:23 +00:00
Jamie Magee
a6f4e99e27
refactor: no implicit override (#11395)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-23 20:50:37 +00:00
Masaki Hara
48acb427b7
feat(rubygems): support GitHub Packages (#11107) 2021-08-20 04:24:48 +00:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins
56830ee86c refactor: admin->globalOnly 2021-08-17 07:57:45 +02:00
Rhys Arkins
9150854d75 chore: rename config/admin -> config/global 2021-08-17 07:57:45 +02:00
Rhys Arkins
bf69924b78 refactor: rename config admin functions to global 2021-08-17 07:57:45 +02:00
Rhys Arkins
750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Sebastian Poxhofer
6a361c6150 feat(cache): allow caching of null values (#11014) 2021-08-17 07:57:45 +02:00
Rhys Arkins
0e91fda451 feat: centralized cache directory (#10115)
Ignore environment variables and instead use static cache directory for third party tools.

Closes #10094

BREAKING CHANGE: Renovate will now override any package manager cache locations configured in env variables.
# Conflicts:
#	lib/manager/gomod/__snapshots__/artifacts.spec.ts.snap
#	lib/manager/gomod/artifacts.ts
2021-08-17 07:57:45 +02:00
Rhys Arkins
2fe494616d feat(yarn): remove yarnrc config support (#10114)
Removes support for "yarnrc" configuration option.

Closes #10113

BREAKING CHANGE: It is no longer supported to configure a "yarnrc" override in Renovate config
2021-08-17 07:57:45 +02:00
Sergei Zharinov
28216ede05
fix: Working dir for Docker execution (#11282) 2021-08-16 12:20:08 +00:00
Sergei Zharinov
64754e6880
refactor: Split exec function to smaller blocks (#11093) 2021-08-12 16:47:33 +02:00
Kamil Kowalski
a73d82787b
feat(hex): Private Hex packages (#11168) 2021-08-12 09:34:27 +00:00
Michael Kriese
394f0bb741
test: fix http mocks (#11191) 2021-08-09 19:37:28 +02:00
Rhys Arkins
50e5a8129f
fix: simplify issue creation error messages (#11179) 2021-08-09 12:23:34 +02:00
Sergei Zharinov
1392955a04
refactor: Identify tests relying on single snapshots (#11150)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00
Maksim
42f6c5b295
fix(bitbucket-server): handle push rejection properly (#11154) 2021-08-07 16:11:57 +00:00
Rhys Arkins
f0e1070299
fix(gomod): revert auth changes (#11021) 2021-07-30 10:23:35 +00:00
Rhys Arkins
3d4d2529a1
refactor(docker): better url parsing (#10996) 2021-07-28 08:07:20 +02:00
Sergei Zharinov
c20eff9b26
refactor: Use GraphQL variables instead of string templates (#10926)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-07-27 08:50:27 +02:00
Sergei Zharinov
5c0e293d73
refactor: Precise GraphQL test snapshots (#10916)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-21 21:50:13 +02:00
Tobias
9237127be2
chore(go): add support for authenticated go git from source (#10750) 2021-07-14 08:32:30 +00:00
Sergei Zharinov
030bd00212
refactor: Fair coverage for docker exec utils (#10749)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-07 14:25:51 +00:00
Michael Kriese
f0e5853b46
fix(git): convert to config validation errors (#10731) 2021-07-06 10:53:11 +02:00
Rhys Arkins
ae3e868ae2
fix(git): fetch to depth=5 (#10704) 2021-07-05 05:28:05 +00:00
Rhys Arkins
248d7c7719
fix(package-rules): add groupSlug to matched package rule if necessary (#10621)
* fix(package-rules): add groupSlug to matched package rule if necessary

* Update lib/util/package-rules.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-27 10:01:06 +02:00
Niels Basjes
c077f15831
fix: Improve the default User-agent string. (#10606) 2021-06-26 07:02:35 +00:00
Sergei Zharinov
f4976c5d1d
refactor: Centralize logging for ensureCacheDir function (#10603) 2021-06-25 11:42:37 +00:00
Sergei Zharinov
11f89147ac
refactor: Use exec util instead of obtaining env directly (#10584) 2021-06-24 11:36:44 +02:00
Rhys Arkins
aa7f1cb952
feat: minimumConfidence (experimental, non-public) (#10313) 2021-06-23 20:19:14 +00:00
Martin Herndl
38f8b55c73
feat: add git http basic auth support (#10513)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-06-21 10:55:22 +00:00
Sebastian Poxhofer
eb8ad0c38e
feat(terraform): Implement terraform lock files (#10469) 2021-06-17 10:17:19 +00:00
Jamie Magee
637d262a25
refactor(orb): convert to class-based datasource (#10450) 2021-06-17 09:21:41 +02:00
Jamie Magee
55d23ad3b9
fix(cache): don't catch errors (#10449) 2021-06-17 07:36:34 +02:00
Rhys Arkins
5b25bf5e0c
fix: revert terraform lock file handling (#10466)
* fix: Revert "fix(manager): optimize lockfile cache handling (#10463)"

This reverts commit 713e35e88f.

* fix: Revert "fix(terraform): use path joins instead of slashes (#10461)"

This reverts commit 2776db6a2d.

* fix: Revert "feat(terraform): update terraform lock files (#8429)"

This reverts commit dab27f28c3.
2021-06-16 17:45:39 +02:00
Sebastian Poxhofer
dab27f28c3
feat(terraform): update terraform lock files (#8429) 2021-06-16 08:02:34 +00:00
Michael Kriese
5546d60e18
test: fix nock usage (#10451) 2021-06-16 09:13:33 +02:00
Rhys Arkins
7249ee0870 fix: cache decorate log 2021-06-15 14:23:40 +02:00
Rhys Arkins
b4dc3b1950 fix(git): remove remote reset before fetch 2021-06-15 06:53:17 +02:00
Rhys Arkins
e1c7845dee
fix(git): git pull immediately after automerge (#10390)
Call git.pull() before performing a fetch, to handle the case where the default branch has been updated.

Closes #10372
2021-06-10 22:12:45 +02:00
Jamie Magee
52b63e4163
feat(cache): cache decorator for automatic caching (#10203) 2021-06-07 16:28:05 +00:00
Geraint White
bab9b36db9
Log exec error on debug level (#10341) 2021-06-07 15:48:54 +00:00
Rhys Arkins
d0434d5df1 chore: GlobalConfig -> AllConfig 2021-06-02 11:25:10 +02:00
Rhys Arkins
70970bbec9
fix(git): unset all remotes before fetching (#10267) 2021-06-02 08:56:11 +02:00
Sergei Zharinov
1b6ecd87c0
refactor: move binarySource option to admin config (#10022) 2021-06-02 06:50:23 +00:00
Rhys Arkins
d3e5c55766
fix(git): clone renovate branches to depth=5 (#10266) 2021-06-01 21:37:42 +02:00
Sergei Zharinov
a9de944eb7
fix(util): Leverage "emojibase" library for shortcode conversions (#9785)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-01 19:19:38 +00:00
Rhys Arkins
d1a951f5db fix(git): reset branch to default before fetch
Closes #10261
2021-06-01 17:02:23 +02:00
Rhys Arkins
854d0a86e8
feat(internal): use cache to delay git cloning (#10209)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-28 10:36:53 +00:00
David
56299fe581
fix: GITLAB_IGNORE_REPO_URL with relative URL (#9969)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-27 14:54:05 +02:00
Michael Kriese
3c7546f7cd
test: simplify nock handling (#10170) 2021-05-27 14:13:31 +02:00
Rhys Arkins
a091a95383
fix(fs): only ensureDir non-empty string (#10177) 2021-05-26 15:10:30 +00:00
Rhys Arkins
79592f848a
fix: Revert "refactor: localDir -> cloneDir" (#10166)
This reverts commit 0b287c763d.
2021-05-26 11:22:16 +00:00
Rhys Arkins
0b287c763d
refactor: localDir -> cloneDir (#10158) 2021-05-26 10:30:23 +02:00
Rhys Arkins
d24461cb71 fix(git): submodules search for ".path" instead of "path"
Closes #10119
2021-05-24 08:58:53 +02:00
Rhys Arkins
15fde37535
fix: Revert "feat: validate git version" (#10106)
This reverts commit 1304bc930e.
2021-05-22 09:34:51 +02:00
Rhys Arkins
1304bc930e
feat: validate git version (#9979) 2021-05-21 19:51:03 +00:00
Fredrik Blomqvist
9f894ce814
feat(git): Add gitNoVerify option (#9676)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-19 16:05:29 +02:00
jose-ws
dd462359b4
feat(proxy): lowercase proxy env (#10025) 2021-05-19 13:37:27 +02:00
Rhys Arkins
9ebf804d4e fix(cache): cacheDir adminConfig 2021-05-19 12:27:37 +02:00
Michael Kriese
d8f4b86b14
refactor: replace linkify-markdown (#9954)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-19 03:23:59 +00:00
Michael Kriese
0906e078d2
test(git): disable gpgsign (#10028) 2021-05-18 05:24:03 +00:00
Sergei Zharinov
fbbbce608e
chore: Configure fs local dirs via admin config (#9990)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-17 13:21:28 +00:00
renovate[bot]
b8e36daa87
chore(deps): update dependency prettier to v2.3.0 (#10012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Michael Kriese
9e08eaa1dc
refactor: rename Error location to validationSource (#10018) 2021-05-17 07:40:54 +00:00
Rhys Arkins
30072239d1 fix(git): gracefully handle workflows 403 2021-05-16 11:54:03 +02:00
Rhys Arkins
4ea69a1438 fix(git): err.message typo 2021-05-15 13:11:04 +02:00
Rhys Arkins
f946b7407e
fix(github): paginationField for check runs (#10003) 2021-05-15 12:14:34 +02:00
Rhys Arkins
a2a6ac94cc fix(git): defensive fileList check 2021-05-15 07:57:48 +02:00
Rhys Arkins
e42e07b609 logs: downgrade workflows warn 2021-05-14 23:30:03 +02:00
Rhys Arkins
7a22e6c07a fix(git): checkout base branch with -B before merge 2021-05-14 22:48:42 +02:00
Rhys Arkins
3742d888a2 fix(git): abort run if branch not found 2021-05-14 21:31:51 +02:00
Rhys Arkins
1edcf5fc15 fix: Revert "feat(proxy): proxy environment variables available in lowercase for child processes. (#9978)"
This reverts commit 2d9734c3da.
2021-05-14 19:37:02 +02:00
Rhys Arkins
af39170fc8 fix(git): try/catch then log mergeBranch errors 2021-05-14 18:22:29 +02:00
jose-ws
2d9734c3da
feat(proxy): proxy environment variables available in lowercase for child processes. (#9978) 2021-05-14 17:27:02 +02:00
Rhys Arkins
f28d98fb1d fix(git): skip over gitignored files when committing 2021-05-14 15:28:20 +02:00
Rhys Arkins
e8e11a97a9 fix(git): catch when ignore files cannot be committed 2021-05-14 14:17:35 +02:00
Rhys Arkins
57d075cea2 fix(git): detect workflows rejection in git 2021-05-14 14:08:04 +02:00
Rhys Arkins
302d9029bf fix(git): recheck branch list if branch not found 2021-05-14 13:09:47 +02:00
Rhys Arkins
b6e5c32f07 refactor: improve host-rules error logging 2021-05-14 12:02:56 +02:00
Rhys Arkins
241a4bf24c fix(git): gracefully handle rev-parse error when checking out branch 2021-05-14 10:31:30 +02:00
Rhys Arkins
f00413c298
feat(host-rules): use only matchHost (#9892)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-13 20:53:18 +00:00
Rhys Arkins
a70aa6b75b
fix(git): try/catch git author check (#9967) 2021-05-12 13:06:02 +00:00
Michael Kriese
9ca604b345
refactor: extract more types (#9959) 2021-05-11 19:08:02 +02:00
Michael Kriese
7daa93a78d
refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Michael Kriese
9b458117f0
fix(package rules): wrong matchPackagePatterns addition (#9949) 2021-05-11 07:20:52 +00:00
Rhys Arkins
9aaadd1f4a
feat: sourceRepoSlug (#9916) 2021-05-08 15:57:14 +02:00
Rhys Arkins
13112b75bb
fix: separate patch branchName only if separateMinorPatch=true (#9901) 2021-05-07 10:01:16 +00:00
Rhys Arkins
fc48bdf738 test: use snapshot for host-rules 2021-05-06 14:43:11 +02:00
Rhys Arkins
89ad6401d9
fix(hostRules): domainName matching (#9884) 2021-05-06 11:30:42 +02:00
Rhys Arkins
856b28841d
feat: hostRules.matchHost (#9815)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-06 07:57:44 +00:00
Rick van Galen
36af7e3488
fix(git): Trim whitespace around private key data (#9856)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-05 09:07:20 +00:00
Rhys Arkins
32b14e55b5 fix: Revert "fix(git): add -- to git rev-parse"
This reverts commit 6b706fb8e9.
2021-05-04 14:31:46 +02:00
Rhys Arkins
6b706fb8e9 fix(git): add -- to git rev-parse 2021-05-04 03:56:05 +02:00
Sergei Zharinov
b00c80a33f
fix(config): Emoji config default value (#9818) 2021-05-02 10:59:36 -07:00
Rhys Arkins
4e9e0a63ec refactor: hostRules.hosts() simplification 2021-05-01 23:34:16 +02:00
Rhys Arkins
49272cc003 chore: hostRules resolvedHost simplification 2021-05-01 23:30:24 +02:00
Rhys Arkins
52687368cb refactor: hostRules error 2021-05-01 23:18:14 +02:00
Rhys Arkins
915bd15ce9 chore: fix HostRule type 2021-05-01 22:52:10 +02:00
Rhys Arkins
0918679cf6
refactor(hostRules): precalculate resolvedHost (#9811) 2021-05-01 18:19:38 +02:00
Rhys Arkins
5246e6b34e refactor: host-rules ruleMatch -> resolvedHost 2021-05-01 16:21:59 +02:00
Sergei Zharinov
38620be343
refactor: Replace some TODO items with issue ids (#9596) 2021-04-26 20:19:30 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Michael Kriese
00cb277bb6
fix(git): add debug (#9683) 2021-04-25 21:26:09 +02:00
Rhys Arkins
8af905e8f5 feat: split trustLevel into separate options (#9388)
Removes trustLevel and replaces it with 3 other options instead. No longer necessary to set anything additional is configuring `allowedPostUpgradeCommands`

BREAKING CHANGE: `trustLevel` is no longer supported and instead broken into `allowCustomCrateRegistries` , `allowScripts` , and `exposeAllEnv`.
2021-04-22 08:47:58 +02:00
Rhys Arkins
1a1ace919e feat: remove RENOVATE_LEGACY_GIT_AUTHOR_EMAIL (#9389)
Removes RENOVATE_LEGACY_GIT_AUTHOR_EMAIL support. 

Closes #9111

BREAKING CHANGE: RENOVATE_LEGACY_GIT_AUTHOR_EMAIL is no longer supported. Use `ignoredAuthors` in config instead.
2021-04-22 08:47:58 +02:00
Sergei Zharinov
2d04ae6bc3
refactor(http): Import proper OutgoingHttpHeaders on all http clients (#9653) 2021-04-20 18:31:43 +02:00
Sergei Zharinov
4f237ea680
refactor(http): Use default "accept-encoding" value (#9652) 2021-04-20 15:37:57 +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
f630963e66
logs: hostRules add/clear (#9644) 2021-04-20 10:52:38 +02:00
Sergei Zharinov
0355a75800
refactor(config): Move input config from util folder (#9625)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-19 15:03:04 +00:00
Sergei Zharinov
16c080fadc
refactor(util): Fix unbound methods usage (#9626) 2021-04-19 13:51:02 +00:00
Rhys Arkins
4fb024e51b refactor: elapsed time utilities 2021-04-17 09:26:28 +02:00
Rhys Arkins
03223c6016 refactor: git url functions 2021-04-16 14:46:17 +02:00
Luca Becker
34d6483257
feat(release-notes): running unemojify on release notes (#9535) 2021-04-14 11:03:08 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Nils Plaschke
63b6cf66ac
feat: introduce dockerChildPrefix option (#8613)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-08 10:10:25 +00:00
Rhys Arkins
98f17c31a7 fix: defensive config check in cleanup 2021-04-06 15:55:41 +02:00
Rhys Arkins
20147e30b9
feat: packageRules.matchPackagePrefixes (#9365) 2021-04-03 05:18:25 +00:00
Rhys Arkins
c1663f0bc8 fix(git): catch fatal bad config 2021-04-02 06:37:19 +02:00
Rhys Arkins
95bf948020
refactor: config warning/error fields (#9349) 2021-04-01 15:50:17 +02:00
Rhys Arkins
2fb87eddcf
fix: revert npmrc handling changes (#9347) 2021-04-01 14:19:47 +02:00
Rhys Arkins
f5d4afecf7
fix(git): throw config error if branch is blocking (#9341) 2021-04-01 07:01:02 +02:00
Rhys Arkins
a67d8a4f87
fix(github): catch branch protection and raise config error (#9340) 2021-03-31 22:14:17 +02:00
Rhys Arkins
5949f39773
fix(npm): use configured npmrc (#9319) 2021-03-29 21:52:21 +02:00
Michael Kriese
a82abe1f0a
fix: add http host legacy error property (#9263) 2021-03-24 09:07:34 +00:00
Rhys Arkins
460bfe95f0 refactor: fs.renameLocalFile 2021-03-20 21:54:03 +01:00
Rhys Arkins
11454b547e
refactor: composer managerData (#9226) 2021-03-20 08:10:53 +01:00
Rhys Arkins
1185a464ae refactor: CACHE_REVISION 2021-03-19 16:18:45 +01:00
Rhys Arkins
0747c9aef4 fix: CACHE_REVISION=4
Git submodules extraction has changed.
2021-03-15 18:13:58 +01:00
Michael Kriese
40a59cc9e0
feat: use short renovate image names (#9133)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-03-15 13:23:38 +00:00
renovate-testing
ea0bcdd185
feat(git): Specify additional git authors to ignore (#9082) 2021-03-14 09:27:40 +01:00
Rhys Arkins
edfac73a08
refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00
Sergei Zharinov
3527d8b4f3
feat(util): Add lightweight parseUrl function (#9019)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-13 09:41:51 +01:00
Rhys Arkins
35940f2ca8 fix: log full repository commit, not just date 2021-03-12 14:32:44 +01:00
Rhys Arkins
9c658a21f0
Revert "feat(internal): Massage registryUrls (#9086)" (#9098) 2021-03-12 12:27:47 +01:00
renovate-testing
9c3b34dbb3
feat(internal): Massage registryUrls (#9086) 2021-03-11 19:23:57 +01:00
Michael Kriese
41fb5b1602
fix: pass docker tls env to childs (#9087) 2021-03-11 17:38:54 +01:00
Rhys Arkins
ca834fa61a
fix(github): Propagate PR already exists up (#9085) 2021-03-11 15:51:48 +01:00
Rhys Arkins
3357e6333d
refactor: Object.assign -> object spread (#9076) 2021-03-11 08:03:37 +01:00
Rhys Arkins
3ad38954f0
fix: don’t push empty commit (#9058) 2021-03-09 23:31:41 +01:00
Michael Kriese
607b151f0e
feat(http): support custom auth types (#9053) 2021-03-09 19:25:18 +01:00
Sergei Zharinov
ccdb09fe3c
fix(go): Improve go-import content parsing (#9022) 2021-03-08 13:12:19 +00:00
Rhys Arkins
ef2a13f4f2
fix: don’t throw repository-changed from git layer (#9032) 2021-03-08 09:02:48 +00:00
Rhys Arkins
948039d52b refactor: INTERRUPTED -> TEMPORARY_ERROR 2021-03-07 21:40:40 +01:00
Sergei Zharinov
bf5cb0f87d
fix(http): Throw ExternalHostError on ECONNRESET (#9000) 2021-03-05 17:18:01 +00:00
Sergei Zharinov
39dcd84296
fix(git): Throw ExternalHostError on early EOF (#8995) 2021-03-05 17:45:30 +01:00