Commit graph

869 commits

Author SHA1 Message Date
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