Commit graph

1317 commits

Author SHA1 Message Date
Michael Kriese
ec4b17b8b6
feat(config)!: default dockerImagePrefix to containerbase (#20150)
Sidecar containers will now use `containerbase/` prefix instead of `renovate/` prefix.

BREAKING CHANGE: containerbase/ account used for sidecar containers instead of renovate/
2023-03-10 09:34:40 +01:00
Rhys Arkins
222cda6058
feat(cache): file cache cleanup (#20061)
Checks file cache for expired items at the end of a run. Non-breaking change but it may result in some long cleanup jobs for any bots which have been left to populate their package cache for a long time.

Closes #13732
2023-03-10 09:34:39 +01:00
Rhys Arkins
b6ed33ec01
fix(regex): don’t escape forward slash in fileMatch (#19314)
This cleanup of default `fileMatch` values should be backwards compatible.
2023-03-10 09:34:39 +01:00
Rhys Arkins
a3cc159f7e
chore: extract and lookup duration logging (#20816) 2023-03-09 11:24:50 +00:00
Jamie Magee
67b076ae6e
refactor: safely parse emoji shortcodes (#20814) 2023-03-09 06:31:16 +00:00
Sergei Zharinov
cd06651f89
fix(packagist): Replace V2 URL path instead of joining it (#20709) 2023-03-02 14:19:55 +00:00
Sergei Zharinov
36b1e4e86e
fix(github): Reconcile entire GraphQL pages (#20630) 2023-02-26 09:02:33 +00:00
Sergei Zharinov
eb8a02c37f
refactor(github): Use schema validation for GraphQL (#20519) 2023-02-24 09:01:58 +00:00
Sergei Zharinov
edef60045c
feat(schema): Add looseValue and looseObject helpers (#20576) 2023-02-22 14:45:26 +00:00
Sergei Zharinov
9364ab002a
feat(schema): Add looseArray and looseRecord helpers (#20563) 2023-02-22 08:21:09 +00:00
Markus Schulz
dd6c8e5147
feat: Move some Git commands behind a PlatformScm interface (#19327)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-22 08:18:53 +00:00
RahulGautamSingh
63fde6b3bc
feat(cache): pr fingerprint implementation (#18850)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-21 06:07:48 +00:00
Rhys Arkins
cc33d34ca8
refactor: PackageFile types (#20498)
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-20 14:58:49 +00:00
Rhys Arkins
3cef2f2e4f
refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
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
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