Commit Graph

3688 Commits

Author SHA1 Message Date
Michael Kriese 443bef5c52 test: cleanup snapshot tests (#15082) 2022-04-12 15:09:19 +01: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 fb9303c190 feat(core:changelogs): better platform detection (#14989)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-06 14:56:40 +00:00
MaronHatoum 080ab8ed94 fix: PR body comment for pinning is wrong/outdated (#14870) 2022-03-31 12:43:47 +02:00
renovate[bot] 832517e98b chore(deps): update linters to v5.16.0 (#14833)
* chore(deps): update linters to v5.16.0

* chore: fix lint errors manually

* Update lib/modules/manager/npm/update/package-version/index.ts

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-03-30 03:08:04 +00:00
Rhys Arkins 92477ae1c7 fix: Revert "fix: resolve repoConfig.packageRules.extends with repo config" (#14842) 2022-03-29 09:01:14 +02: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
Brad Jorsch e2b6466376 fix: resolve repoConfig.packageRules.extends with repo config (#14688) 2022-03-25 14:05:48 +00:00
Rhys Arkins 7e2e0b3f18 feat(poetry): updateLockedDependency() (#14627)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-03-14 17:56:09 +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 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
Jamie Magee b08439a6ed fix: union types for ensurePR (#14293) 2022-03-02 06:09:06 +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
Hasan Awad 77e48684e7 fix(pr): pr table for digests (#14337) 2022-02-28 18:47:19 +00:00
Rhys Arkins 68a4415eb4 refactor(config): rename preset packageName/pkgName to repo (#14453) 2022-02-28 17:39:44 +01:00
Rhys Arkins 08a44c9566 refactor(npm): npmrc handling (#14443) 2022-02-28 10:50:30 +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
Florian Greinacher a989c78800 fix: do not interpret value as version during flattening (#14320) 2022-02-24 09:41:47 +00:00
Sergei Zharinov 88ffc9c0b8 refactor(platform): Simplify comment deletion API (#14363)
* refactor(platform): Simplify comment deletion API

* Fix comment id types

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-23 12:28:36 +00:00
Ivan Katliarchuk 9a103cbb51 fix: ignore empty labels during label merge and templating (#14322) 2022-02-21 21:47:51 +01:00
Rhys Arkins 36a29974bb fix: validate depName is a string (#14342)
Closes #14338
2022-02-21 15:38:24 +01:00
Serge K c75f0e9b47 fix: check hashedBranchLength (#14307) 2022-02-19 09:57:01 +00:00
Rhys Arkins f3bdb9470c fix(composer): add support for github vulnerability alerts (#14301) 2022-02-18 16:48:40 +01:00
Philip 5480202a59 fix(PrBody): pr table 'Change' field shows only "All locks refreshed" (#13963)
* fix(PrBody): issue 5838,

* Update lib/workers/pr/body/updates-table.spec.ts

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

* fix(PrBody): issue 5838 review commits

* fix(PrBody): issue 5838 review commits

* fix(PrBody): issue 5838 review commits

* Update lib/workers/repository/updates/generate.ts

Co-authored-by: Rhys Arkins <rhys@arkins.net>

* 5838 - add import

* 5838 - add import

* 10033 - merge

* 5838 - new pull request commit

* 5838 - order imports

* Update lib/workers/repository/updates/generate.ts

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

* 5838 - fix tests

Co-authored-by: philipabed <philip.abed@whitesourcesoftware.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-15 20:44:53 +01:00
Sergei Zharinov 1e6ec07d8a refactor(datasource/npm): Convert to class (#14193) 2022-02-15 08:20:45 +00:00
Sergei Zharinov d09ce212c4 feat(util/git): Renovate custom refs periodic cleanup (#14211) 2022-02-15 05:50:08 +00:00
Sergei Zharinov a86f23df09 refactor: Convert Maven-based datasources to class (#14188) 2022-02-15 05:12:30 +00:00
Rhys Arkins b0d4012c45 fix(presets): set global host rules before validating presets (#14213) 2022-02-14 17:30:49 +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
Hasan Awad f83c82b94f fix: added filtering for empty depName (#14037) 2022-02-13 09:59:03 +01:00
Rhys Arkins c6b1cda575 fix(pr): intelligently merge prBodyColumns (#14198) 2022-02-13 08:26:49 +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
Oleg Krivtsov 0786775005 feat(workers/global): support eager resolving of presets (#13279)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-11 11:35:29 +00:00
Michael Kriese 5723be1ac5 refactor: add strict null checks (#14169) 2022-02-11 11:02:30 +01: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
Michael Kriese 8dee195d0e fix: wrong config access (#14164) 2022-02-11 04:37:57 +00:00
Hasan Awad bf0ebd2159 test: fix broken test of 'processBranch' function (#14135) 2022-02-10 16:21:05 +01:00
Rhys Arkins 9a43d32457 feat(npm): optimize remediation to detect already updated branches (#14084) 2022-02-08 09:41:26 +01:00
Rhys Arkins 98ed29c74b fix(npm): don't disable lock file updates when remediating (#14082) 2022-02-08 08:55:27 +01:00
Rhys Arkins bc300b858f fix(automerge): don't reassign failing PRs if assignAutomerge=true (#14065) 2022-02-07 15:45:57 +01:00
Jamie Magee 3b7e9a17cb refactor: set importsNotUsedAsValues to error (#14052) 2022-02-07 06:37:17 +00:00
Rhys Arkins eba4e8f51b fix(npm): remove failed remediations from dashboard (#14025)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-02-07 03:27:24 +00:00
Malte Swart 67524192a1 fix: populate isLockFileMaintenance (#14005)
Lock file maintenance was broken as various managers rely on the
`isLockFileMaintenance` update flag to be set. This was not the
case as its config is generated afterwards (without the is*
auto-propagation).
2022-02-05 07:35:46 +01: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