Commit graph

1203 commits

Author SHA1 Message Date
Daniel Silva
0e47a1072c
feat(platform/github): Support rewrite pagination links with the server's base URL (#19888)
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-16 15:25:56 +00:00
Kyle Welch
a49c994ca6
feat(platform/bitbucket): Add ability to use UUID for reviewers (#20382)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-15 16:25:11 +00:00
Michael Kriese
ad68c4da38
fix(containerbase/dotnet): migrate datasource (#20407) 2023-02-14 17:10:20 +00:00
renovate[bot]
db2aef4553
chore(deps): update jest monorepo to v29.4.1 (#20130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-14 16:00:49 +00:00
RahulGautamSingh
09402a32e6
fix(datasource): rename adoptium-java to java-version (#20245) 2023-02-13 07:54:20 +00:00
renovate[bot]
9ff3946839
chore(deps): update dependency @types/parse-link-header to v2.0.1 (#20343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-11 13:16:43 +00:00
RahulGautamSingh
7ff4b53439
test: replace as with partial (#20252)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-07 11:38:59 +00:00
Sergei Zharinov
37161f521b
feat(util): Human readable duration helper (#20231) 2023-02-06 09:42:34 +00:00
Nikolai Røed Kristiansen
5474229a30
feat(manager/helmfile): Lock file support (#19865)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-04 14:10:03 +00:00
Rhys Arkins
cf6be1719e
feat(cache): retain fingerprints for all matched managers (#20138) 2023-02-01 09:12:45 +01:00
LordCranus
395e490d70
chore(http/github): log warning if Github secondary rate limit is hit (#20074) 2023-01-27 23:00:05 +01:00
renovate[bot]
84df0c0ca7
chore(deps): update dependency @types/fs-extra to v11 (#19755)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-24 11:46:08 +00:00
Markus Schulz
56e9270b74
feat(git): allow commit-and-push to different target branch (#19680) 2023-01-24 08:07:16 +01:00
Michael Kriese
e78048dfc1
fix: no cycles (#19982) 2023-01-23 21:20:54 +00:00
RahulGautamSingh
79c2532a2d
refactor: add new fn getElapsedHours (#19892) 2023-01-20 09:19:08 +00:00
Rhys Arkins
c43a65f192 fix: Revert fix(git): unset git-hooks after clone (#19880) 2023-01-18 12:47:58 +01:00
Rhys Arkins
09fca82137
fix(git): unset git-hooks after clone (#19880) 2023-01-17 15:50:54 +00:00
Rhys Arkins
7dd14fa1f8 chore: refactor git warn 2023-01-14 20:20:25 +01:00
Rhys Arkins
98247d34f3
fix(templates): try/catch handlebars compile (#19794)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-14 09:35:33 +01:00
Sergei Zharinov
b00294f61a
fix(datasource/docker): Validate digest value before calling API (#19780) 2023-01-13 06:54:01 +01:00
Sergei Zharinov
cd5c569bab
test(graphql): Make private repo testing more explicit (#19803) 2023-01-12 18:25:15 +01:00
Gabriel-Ladzaretti
2de4260b15
feat(packageRules): add experimental env var for matching against package names (#19784) 2023-01-12 07:29:48 +00:00
Rhys Arkins
a0cbd89033
fix(git): don’t throw when obsolete ref deletion fails (#19790) 2023-01-11 18:13:14 +01:00
Gabriel-Ladzaretti
de289bb409
feat(core/onboarding): support manual rebase/retry (#17633)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-11 14:59:08 +01:00
Michael Kriese
054e1579c8
fix: Revert "feat(git): allow to install git-hook functions to local repositories" (#19773) 2023-01-10 20:04:04 +00:00
Rhys Arkins
e8874dca1d
fix(package-rules): return early (#19768) 2023-01-10 14:28:13 +01:00
Rhys Arkins
bf38439ec2
fix(versioning/hashicorp): check valid before matches (#19742) 2023-01-09 16:23:53 +01:00
Sergei Zharinov
2c10282b7d
feat(github-tags): Leverage GraphQL for tag commit hashes (#19187)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-06 15:49:52 +00:00
Markus Schulz
5b4b646668
feat(git): allow to install git-hook functions to local repositories (#19685) 2023-01-06 14:50:54 +00:00
Markus Schulz
644f559ea5
feat(git): more flexible git.hasDiff function (#19676) 2023-01-06 10:23:09 +00:00
Markus Schulz
ca444bd9c1
feat(git): allow to fetch with ref-specs (#19697) 2023-01-06 09:48:16 +00:00
Sergei Zharinov
89965bdcf2
feat(github): GraphQL cache for datasources (#19059)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-01-06 08:33:33 +00:00
Markus Schulz
6b136998ed
fix(git): checkout branch in a safer way (#19681) 2023-01-05 16:45:37 +00:00
Marek Grzenkowicz
2cd10769f2
feat(template): use environment variables in templates (#19301) 2023-01-03 10:55:41 +00:00
William Boman
aecfcdbb3c
feat(templates): add decodeURIComponent helper (#19616) 2022-12-31 09:25:06 +00:00
Gabriel-Ladzaretti
2bd9171ba3
feat(packageRules): add depName matchers (#19565) 2022-12-26 18:30:44 +00:00
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