Commit Graph

103 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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 64f5bd5f03 test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00: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
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
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] 995dd0e670 build(deps): update dependency redis to v4 (#13260)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-19 06:05:23 +00:00
Sergei Zharinov 3b14ef2869 feat(github): Remember GraphQL optimal page size (#13047)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-18 15:36:44 +00:00
Michael Kriese 038969bc86 refactor: fix more esm imports (#13246) 2021-12-22 15:19:53 +01:00
Michael Kriese c5d50f6da3 refactor: more esm imports (#13233)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 11:28:20 +00:00
Michael Kriese 2b24a98359 refactor: update imports for esm (#13230)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 08:37:47 +00:00
Michael Kriese 7c4a71b679 feat!: remove node v12 and node v15 support (#12658)
BREAKING CHANGE: remove node v12 and v15 support
2021-12-09 13:44:42 +01:00
Sergei Zharinov 52b2bdbb48 refactor(util/cache): Enable strict nulls (#12887) 2021-11-29 17:04:43 +01:00
Sergei Zharinov ef51e85b7a refactor(cache/package): Enable strict checks (#12862)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-27 12:08:24 +00:00
Maksim 06d8c27043 refactor: global config (#12743)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-23 21:10:45 +01:00
Michael Kriese 7afc2b75d5 test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
Sergei Zharinov eef4c2f11f feat(github): Use native auto-merge when possible (#12045) 2021-10-20 03:31:03 +00:00
Jamie Magee 4461796836 refactor(crate): convert to class-based datasource (#12033) 2021-10-13 04:42:12 +00:00
Rhys Arkins dcfc9d9885 fix(travis): massage currentValue to string (#11475) 2021-08-30 11:08:48 +02:00
Sergei Zharinov 5f4b9f9a3a test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins 9150854d75 chore: rename config/admin -> config/global 2021-08-17 07:57:45 +02:00
Rhys Arkins bf69924b78 refactor: rename config admin functions to global 2021-08-17 07:57:45 +02:00
Sebastian Poxhofer 6a361c6150 feat(cache): allow caching of null values (#11014) 2021-08-17 07:57:45 +02:00
Jamie Magee 55d23ad3b9 fix(cache): don't catch errors (#10449) 2021-06-17 07:36:34 +02:00
Rhys Arkins 7249ee0870 fix: cache decorate log 2021-06-15 14:23:40 +02:00
Jamie Magee 52b63e4163 feat(cache): cache decorator for automatic caching (#10203) 2021-06-07 16:28:05 +00:00
Rhys Arkins d0434d5df1 chore: GlobalConfig -> AllConfig 2021-06-02 11:25:10 +02:00
Rhys Arkins 854d0a86e8 feat(internal): use cache to delay git cloning (#10209)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-28 10:36:53 +00:00
Rhys Arkins 9ebf804d4e fix(cache): cacheDir adminConfig 2021-05-19 12:27:37 +02:00
Michael Kriese 9ca604b345 refactor: extract more types (#9959) 2021-05-11 19:08:02 +02:00
Michael Kriese 7daa93a78d refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Sergei Zharinov 38620be343 refactor: Replace some TODO items with issue ids (#9596) 2021-04-26 20:19:30 +00:00
Sergei Zharinov ce51f05cef feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00