Commit graph

1317 commits

Author SHA1 Message Date
Rhys Arkins
beacdce5f8
fix(ruby): containerbase ruby prebuild (#19575) 2022-12-26 10:25:47 +00:00
Joshua Tang
b46e52c353
feat(pub): Support updating lock files (#19116) 2022-12-24 19:11:25 +01:00
Sergei Zharinov
71c43f8d12
refactor(github): Reorganize adapters (#19557) 2022-12-23 20:30:48 +01:00
Michael Kriese
73be295310
feat(core): centralize sidecar image usage (#19545) 2022-12-23 09:45:15 +00:00
Michael Kriese
331a39639d
feat(ruby): support dynamic install (#19510) 2022-12-21 15:12:43 +01:00
Rhys Arkins
a0fe269657
fix(github): compare repo names lower case (#19411)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-12-20 05:30:44 +00:00
Sergei Zharinov
86b3cf15e4
refactor(github): Rename datasource-helper to datasource-fetcher (#19468) 2022-12-18 15:12:59 +01:00
Rhys Arkins
ef7f520240
fix(cache): reset semanticCommits after clone (#19457) 2022-12-17 06:24:03 +00:00
renovate[bot]
99a7c8af89
build(deps): update aws-sdk-js-v3 monorepo to v3.226.0 (#19444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-12-17 07:05:16 +01:00
Tim Knight
682829f33a
docs: improve regexManager documentation (#19278)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Resolves https://github.com/renovatebot/renovate/issues/19265
2022-12-10 07:09:11 +00:00
Florian Greinacher
3b16939fb4
fix: deprecate partial matching for matchPaths (#19264) 2022-12-06 07:16:54 +00:00
Gabriel-Ladzaretti
06f23a47b8
feat(logs): print branch pristine status as part of the branch summary (#19210) 2022-12-02 08:19:17 +00:00
Sebastian Poxhofer
871cea19b7
feat(http): set by default Accept header for json requests (#19202)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-12-01 18:48:45 +01:00
Sergei Zharinov
2265873ba7
refactor(github-tags): Use hash field for GraphQL results (#19073)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-29 21:28:47 +00:00
Michael Kriese
7c04604b87
fix(cargo): use semver versioning to limit allowed versions (#19140) 2022-11-28 10:59:10 +01:00
Michael Kriese
ff40cb3811
feat(manager/cargo): support dynamic install 🎉 (#19106) 2022-11-25 20:45:02 +01:00
Michael Kriese
c25b02e856
feat(manager/gomod): dynamic golang install 🎉 (#19104) 2022-11-25 18:11:37 +01:00
Michael Kriese
7603bebd03
fix(cache): skip save repo cache on dry-run (#19094) 2022-11-25 09:33:16 +00:00
RahulGautamSingh
7d56162c49
refactor: log exec command before executing (#19037)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-11-24 08:44:25 +00:00
Michael Kriese
1633759497
feat(manager/nuget): support install mode (#19049) 2022-11-23 09:35:38 +00:00
RahulGautamSingh
987421b8ad
feat: add pristine in branchCache (#18478) 2022-11-20 07:10:25 +00:00
RahulGautamSingh
c45c875920
fix: modify fns to adapt to new safe-stable-stringify package update (#18573) 2022-11-20 06:19:19 +01:00
Sergei Zharinov
f31dacb8cd
fix(git): Don't quote unicode paths (#18963)
Fixes #18805
2022-11-18 06:59:08 +00:00
Rhys Arkins
a72f405aad chore: revert docker exec log for stats 2022-11-17 06:33:34 +01:00
Sergei Zharinov
3c56aeca17
refactor(tests): Use codeBlock tagged literal (#18916) 2022-11-15 08:35:36 +00:00
Jamie Magee
92eb2200fd
refactor(jest): enable clearMocks (#18779) 2022-11-14 22:46:37 -08:00
RahulGautamSingh
af3b2038f8
refactor: replace enums with union/object (#18903) 2022-11-14 20:55:38 +02:00
Gabriel-Ladzaretti
991cc7ac3d
feat(repo/cache): add s3 support for user configured folder hierarchy (#18865)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-11-13 11:00:06 +02:00
Sergei Zharinov
eab0570b96
refactor(github): Refactor items transform loop (#18882)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-12 16:51:17 +00:00
RahulGautamSingh
a613692588
refactor: remove gitConflicts (#18576) 2022-11-10 19:56:46 +00:00
Sergei Zharinov
9b76b2ea74
refactor(github): Simplify datasource cacheability detection (#18852)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-10 17:04:41 +00:00
RahulGautamSingh
d869c946d1
refactor: reduce debug metadata (#18737) 2022-11-07 11:29:02 +00:00
RahulGautamSingh
c93154bd24
refactor: enums to unions (#18747)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-05 09:12:03 +00:00
RahulGautamSingh
2a07e91be6
refactor: convert ProgrammingLanguage to union type (#18748)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-05 08:49:57 +00:00
Jamie Magee
c90cda06e3
feat(nix): support binarySource=install for nix (#18707) 2022-11-02 06:18:51 +01:00
Flo Everett
70ad9e61c1
fix(git): git http url fix (#18705) 2022-11-01 22:37:21 +01:00
RahulGautamSingh
c56588eaba
refactor: convert PlatformmId to union (#18458) 2022-11-01 14:46:09 +00:00
Sergei Zharinov
b7317a2313
fix(regex): Don't cache stateful regex instances (#18645) 2022-11-01 09:20:11 +00:00
Flo Everett
4c0ecc86fe
fix(git-refs): search hostRules by http url, not ssh. (#17868) 2022-11-01 07:09:00 +00:00
Rhys Arkins
c229652e9f
fix: Revert "refactor: move branch cache files to util/cache" (#18667) 2022-10-31 07:50:33 +02:00
Rhys Arkins
ca4025b36b
feat(composer): support binarySource=install for php (#18656) 2022-10-29 14:42:00 +00:00
RahulGautamSingh
f04a7c75ff
refactor: move branch cache files to util/cache (#18646) 2022-10-29 07:29:51 +00:00
Rhys Arkins
0e9da7b441
chore: trace http logs (#18652) 2022-10-29 06:15:21 +00:00
Sergei Zharinov
c885c889a5
docs: Document cache decoder utility (#18633) 2022-10-28 11:48:07 +03:00
renovate[bot]
952d780940
build(deps): update dependency editorconfig to v1.0.1 (#18564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Philip <42116482+PhilipAbed@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-10-26 11:26:15 +00:00
RahulGautamSingh
3c7ca03b38
refactor: change conflict cache logic (#17898)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-26 08:11:51 +02:00
Philip
6c2c2b0c09
fix: error gracefully when .editorconfig parsing fails (#18541) 2022-10-25 17:47:17 +02:00
Sergei Zharinov
b2d18d1110
feat(http): maxRequestsPerSecond (#18325) 2022-10-25 11:03:19 +00:00
Rhys Arkins
0be74f3ff9 feat: default to binarySource=install (#18027)
Changes binarySource default value from global to install.

Closes #14531

BREAKING CHANGE: Users of containerbase images (such as official Renovate images) will now have dynamic package manager installs enabled by default.
2022-10-23 06:48:35 +02:00
Rhys Arkins
cc50beb093 fix(http): use request for retryCount 2022-10-22 07:27:12 +02:00
RahulGautamSingh
ef8c4ac1c1
fix: parentSha logic (#18331) 2022-10-21 16:20:51 +03:00
Rhys Arkins
cdec83463c
fix(http): improve error logging (#18454)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-10-21 10:14:45 +00:00
Rhys Arkins
da244e3b9c
chore: improve graphql shrinking log (#18445) 2022-10-21 09:04:13 +02:00
Rhys Arkins
3aa94d46f4 chore: no meta for debug statements 2022-10-21 08:02:05 +02:00
renovate[bot]
bc42424712
build(deps): update dependency editorconfig to v1 (#18427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-20 19:08:09 +00:00
Sergei Zharinov
d4709ec761
fix(github): Shrink GraphQL pagination for ExternalHostError (#18435) 2022-10-20 19:53:45 +03:00
Rhys Arkins
be10c29d17
fix(http): improve error handling (#17587)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-10-19 04:27:07 +00:00
Sergei Zharinov
d4d0ec4675
refactor(http): Rename gotRoutine to gotTask (#18338) 2022-10-14 12:26:11 +00:00
Rhys Arkins
66f35c954b
fix(git): log gitPrivateKey events (#18335) 2022-10-14 13:19:37 +03:00
Sergei Zharinov
4f3153c785
fix(github-tags): Shrink page size on TimeoutErrors (#18319) 2022-10-13 15:10:33 +00:00
renovate[bot]
7935a7b8ed
chore(deps): lock file maintenance (#18082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-10 21:47:23 -07:00
Sergei Zharinov
98003f4cce
feat(cache): Compress package cache (#18241) 2022-10-11 06:26:19 +03:00
Sergei Zharinov
b5eed5f8ff
refactor(util): Compression utils (#18240) 2022-10-10 14:01:53 +00:00
Rhys Arkins
9653ba7420
feat(git): log cloned status at end of run (#18234) 2022-10-10 11:58:49 +02:00
Elizabeth Craig
e49f06ea15
fix: don't throw if a PR body contains a standalone unicode modifier (#18201) 2022-10-08 06:05:54 +00:00
Rhys Arkins
ea0eb67b10
fix: array sortNumeric (#18179) 2022-10-07 12:42:01 +02:00
Rhys Arkins
40b7393040
fix: don’t count duplicate package cache stats (#18172) 2022-10-07 11:36:49 +03:00
Rhys Arkins
f34e89fec4
feat: package cache stats (#18170) 2022-10-07 07:57:37 +00:00
renovate[bot]
5109f9b794
chore(deps): update dependency typescript to v4.8.4 (#17988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-10-07 06:15:49 +00:00
Sergei Zharinov
cc40e4d37b
feat(github): Implement GraphQL datasource utilities (#17957) 2022-10-06 19:35:22 +03:00
Rhys Arkins
dbc4d0b669
fix: exclude unstable data from cache fingerprints (#18148) 2022-10-06 15:39:15 +02:00
RahulGautamSingh
72371cb778
feat: improve branch cache logic (#17848)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-06 07:37:47 +03:00
Sergei Zharinov
bc9e353af4
feat(http): Schemas and type inference for JSON requests (#18096) 2022-10-04 06:40:48 +00:00
Sergei Zharinov
3e3023fd5e
refactor(http): Simplify base types (#18088) 2022-10-03 10:53:20 +02:00
Rhys Arkins
e912f89fa8
fix: coerce arrays when extracting (#17997) 2022-10-03 07:20:53 +00:00
RahulGautamSingh
1657c16136
chore(lint): add object shortand rule (#18080) 2022-10-02 21:20:24 +02:00
Sergei Zharinov
1e74764889
refactor(git): Refactor push-related error handling (#18075) 2022-10-02 06:39:43 +00:00
Colin O'Dell
5375933cea
feat(git): prune branches sequentially (#18068) 2022-10-02 05:56:52 +00:00
Sergei Zharinov
db1086a79f
fix: Remove repository cache migrations (#18025) 2022-10-02 05:34:50 +00:00
Sergei Zharinov
0de1cc585c
feat(schema): Different options for error handling (#18058) 2022-09-30 17:45:22 +02:00
Rhys Arkins
95339bde33
refactor: use containerbase terminology (#18023) 2022-09-28 17:09:28 +02:00
Sergei Zharinov
eb5181e217
refactor: Make invalid schema reporting optional (#18024) 2022-09-28 13:35:16 +02:00
Rhys Arkins
9d7697e44e
fix(git): clone submodules after repo config (#18014) 2022-09-28 09:19:26 +02:00
Rhys Arkins
4c88498544 fix: debug not warn for file access errors 2022-09-27 12:05:07 +02:00
Sergei Zharinov
4cfe151dc1
feat(utils): Data schema validation (#17999) 2022-09-27 12:00:35 +02:00
Johannes Feichtner
aaaa6a1cfe
refactor: extract getLockFileContentMap() into fs utils (#17962) 2022-09-25 16:31:11 +02:00
Rhys Arkins
17c2a006d2
feat: matchCurrentValue (#17953) 2022-09-25 06:56:02 +00:00
RahulGautamSingh
266b5e4798
fix: create branch cache before processing branch (#17801) 2022-09-20 09:43:14 +00:00
Wade Ying Xing
fe6775d73f
fix(git): ensure english locale (#17849) 2022-09-18 12:08:36 +02:00
renovate[bot]
159f33e134
build(deps): update dependency git-url-parse to v13 (#17840)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-17 08:33:53 +00:00
RahulGautamSingh
54b36695a7
refactor: simplify git version check (#17763)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-14 13:47:33 +02:00
renovate[bot]
582f77371c
chore(deps): update jest monorepo (#17737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-12 16:58:52 +02:00
Rhys Arkins
c85f4630a6
fix(package-rules): matchCurrentVersion with locked versions (#17751) 2022-09-12 11:36:44 +00:00
Sergei Zharinov
ea69f81247
refactor(github): Uniform names for github datasource types (#17701) 2022-09-08 11:26:27 +02:00
Sergei Zharinov
81ee883e30
refactor(github): Extract utils/github from datasources (#17697) 2022-09-08 10:00:42 +02:00
Sergei Zharinov
fa30913daf
fix(util/promises): Disable stopOnError option by default (#17653) 2022-09-06 13:36:19 +00:00
Sergei Zharinov
2df8967ae2
refactor: Create promises utilities (#17651) 2022-09-06 10:36:51 +00:00
Róbert Papp
01c111c4ea
fix(http): typo in logs (#17634) 2022-09-05 13:45:44 +00:00
Sergei Zharinov
5dc1eb3ad6
fix(cache): Store cache with sorted object keys (#17607) 2022-09-04 10:53:20 +00:00
Gabriel-Ladzaretti
4ccd085aa5
feat(cache/repository): add modification query function to the repository cache interface (#17529)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-03 16:36:55 +03:00
Rhys Arkins
9bc8b05af3
feat: http keepalives (#17582) 2022-09-02 12:32:34 +02:00
Rhys Arkins
22d0d347e5
fix: debug log dns lookup errors (#17577) 2022-09-02 07:08:01 +03:00
Michael Kriese
aabb3abf9a
feat(http): use own dns cache (#17574) 2022-09-01 15:23:46 +00:00
Michael Kriese
8ad1947e4a
fix(http): clear queues after hostrules change (#17563) 2022-09-01 09:36:04 +02:00
Sergei Zharinov
c9d87d8564
fix: Disable token warning on githubTokenWarn=true (#17548) 2022-08-31 14:57:42 +00:00
Michael Kriese
13574419ba
feat(http): support dns cache (#17533) 2022-08-31 11:49:54 +00:00
Maron
4de1df3a6c
fix: fails to massage pnpm release notes (#17466)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-31 07:39:35 +00:00
Rhys Arkins
7b1c1170a7
fix: log containerbaseDir (#17509) 2022-08-30 14:21:12 +02:00
Sergei Zharinov
6a93997863
feat(cache): Repository cache fingerprinting (#17367) 2022-08-30 04:58:57 +00:00
Sebastian Poxhofer
dda2ebce92
refactor(package-rules): move to class based implementation (#16865)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-29 19:40:03 +00:00
Michael Kriese
6dd4ea3c74
feat(github): use repo url to get token (#17179) 2022-08-29 07:37:45 +00:00
Gabriel-Ladzaretti
21ab4bad63
feat(util/exec): enable process group handling on process termination (#17447) 2022-08-28 21:32:23 +03:00
Michael Kriese
10fd0f2827
fix(cache/repository): don't log error for non-existant files (#17427) 2022-08-26 12:25:35 +00:00
Gabriel-Ladzaretti
ba13dc547b
feat(cache/repository): Implement S3 client (#17322)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-26 04:47:14 +00:00
Rhys Arkins
f764f8879c
feat(config): containerbaseDir (#17414) 2022-08-25 15:43:06 +00:00
Michael Kriese
88c9ca6aa3
fix(datasource/maven): use sdk v3 api (#17408) 2022-08-25 12:00:54 +02:00
Rhys Arkins
ee6287971d
refactor: use containerbase not buildpack terminology (#17398) 2022-08-25 06:59:55 +00:00
Gabriel-Ladzaretti
cb53e18de8
chore(util/exec): remove unneeded renaming related TODOs (#17399) 2022-08-25 06:43:13 +00:00
Michael Kriese
9caf45ed43
fix(git): wrong git url handling (#17380)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-24 19:41:43 +00:00
Sergei Zharinov
57ade2b33e
refactor(cache): Restore each revision with own separate method (#17364) 2022-08-23 20:27:34 +02:00
Sergei Zharinov
9e2c81f0ef
refactor(cache): Explicit types for different cache revisions (#17362) 2022-08-23 17:35:09 +02:00
Michael Kriese
ae2e584c18
refactor(repository/cache): fix types and log errors (#17355)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-23 07:19:10 +00:00
Gabriel-Ladzaretti
f93927af63
refactor(repo/cache): handle data parsing inside repository base class (#17346)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-23 04:22:32 +00:00
Sergei Zharinov
064c1e9204
refactor(cache): Make read method return unknown type (#17335) 2022-08-22 20:48:49 +02:00
RahulGautamSingh
1a25ac6fc3
feat: use cached configHash to prevent branch updates (#16661) 2022-08-22 09:01:48 +00:00
Gabriel-Ladzaretti
039fce8dc6
refactor(repository/cache): add support for adding various cache clients (#17146)
Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-21 12:53:20 +00:00
RahulGautamSingh
f9b2f816cc
feat: replace fast-safe-stringify with safe-stable-stringify (#17251) 2022-08-19 15:58:11 +02:00
Michael Kriese
0316a5e62d
test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
Hasan Awad
719ab9be4a
fix(manager/gitlabci): clean more than one slash (#17132) 2022-08-14 15:57:37 +00:00
RahulGautamSingh
2d71049650
test: add test for empty string (#17162) 2022-08-13 09:47:06 +00:00
Michael Kriese
60ed6ad40d
feat(versioning): add python versioning for buildpack (#17147) 2022-08-12 06:24:56 +00:00
Michael Kriese
321afb5ede
fix(manager/gomod): fix auth (#17140)
* fix(manager/gomod): fix auth

* fix: add another github url

* test: fix coverage

* Update lib/util/git/auth.spec.ts

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
2022-08-12 05:12:30 +00:00
Michael Kriese
f684da8c2f
fix(buildpack): use poetry versioning for python (#17129)
* fix(buildpack): use poetry versioning for python

* test: fix tests
2022-08-11 08:59:04 +00:00
Sebastian Poxhofer
726b97b2e2
fix(package-rules): remove edge case if no depName packageRules are defined (#16930) 2022-08-10 17:02:48 +02:00
Michael Kriese
2546c03f6c
feat(changelogs): defer retrieval if not required for templates (#17073) 2022-08-10 06:19:17 +00:00
Sergei Zharinov
35df2bdb7c
fix(template): Use proxy instead of deep clone (#17075) 2022-08-09 17:19:03 +00:00
Hasan Awad
4ead106f81
feat(util/template): add prettyNewMajor and prettyNewVersion field (#16831)
* initial

* expose prettyNewVersion and prettyNewMajor

* tests

* revert change

* simplify

* test naming

* documentation

* documentation

* remove wrong documentation

* expose template finction

* tests naming

* combine condition

* Update docs/usage/templates.md

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

* remove unecessary nullish op

* Update docs/usage/templates.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Expose prettyVersion and prettyMajor

* documentation

* remove function and use regex

* lexographic order

* tests need fixing

* add tests

* Captial letter

* renaming and prettyNewMajor

* space

* move to upgrade interface

* use new fields where v is prepended manually

* move to interface

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-08 07:50:36 +00:00
Yun Lai
1111b322f5
fix(hermit): findUpLocal expects relative cwd, fix incorrect hermit env in nested directory setup (#17031) 2022-08-08 06:15:45 +00:00
Rhys Arkins
53f687898e
fix(npm): use node versioning for node (#17014)
Closes #17013
2022-08-06 06:27:47 +00:00
Michael Kriese
4573bd78e6
feat(manager/npm): lerna buildpack support (#16991) 2022-08-05 15:00:34 +00:00
Yun Lai
44059c3e20
fix: join env var lines with os.EOL to fix test failure on different systems (#16993)
* fix: join env var lines with os.EOL to fix test failure on different systems

* fix: update test data to achieve full test coverage

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-05 12:06:59 +00:00
Michael Kriese
9b3a3f8d11
fix(buildpack): execute preCommads on install mode (#16995) 2022-08-05 12:20:22 +02:00
Yun Lai
87fc22a4ce
fix: fix failed hermit binary source tests due to findUp module acts differently in windows (#16985)
* fix: fix failed hermit binary source tests due to findUp module acts differently in windows

* fix: set localDir in GlobalConfig in getHermitEnvs test

* Apply suggestions from code review

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

* fix: added two more mockResolvedValueOnce for extra test case and remove mockResolvedValueOnce('')

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-05 09:21:54 +00:00
Yun Lai
f07dcfb03a
feat: add hermit binary source (#16259) 2022-08-05 05:17:11 +00:00
Michael Kriese
3b699e9f7e
feat(manager/npm): prepare for buildpack support (#16979)
* feat(manager/npm): prepare for buildpack support

* chore: fixes
2022-08-04 21:18:43 +02:00
Gabriel-Ladzaretti
257d9a9d8e
fix(core/exec): use nodejs style error messages when throwing (#16961) 2022-08-04 14:29:11 +00:00
Michael Kriese
1bc8fee494
refactor: cleanup http option interface (#16967) 2022-08-04 12:54:52 +02:00
Michael Kriese
61c045ca2f
feat: use sha512 for hashes (#16907) 2022-08-02 11:36:26 +02:00
Sergei Zharinov
f8c789efb4
feat(github): Log warning when GitHub token is not configured (#16566)
* feat(github): Log warning when GitHub token is not configured

* Check `sourceUrl`

* Add tests

* Fix test

* Fix

* Remove `sourceUrl` check

* Test nullable input

* Fix nulls
2022-08-01 06:16:09 +00:00
Rhys Arkins
bba3c782e2
chore: fix packageRules test (#16866) 2022-07-30 07:49:05 +03:00
Michael Kriese
2c5fd14e25
fix(git): remove wrong submodule file filter (#16848) 2022-07-29 08:32:05 +00:00
Michael Kriese
a3d1235032
feat(manager/pipenv): support binarySource=install (#16828)
* feat(manager/pipenv): support binarySource=install

* docs: update docs

* fix: linting
2022-07-28 17:17:02 +00:00
Michael Kriese
cf7bb3226d
feat(manager/gradle-wrapper): support binarySource=install (#16830)
* feat(manager/gradle-wrapper): support `binarySource=install`

* docs: update docs
2022-07-28 13:47:56 +00:00
Michael Kriese
8270d5512d
refactor: fix lint issues (#16779)
* refactor: fix lint issues

* Update lib/renovate.ts

* chore: revert toplevel await for ts
2022-07-26 08:32:12 +00:00
Yun Lai
f1bcafc584
feat(fs): add localPathIsSymbolicLink and readLocalSymlink (#16673)
* fix: add localPathIsSymbolicLink and readLocalSymlink to fs module

* Update lib/util/fs/index.ts

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

* Update lib/util/fs/index.ts

* Apply suggestions from code review

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-26 08:19:20 +00:00
Gabriel-Ladzaretti
2446f446b7
fix(git/cache): getCachedBehindBaseResult returns true when branch is not modified (#16752) 2022-07-26 04:41:09 +00:00
Gabriel-Ladzaretti
24a237c15b
fix(git/cache): getCachedBranchParentShaResult returns unexpected undefined (#16762) 2022-07-25 20:23:25 +02:00
RahulGautamSingh
9778ca67d9
feat: use getBranchParentSha cached result (#16724) 2022-07-24 19:49:39 +02:00
Michael Kriese
6854145528
feat(manager/elixir): support install binary source (#16710)
* feat(manager/elixir): support install binary source

* test: fix snapshot
2022-07-22 16:35:20 +00:00
Gabriel-Ladzaretti
892595aea8
feat(util/exec): use spawn instead of exec (#16414)
* refactor(util): use spawn instead of exec

 - Use child_process.spawn instead of child_process.exec

* refactor(util): use spawn instead of exec

 - Use child_process.spawn instead of child_process.exec

* refactor(util): use spawn instead of exec

 - Use child_process.spawn instead of child_process.exec

* refactor(util): use spawn instead of exec

 - Use child_process.spawn instead of child_process.exec

* refactor(util): use spawn instead of exec

 - init spawn-util

* refactor(util): use spawn instead of exec

 - spawn-util

* refactor(util): use spawn instead of exec

 - init index-spawn.spec.ts

* refactor(util): use spawn instead of exec

 - fixed various tests

* refactor(util): use spawn instead of exec

 - fix all artifacts.spec.ts

* refactor(util): use spawn instead of exec

 - fix all artifacts.spec.ts

* refactor(util): use spawn instead of exec

 - fix npm post update imports

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff

* refactor(util): use spawn instead of exec

 - revert renaming to minimize PR diff
 - destroy stdio when terminating child process

* refactor(util): use spawn instead of exec

 - delete and revert dev related changes

* refactor(util): use spawn instead of exec
 - fix support for windows

* refactor(util): use spawn instead of exec

 - handle SIGSTOP and such
 - add test coverage

* refactor(util): use spawn instead of exec

 - now converts to strings when resolving/rejecting

* refactor(util): use spawn instead of exec

 - logs improvements
 - force shell (exec like)
 - fix tests

* refactor(util): use spawn instead of exec

 - strongly type listeners

* refactor(util): use spawn instead of exec

 - create helper mock for spawn

* refactor(util): use spawn instead of exec

 - cr changes

* Update lib/util/exec/common.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* refactor(util): use spawn instead of exec

 - documentation

* refactor(util): use spawn instead of exec

 - revert unnecessary formatting

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

 - added ExecError class

* refactor(util): use spawn instead of exec

 - exec-error.ts restructure

* refactor(util): use spawn instead of exec

* Apply suggestions from code review

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

 - deprecated RawExecOptions.encoding property

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

* refactor(util): use spawn instead of exec

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-22 15:43:28 +00:00
Michael Kriese
6c78237993
test: simplify exec mock (#16698) 2022-07-22 07:42:30 +00:00
Michael Kriese
4f82df4c3d
feat(buildpack): enable cache (#16591) 2022-07-21 07:00:02 +00:00
RahulGautamSingh
93707c1ed7
feat: use isBranchBehindBase cached result (#16595) 2022-07-21 07:48:02 +02:00
RahulGautamSingh
54cff9aeb8
refactor: throw error if issue with git (#16618) 2022-07-18 12:33:20 +00:00
Michael Kriese
47b9493fe2
test(git): raise timeout to 60s (#16599) 2022-07-15 16:47:39 +02:00
RahulGautamSingh
c7507255b7
refactor: rename isBranchStale -> isBranchBehindBase (#16577)
* rename

* rename to isBranchBehindBase

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 09:21:32 +00:00
RahulGautamSingh
f506580e40
fix: add repoCache-check before cloning (#16533) 2022-07-15 09:09:08 +02:00
Michael Kriese
ad70360fda
fix(utils/fs): make assertions windows compatible (#16583)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-14 17:33:28 +02:00
Michael Kriese
62d5d670bf
test(git): tmp dir can be missing (#16585) 2022-07-14 16:17:19 +03:00
Sergei Zharinov
d0fe5f904e
feat(fs): Scope checks for filesystem functions (#16511) 2022-07-14 07:53:26 +00:00
renovate[bot]
210695c1a0
build(deps): update dependency git-url-parse to v12 (#16458)
* build(deps): update dependency git-url-parse to v12

* fix: add workaround

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-11 19:37:56 +00:00
Gabriel-Ladzaretti
6202b1c264
refactor(util/exec): change mocked modules in existing tests (#16519) 2022-07-11 11:41:24 +02:00
RahulGautamSingh
e10aa6aa5a
fix: check cache before cloning (#16517) 2022-07-11 10:58:51 +02:00
Sergei Zharinov
e26130329d
refactor(fs): Add tests for every filesystem function (#16495)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-09 18:50:45 +00:00
Sergei Zharinov
83f67c27d5
refactor(fs): Rename getSubDirectory to getParentDir (#16446)
* refactor(fs): Rename `getSubDirectory` to `getParentDir`

* Add tests for `getSiblingFileName`

* fix

* fix
2022-07-07 06:44:21 +00:00
Yun Lai
793095c1a0
fix(git): add options to getRepoStatus (#16253) 2022-07-06 05:17:39 +00:00
Sergei Zharinov
c866fd06fc
fix(github): Return remote commit hash for platformCommit=true (#16391) 2022-07-03 08:25:17 +00:00
Sergei Zharinov
b5df686fb7
refactor(github): Introduce misc query function for GraphQL (#16387)
* refactor(github): Introduce misc `query` function for GraphQL

* Update lib/modules/datasource/github-releases/cache/cache-base.ts

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-02 15:24:17 +02:00
Sergei Zharinov
2b43f273bf
refactor(fs): Remove proxies.ts file (#16325)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-01 14:57:30 +02:00
Yun Lai
432a888cdb
fix: make http.stream apply hostRules & authentication (#16255)
* fix(http): support asset download via octet-stream header in github http

* Update lib/util/http/github.spec.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* fix: make http.stream apply hostRules & authentication

* chore: fix disable host test for http.stream

* Update lib/util/http/index.ts

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-30 07:54:48 +00:00
Sergei Zharinov
11f41825ca
fix(fs): Windows CI tests (#16318) 2022-06-29 07:57:44 +00:00
Sergei Zharinov
bfc393ef00
refactor(fs): Don't proxy writeFile function (#16310)
* refactor(fs): Don't proxy `writeFile` function

* Fix

* Update lib/workers/global/index.spec.ts

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 06:23:36 +00:00
Sergei Zharinov
851d8f4f7a
refactor(fs): Move chmod to chmodLocalFile (#16306)
* refactor(fs): Move `chmod` to `chmodLocalFile`

* More refactoring and tests

* Fix tests

* Apply suggestions from code review

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

* Fix prettier

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 06:03:49 +00:00
Sergei Zharinov
0687799b28
refactor(fs): Remove unused proxied functions (#16311)
* refactor(fs): Remove unused proxied functions

* Fix lint/test

* Fix

* Update lib/util/fs/index.spec.ts

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 05:44:30 +00:00
Rhys Arkins
17f1b409a6
fix: log http and npm rejection cases (#16307) 2022-06-28 16:30:35 +02:00
Yun Lai
ce34a5530d
fix(git): add symbolic link file support to prepareCommit (#16254) 2022-06-27 07:55:25 +00:00
Sergei Zharinov
bce8dcc4e4
fix(github): Correct submodule updates for platformCommit=true (#16198) 2022-06-23 09:07:43 +02:00
Michael Kriese
10302eba68
refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +00:00
Michael Kriese
0a582d31c7
refactor: fix nullable types (#16156)
* refactor: fix nullable types

* chore: revert changes

* chore: fix lint comments

* chore: revert changes
2022-06-20 16:15:40 +00:00
Michael Kriese
0838ca209c
refactor: strict datasource tests (#16150) 2022-06-20 13:15:02 +02:00
Sergei Zharinov
0cf4f48842
refactor: Strict null checks for all files except tests (#16071)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-20 11:47:07 +02:00
RahulGautamSingh
3d31fa371d
refactor(lib/util): strict null check for test files (#15812)
* add types for tmp

* expand files in lib/util

* update yarn lock

* Update tsconfig.strict.json

* util/exec

* util/git

* util/http

* Revert "util/exec"

This reverts commit 96cf479a1b.

* update strict.json

* redo util/exec

* revert util/git

* util/merge-confidence

* update util/git

* util/package-rules

* fix util/git

* util/template

* util/

* revert extras

* rm newline

* add tmp back

* apply suggestion from review

* util/cache

* more changes

* Update tsconfig.strict.json

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-19 21:17:46 +00:00
Gabriel-Ladzaretti
dd3598c5b8
feat(config/migration): migrate config with a PR (#15122)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-18 12:12:31 +00:00
Rhys Arkins
5c803f2e41
fix(config): check for undefined str when validating handlebars helpers (#16047) 2022-06-13 13:34:14 +02:00
Alfred Krohmer
83f54f5a8a
feat: allow currentDigest and currentDigestShort in templates (#15951) 2022-06-09 06:58:53 +00:00
Sergei Zharinov
e4d5a0e2fd
fix(github): Throw on GraphQL errors during cache fetching (#15891) 2022-06-04 11:02:31 +00:00
Sergei Zharinov
c32b74bdee
fix(redis): Fix TTL minutes type (#15886) 2022-06-04 07:47:36 +02:00
Rhys Arkins
dd84b9c7f3 fix(redis): valid integer for ttl 2022-06-04 07:04:33 +02:00
Sergei Zharinov
cbed78630a
fix(cache): Fix repositoryCache support for reset value (#15874) 2022-06-03 13:35:20 +00:00
Sergei Zharinov
2e957baed9
feat(github): long-term datasource caching (#15653) 2022-06-03 11:27:26 +02:00
Rhys Arkins
cf6885f71a
fix(config): move endpoint, platform to GlobalConfig (#15864)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-03 06:43:58 +02:00
Jamie Magee
0cb19fa997
refactor(decorator): extract general purpose decorator methods (#15772) 2022-05-29 01:07:30 +02:00
Michael Kriese
e319e21dab
fix(http): cache head requests (#15695) 2022-05-23 13:34:04 +02:00
Michael Kriese
5afed40ba3
fix(manager:nuget): use git to read current lockfile (#15395) 2022-05-20 04:40:54 +00:00
Michael Kriese
8c20872ee2
fix(config): unicodeEmoji is a global only option (#15631) 2022-05-18 11:32:27 +02:00
Rhys Arkins
ff2318547d
fix: log sidecar sha (#15499) 2022-05-07 16:22:04 +02:00
Rhys Arkins
16bd06381c
fix: respect latest when selecting tool versions (#15481) 2022-05-06 09:53:28 +00:00
Michael Kriese
42824400d7
feat(manager:cocoapods): support binarySource=install for cocoapods (#15473)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-05 16:59:42 +02:00
Michael Kriese
03b28828f3
feat(manager:npm): support binarySource=install for yarn (#15414) 2022-05-04 08:32:15 +02:00
Kenneth Jorgensen
6ea0d5d6fb
feat(maven): S3 Support (#14938)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-04 05:59:14 +02:00
Michael Kriese
10671a16cc
test(git): use longer jest timeout (#15422) 2022-05-03 15:11:36 +02:00
Sergei Zharinov
608d0f6a40
feat: Create utility for function memoization (#15373)
* feat: Create utility for function memoization

* Simplify
2022-05-01 06:00:55 +02:00
Hasan Awad
e0053be5d6
fix(process/lookup): pinDigest update type (#14658) 2022-04-29 09:49:15 +02:00
Rhys Arkins
2471bcdf81
fix(package-rules): check for missing value (#15347)
* fix(package-rules): check for missing value

* fix null check
2022-04-28 06:02:55 +00:00
Michael Kriese
9f53724d90
feat(manager:npm): use local fs api (#15294) 2022-04-25 15:41:10 +02:00
Sergei Zharinov
b9dc73ac43
feat(cache): Compression for repository cache (#15289) 2022-04-24 22:15:11 +02:00
Sergei Zharinov
f911b0ba22
refactor: Class-based implementations of repo cache (#15157) 2022-04-23 04:44:28 +00:00
Michael Kriese
53bd90b30f
refactor(platform): final strict checks (#15268) 2022-04-22 22:05:26 +02:00
IKEDA Sho
2c087e86f7
feat(template): add lowercase Handlebars helper (#15212) 2022-04-21 09:26:24 +00:00
Michael Kriese
e8808f33aa
refactor(platform:bitbucket): strict null checks (#15196)
* refactor(platform:bitbucket): strict null checks

* refactor: wrong change
2022-04-20 20:55:20 +00:00
Rhys Arkins
5f1f104d65
fix(git): remove default gitTimeout (#15200) 2022-04-20 22:33:36 +02:00
Hasan Awad
9270ebad80
feat: add git timeout (#14914) 2022-04-17 18:12:42 +01:00
Michael Kriese
955b442871
refactor: strict null checks for util (#15150) 2022-04-17 11:07:22 +02:00
Sergei Zharinov
b35cf6e0aa
refactor(git): Additional nesting level for non-branch refs (#15143) 2022-04-16 09:46:50 +00:00
Michael Kriese
5cf9123017
refactor: more strict null checks (#15140) 2022-04-16 06:32:17 +00:00
Sergei Zharinov
a06e5d9ce7
refactor(cache): Separate data and metadata for repo cache (#15117) 2022-04-16 06:51:29 +01:00
Sergei Zharinov
d663859207
feat(github): Fetch PRs using cacheable REST (#14907) 2022-04-15 17:21:09 +00:00
Michael Kriese
c2adeff003
feat(manager:bundler): move constraint extraction to update artifacts (#15125)
* feat(manager:bundler): move constraint extraction to update artifacts

* fix: missing null checks

* chore: add comment

* chore: not null save transitives

* chore: fix snapshot
2022-04-15 18:30:34 +02:00
Michael Kriese
637585c5fd
feat(http): extend stats (#15104) 2022-04-14 10:47:06 +01:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
Michael Kriese
443bef5c52
test: cleanup snapshot tests (#15082) 2022-04-12 15:09:19 +01:00
Rhys Arkins
e7899422fa
fix(manager/npm): deduplicate yarn upgrade strings (#15069) 2022-04-12 07:07:27 +00:00
eSamS
1da46b0672
fix(go): allow go modules in gitlab subgroups (#14831)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-08 08:16:46 +00:00
Michael Kriese
fb9303c190
feat(core:changelogs): better platform detection (#14989)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-06 14:56:40 +00:00
Rhys Arkins
1b20602682
fix(git): treat git 403 as external host error (#14981) 2022-04-06 07:47:56 +00:00
Rhys Arkins
00c74a9ca2
fix(git): treat stale rejection as REPOSITORY_CHANGED (#14829) 2022-03-28 17:44:40 +02:00
RahulGautamSingh
e64b7576e9
feat: matchSourceUrls (#14813) 2022-03-28 09:58:20 +02:00
Sergei Zharinov
e35a0e290f
fix(git): Don't call redundant fetch after git-based commit creation (#14798) 2022-03-25 16:46:03 +00:00
Rhys Arkins
ebf9087555
fix(git): git default branch fall back to remote show (#14766) 2022-03-23 05:15:30 +01:00
Rhys Arkins
90e5182bd4
refactor: split global/repo sanitizations (#14635) 2022-03-13 10:27:21 +00:00
Rhys Arkins
a892b2ae9e
feat: expose manager to templating (#14624) 2022-03-12 22:45:37 +01:00
Ivan Katliarchuk
81ebad1cfa
rebase (#14511) 2022-03-04 20:19:42 +01:00
Rhys Arkins
143c9a6751 refactor: rename lookupName -> packageName (#14494)
Renames `lookupName` to be `packageName`.

BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01: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
f3d4e29c8a
fix(hostRules): sort by matchHost length (#14264) 2022-02-28 19:23:43 +00:00
Sergei Zharinov
4f3dfbcc18
feat(platform): Cache created comments (#14279)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-28 20:11:57 +01:00
Rhys Arkins
69c9c98cd6
fix: sanitize base64 of all secrets (#14423) 2022-02-28 17:07:09 +00:00
Rhys Arkins
564d0fec9e chore: jsdoc base64 functions 2022-02-26 21:59:49 +01:00
Rhys Arkins
6c9aad38a8
refactor: remove unnecessarily long paths in imports and mocks (#14429) 2022-02-26 16:09:01 +00:00
Rhys Arkins
b130bf5afb
refactor: base64 util functions (#14422) 2022-02-26 10:16:54 +01:00
Michael Kriese
f5cc1de36f
fix(fs): missing path normalization (#14414) 2022-02-25 14:12:43 +01:00
Oleg Krivtsov
6604de3aeb
feat(manager/nuget): migrate fs.readFile to fs.readLocalFile (#14234)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-25 11:07:31 +01:00
Sergei Zharinov
a674f727dd
feat(github): Platform-native REST-based push (#14271) 2022-02-24 15:32:46 +01:00
MaronHatoum
b121deb969
refactor(util/http): move interfaces from index.ts to types.ts (#14335)
* refactor:util/http move interfaces and types from index.ts to types.ts

* refactor:reorder imports

* refactor:move HttpError from type.ts to index.ts

* refactor:change imports after moving HttpError from type.ts to index.ts

* refactor:revert white spaces

* refactor:revert moving httpError from types.ts to index.ts

* refactor: moving httpError from types.ts to index.ts

* refactor: change import

* refactor: change import

* refactor: change import

* refactor: fix circular dependencies (lint build)

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-24 08:50:17 +00:00
Ivan Katliarchuk
9a103cbb51
fix: ignore empty labels during label merge and templating (#14322) 2022-02-21 21:47:51 +01:00
Oleg Krivtsov
536fd7366f
feat(util): add gitFs retry wrapper (#13314) 2022-02-17 05:57:26 +00:00
Sergei Zharinov
1f79f22e47
fix(util/git): Skip PR update on "force-with-lease" errors (#14228) 2022-02-15 07:27:30 +00:00
Sergei Zharinov
d09ce212c4
feat(util/git): Renovate custom refs periodic cleanup (#14211) 2022-02-15 05:50:08 +00:00
Sergei Zharinov
00a2dce783
refactor(datasource/docker): Convert to class (#14194) 2022-02-13 19:13:13 +00:00
Sergei Zharinov
b0ce30b59a
refactor(datasource/nuget): Convert to class (#14140)
* refactor(datasource/nuget): Convert to class

* Fix strict nulls and obsolete URL

* Fixes

* Fix mutability

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-13 13:55:03 +00:00
Sergei Zharinov
8a7abfdf01
refactor(github): Convert datasources to class form (#14124)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-02-13 03:24:40 +00:00
Michael Kriese
5723be1ac5
refactor: add strict null checks (#14169) 2022-02-11 11:02:30 +01:00
Sergei Zharinov
9809ba476b
feat(git): Add helpers for platform-native commit (#13955)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-10 08:58:30 +00:00
Michael Kriese
31c63a9549
chore: fix coverage comment. (#14115) 2022-02-09 16:48:51 +01:00
Nils Plaschke
33e9e5a97d
fix: remove quotations around git insteadOF url (#14079) 2022-02-07 20:00:53 +00:00
Jamie Magee
3b7e9a17cb
refactor: set importsNotUsedAsValues to error (#14052) 2022-02-07 06:37:17 +00:00
Sergei Zharinov
c1555efb3b
refactor(datasource/crate): Enable strict null checks (#13915) 2022-02-07 06:14:23 +00:00
Sergei Zharinov
cdd9b44ae8
refactor: Use null-safe Boolean filtering (#14039)
* refactor: Use null-safe Boolean filtering

* Simplify and remove file
2022-02-06 16:30:53 +00:00
Sergei Zharinov
4fa5eeb8bb
refactor(util/template): Strict null checks (#14031) 2022-02-06 09:03:07 +01:00
Nils Plaschke
2eadd19a47
feat: add additional git authentication rules (#13477)
* feat: add additional git authentication rules

* feat: refactor and add additional test cases

* fix: add git envs to gomod tests

* chore: revert function renaming

* chore: use interface instead of type

* chore: add test for different protocol

* chore: add typed import

* fix: do not use quotes, it breaks the docker sidecar

* chore: use correct quotes

* chore: incorporate feedback

* chore: lint files

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-05 07:50:48 +00:00
Sergei Zharinov
99c30be29f
fix(git): Don't fetch if push has failed (#13997)
* fix(git): Don't fetch if push has failed

* Fix coverage
2022-02-04 09:45:06 +00:00
Richard Versteeg
000142e5d5
feat(changelogs): Add github-changelog and gitlab-changelog hosttypes (#13695)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-02 10:20:51 +00:00
Sergei Zharinov
8070f007a6
refactor: Use Windows-compatible regex for newlines (#13956) 2022-02-02 07:31:11 +00:00
Dan Ports
41f198c63c
feat(manager/flux): Update system manifests. (#13675) 2022-01-29 06:30:02 +00:00
Sergei Zharinov
0424518db2
refactor(git): Delegate commit function to platform (#13823) 2022-01-28 14:50:10 +01:00
Rhys Arkins
3144a48f2e
feat(helm): support binarySource=install (#13719) 2022-01-28 13:30:34 +00:00
Sergei Zharinov
d3b774e8ef
feat(git): Cache for local conflict detection (#13764)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-28 09:53:30 +01:00
renovate[bot]
859290b165
build(deps): update dependency simple-git to v3 (#13705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-27 12:22:48 +01:00
Rhys Arkins
4d3c1de974
fix: Revert "feat(git): use git fetching for forkMode (#13808)" (#13831)
This reverts commit 152ad14672.
2022-01-26 13:07:17 +01:00
Rhys Arkins
35f0968c32
fix: Revert "refactor(git): remove first git checkout as redundant (#13509)" (#13829)
This reverts commit 63f8371b93.
2022-01-26 11:17:30 +00:00
Rhys Arkins
0bad22b254
chore: rename sanitize functions for better searchability (#13826) 2022-01-26 10:57:21 +01:00
Sergei Zharinov
6c7fd8df29
refactor(git): Split commitFiles function into 3 phases (#13821) 2022-01-26 09:19:08 +01:00
Sergei Zharinov
7eac592de4
refactor(git): Extract auth handling from commitFiles (#13820) 2022-01-26 05:05:21 +00:00
Sergei Zharinov
fbb0a01f15
refactor(git): Extract error handling to separate file (#13819) 2022-01-26 05:52:06 +01:00
Rhys Arkins
152ad14672
feat(git): use git fetching for forkMode (#13808) 2022-01-25 17:25:24 +00:00
Oleg Krivtsov
25e62d54a4
feat(git-submodules): handle directory artifacts in postUpgradeTasks (#13480) 2022-01-25 16:29:39 +00:00
Rhys Arkins
47d158d696
feat(poetry): support binarySource=install (#13794) 2022-01-25 15:45:28 +00:00
Rhys Arkins
6b0e896eb7
fix(buildpack): filter stable if no constraint (#13797) 2022-01-25 11:48:01 +01:00
Oleg Krivtsov
63f8371b93
refactor(git): remove first git checkout as redundant (#13509)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-25 09:50:30 +01:00
Rhys Arkins
d67436cc87
feat(bundler): support binarySource=install (#13780) 2022-01-24 16:39:22 +00:00
Rhys Arkins
a9920ff8ec
fix(git): writeGitAuthor before conflicted check (#13776) 2022-01-24 13:39:41 +00:00
Sergei Zharinov
5ca701c5ee
feat(git): Use local git for conflict detection (#12575) 2022-01-24 11:25:15 +00:00
Rhys Arkins
2e35968146
feat(pr): display latest pending update in upgrades table (#13768) 2022-01-24 11:09:27 +00:00
Rhys Arkins
a920a6bd66
fix(git): coerce git version equals (#13767) 2022-01-24 10:57:03 +01:00
Maksim
dabe3d0e29
refactor: introduce Fixtures util class (#12638)
* refactor: introduce Fixtures util class

* refactor: align yarn.spec

* refactor: move fs mocks to __mocks__ folder

* refactor: improve fs-extra mock

* refactor: move callsite to dev deps

* refactor: use fixtures class

* refactor: use fixtures class

* refactor: reduce external variables in tests

* refactor: improve Fixtures

* refactor: add type for realFs

* refactor: remove obsolete snapshot

* fix: by comments

* refactor: provide ability to spy on mocked fs methods

* refactor: fix build

* refactor: fix by comments

* refactor: add docs

* refactor: fix unit test

* refactor: return called times checks

* refactor: fix by comments

* refactor: adjust unit test

* refactor: adjust unit test

* refactor: fix unit test

* refactor: fix by comments

* refactor: fix by comments

* refactor: update jsdoc

* refactor: fix by comments

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-23 21:23:54 +00:00
Sergei Zharinov
dbe14ab438
refactor(git): Rename File interface to FileChange (#13741)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-22 08:31:32 +00:00
Rhys Arkins
d2a47ce7e7
feat(npm): support binarySource=install for pnpm (#13723) 2022-01-21 18:03:15 +01:00
Sergei Zharinov
8a5be3440f
refactor: Use eslint rule to prohibit enums (#13703)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-21 15:33:23 +01:00
elmaso1620
49f5ac0b9b
feat: expose sourceRepo, sourceRepoOrg and sourceRepoName (#13620)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-21 12:03:06 +00:00
Sergei Zharinov
0c4d8c7180
refactor: Separate file addition and deletion data structures (#13638) 2022-01-21 06:47:49 +01:00
Richard Versteeg
599958a56b
fix(bitbucket-tags): Add hostType and fallback for bitbucket-tags datasource (#13697) 2022-01-20 20:16:17 +00:00
Richard Versteeg
c3783171c2
fix(gitlab-packages): Add missing hostType for datasource calls (#13696)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-20 19:55:10 +00:00
renovate[bot]
995dd0e670
build(deps): update dependency redis to v4 (#13260)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-19 06:05:23 +00:00
Sergei Zharinov
3b14ef2869
feat(github): Remember GraphQL optimal page size (#13047)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-18 15:36:44 +00:00
Rhys Arkins
c4710fecc9
fix(git): skip null contents additions which aren't directories (#13560) 2022-01-14 13:51:26 +01:00
Sergei Zharinov
1b65125ad6
refactor(util/range): Extract range generator util (#13532) 2022-01-13 08:20:37 +01:00
renovate[bot]
b0acc97579
build(deps): update dependency parse-link-header to v2 [security] (#13412) 2022-01-13 06:45:50 +01:00
Michael Kriese
9d61bd9678
refactor: strong type http headers (#13520) 2022-01-12 22:08:09 +01:00
Sergei Zharinov
9a2e37f5bd
fix(http/github): Preserve search params for paginated requests (#13506)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-12 11:31:36 +00:00
Sergei Zharinov
ac9b270a82
refactor(util): Refactor strict null check list (#13507)
* refactor(util): Refactor strict null check list

* Fix
2022-01-12 08:28:26 +01:00
Sergei Zharinov
1d2c9d8e70
refactor(util/lazy): Strict null check (#13455)
* refactor(util/lazy): Strict null check

* Reimplement without `never` type cast

* Revert tsconfig.json

* Fix
2022-01-11 08:36:26 +01:00
Sergei Zharinov
030b1a61a4
refactor(util/http): Strict null checks for http utils (#13416)
* refactor(util/http): Strict null checks for http utils

* More tests for queue.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-09 21:22:27 +00:00
Jamie Magee
e3d213e7c5
fix(aws-machine-image): lazily load ec2client (#13437) 2022-01-09 18:57:26 +01:00
Sergei Zharinov
f32871e496
refactor(util/http): Refresh queue implementation (#13417)
* refactor(util/http): Refresh queue implementation

* Use utils for url parsing
2022-01-07 12:44:55 +01:00
Marina
7770888184
feat: Add 'and', 'or' and 'containsString' to handlebar helpers (#13341) 2022-01-06 15:24:42 +00:00
marcovmun
d723d78f1c
feat(matchBaseBranches): Support regex expression (#13322) 2022-01-05 08:53:53 +01:00
renovate[bot]
b34b099899
chore(deps): update dependency eslint-plugin-jest to v25.3.2 (#13353)
* chore(deps): update dependency eslint-plugin-jest to v25.3.2

* chore: fix test lint issues

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-04 09:57:35 +00:00
Sergei Zharinov
f0906eb75f
refactor: Add more strict null checks (#13332)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-03 08:01:31 +00:00
RahulGautamSingh
4f65b57225
refactor: refactor static regex out of for loops (#13065) 2021-12-29 07:26:13 +01:00
Sergei Zharinov
15a120847b
test(lib/util): Refactor snapshot tests (#13289) 2021-12-27 11:28:10 +01:00
Michael Kriese
5e0e9ac1c2
refactor: prepare esm helper (#13250)
* refactor: prepare esm helper

* chore: fix type name
2021-12-22 17:01:28 +01:00
Michael Kriese
038969bc86
refactor: fix more esm imports (#13246) 2021-12-22 15:19:53 +01:00
Michael Kriese
c5d50f6da3
refactor: more esm imports (#13233)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 11:28:20 +00:00
Michael Kriese
2b24a98359
refactor: update imports for esm (#13230)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 08:37:47 +00:00
Matt Palmer
3cdfd7a20a
fix(manager/gomod): GitLab Private Authentication (#13216) 2021-12-21 13:09:49 +00:00
Oleg Krivtsov
9b2c4b5af2
test: error 502 is handled correctly in GitHub graphql (#13167)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-21 08:16:41 +00:00
Rhys Arkins
9bf5ba7b56 chore: log docker exec image 2021-12-20 09:28:39 +01:00
RahulGautamSingh
453c249e46
fix(regex): add option to disable caching regex (#13068)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-17 09:43:33 +01:00
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