Commit Graph

799 Commits

Author SHA1 Message Date
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
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
IKEDA Sho 45d0dbf884 refactor(workers): Prefer interface over type (#16727)
https://github.com/renovatebot/renovate/blob/main/docs/development/best-practices.md#general
2022-07-24 08:53:54 +03:00
Rhys Arkins b49849b2a0 fix: assign default versioning before applying package rules (#16392) 2022-07-03 18:11:20 +02:00
Rhys Arkins 61aebaf0bb fix: filter out rollback if followTag is true (#16296) 2022-06-29 11:39:57 +02:00
Sergei Zharinov dc34060ced fix(onboarding): warnings for external host errors (#15587)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-22 09:56:55 +00:00
Michael Kriese e5c6f38d75 refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
RahulGautamSingh 03b0d2a24e refactor(lib/workers): fix null-check for tests (#16163)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-21 09:39:30 +00: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 87f85951a2 refactor: move update internal deps to lookup (#16059) 2022-06-15 04:21:37 +00:00
Hasan Awad 89facd1d5d feat: add extractedConstraint field for poetry (#15922)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-13 21:12:51 +00:00
Maron 0b6b43ab80 fix(lookup): avoid unstable versions when rolling back (#15821) 2022-06-03 10:32:40 +00:00
Sergei Zharinov 2e957baed9 feat(github): long-term datasource caching (#15653) 2022-06-03 11:27:26 +02:00
Sergei Zharinov 5495ab6394 refactor: Enable strict null checks for lookup-related functionality (#15848) 2022-06-02 13:56:14 +02:00
Rhys Arkins c3acca8877 refactor: better manager types (#15708)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-24 07:01:43 +00:00
Sergei Zharinov de70ecad04 refactor(datasource): Make GitDatasource class abstract (#15629) 2022-05-18 11:56:59 +02:00
Gabriel-Ladzaretti 224d5e7717 feat(core/dashboard): include list of detected package files (#15418) 2022-05-16 12:20:31 +02:00
Michael Kriese 47385421e4 test: deprecate old loads fixtures functions (#15539) 2022-05-11 07:19:34 +00:00
Hasan Awad e0053be5d6 fix(process/lookup): pinDigest update type (#14658) 2022-04-29 09:49:15 +02:00
Jamie Magee 48cb88e778 feat: add osv-vulnerabilities and vulnerability service (#14567) 2022-04-12 16:13:20 +00:00
Michael Kriese 64f5bd5f03 test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
MaronHatoum 3e312fd641 feat: refactor dry-run option (#14849)
* feat : added dryRun new behavior + added more migration

* feat : revert extra space

* feat : revert extra code

* feat : added unit tests

* feat : added unit tests

* feat : removed extra tests + removed unnecessary condition

* feat: changes after CR

* feat: added dry run migration cli and env + unit tests

* Update lib/workers/global/config/parse/cli.ts

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

* feat: migration changes + added logs + added unit test

* feat: removed log msgs + change unit test

* feat: update

* feat: update

* Update lib/workers/global/config/parse/cli.ts

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-11 20:29:02 +00:00
Michael Kriese 89d7fdf781 Revert "feat: extend dryRun options to extract lookup full (#14555)" (#14836)
This reverts commit 39471b57ad.
2022-03-29 02:47:54 +02:00
MaronHatoum 39471b57ad feat: extend dryRun options to extract lookup full (#14555) 2022-03-28 13:55:26 +02:00
Rhys Arkins a61821bde8 refactor: repository worker (#14489)
Refactors branch and pr worker to be under repository worker.
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 08a44c9566 refactor(npm): npmrc handling (#14443) 2022-02-28 10:50:30 +01:00
Rhys Arkins 36a29974bb fix: validate depName is a string (#14342)
Closes #14338
2022-02-21 15:38:24 +01:00
Sergei Zharinov 1e6ec07d8a refactor(datasource/npm): Convert to class (#14193) 2022-02-15 08:20:45 +00:00
Sergei Zharinov a86f23df09 refactor: Convert Maven-based datasources to class (#14188) 2022-02-15 05:12:30 +00:00
Sergei Zharinov 00a2dce783 refactor(datasource/docker): Convert to class (#14194) 2022-02-13 19:13:13 +00:00
Hasan Awad f83c82b94f fix: added filtering for empty depName (#14037) 2022-02-13 09:59:03 +01: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
Jamie Magee 0a4b1036b5 refactor(packagist): convert to class-based datasource (#12227)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-11 07:29:11 +00:00
Jamie Magee 3b7e9a17cb refactor: set importsNotUsedAsValues to error (#14052) 2022-02-07 06:37:17 +00:00
Oleg Krivtsov 368903ab81 feat: support new rangeStrategy=in-range-only (#13257)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-30 03:46:22 +00:00
Sergei Zharinov b72bff3046 refactor(datasource): Make "DigestConfig::lookupName" a required field (#13608) 2022-01-28 11:50:03 +00:00
Rhys Arkins e0d891799a fix: baseBranches branchPrefix (#13872) 2022-01-27 20:38:15 +00:00
Michael Kriese 3b651408e7 fix: readd missing config properties (#13716) 2022-01-21 10:58:29 +00:00
Sergei Zharinov 4f18d76320 refactor: Use union type for SkipReason (#13702)
* refactor: Use union type for SkipReason

* Fix snapshot

* Fix snapshot
2022-01-21 08:59:36 +01:00
Oleg Krivtsov e148b66d8a feat(config): read config from branches in baseBranches (#12514)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-20 08:11:25 +00:00
Sergei Zharinov d5ddfe0fea refactor(versioning): Remove deprecated functions for generic versioning creation (#13481)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-14 09:33:49 +00:00
Sergei Zharinov f7869e19e4 test: Refactor snapshot-only test cases (#13324) 2022-01-02 16:25: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
Rhys Arkins bcea3254ad fix: check if currentValue is a string (#13044) 2021-12-10 09:49:58 +01:00
Rhys Arkins 8e156efc34 fix(lookup): currentVersion = lockedVersion (#12922) 2021-12-02 16:04:18 +00:00
Sergei Zharinov 0bb5fcb6f7 refactor(util/regex): Enable strict null checks (#12866)
* refactor(util/regex): Enable strict null checks

* Fix coverage

* Refactor guard checks
2021-11-28 09:04:44 +01:00
Rhys Arkins 41b0517ef1 fix: check currentValue before updating newValue 2021-11-24 15:25:21 +01:00
Rhys Arkins eed9826518 fix: Revert fix: check currentValue before generating newValue 2021-11-24 15:14:49 +01:00
Rhys Arkins bb64598d6a fix: check currentValue before generating newValue 2021-11-24 14:28:50 +01:00