Commit graph

1371 commits

Author SHA1 Message Date
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
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
Florian Greinacher
a989c78800
fix: do not interpret value as version during flattening (#14320) 2022-02-24 09:41:47 +00: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
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
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
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
Rhys Arkins
98ed29c74b
fix(npm): don't disable lock file updates when remediating (#14082) 2022-02-08 08:55:27 +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
Sergei Zharinov
8070f007a6
refactor: Use Windows-compatible regex for newlines (#13956) 2022-02-02 07:31:11 +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
Nils Plaschke
3c4a3c1c43
fix: pass undefined to global secret replace (#13908) 2022-01-29 12:47:09 +01:00
Maxime Brunet
3f403d232a
fix(dependency-dashboard): Add missing newline to "Awaiting Schedule" section (#13905) 2022-01-29 06:02:25 +01:00
Sergei Zharinov
0424518db2
refactor(git): Delegate commit function to platform (#13823) 2022-01-28 14:50:10 +01:00
Nils Plaschke
c34c1a7e3c
feat(config): replace secrets in global config (#13445) 2022-01-28 14:49:21 +01:00
Martin Herndl
184a7755b4
fix: improve re-opening behaviour of group updates (#13830) 2022-01-28 14:18:03 +01:00
Sergei Zharinov
b72bff3046
refactor(datasource): Make "DigestConfig::lookupName" a required field (#13608) 2022-01-28 11:50:03 +00:00
Sergei Zharinov
73b74a5207
test(onboarding): Remove inconvenient helper function (#13876)
* test(onboarding): Remove inconvenient helper function

* Fix tests

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-28 11:34:21 +00:00
Rhys Arkins
e0d891799a
fix: baseBranches branchPrefix (#13872) 2022-01-27 20:38:15 +00:00
hasanawad94
ddd7fc58e0
fix: Some wrong logging for flattened updates (#13853) 2022-01-27 13:57:24 +00:00
Yannick Denimal
4b83298f75
feat(template): dashboard header/footer templating (#13598) 2022-01-26 12:23:56 +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
elmaso1620
49f5ac0b9b
feat: expose sourceRepo, sourceRepoOrg and sourceRepoName (#13620)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-21 12:03:06 +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
Sergei Zharinov
0c4d8c7180
refactor: Separate file addition and deletion data structures (#13638) 2022-01-21 06:47:49 +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
Sebastian Poxhofer
1194cc711d
feat(onboarding): merge labels and addLabels and template onboarding labels (#13433)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-10 09:52:42 +00:00
Sergei Zharinov
f7869e19e4
test: Refactor snapshot-only test cases (#13324) 2022-01-02 16:25:53 +01:00
RahulGautamSingh
4f65b57225
refactor: refactor static regex out of for loops (#13065) 2021-12-29 07:26:13 +01:00
Michael Kriese
5e0e9ac1c2
refactor: prepare esm helper (#13250)
* refactor: prepare esm helper

* chore: fix type name
2021-12-22 17:01:28 +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
aa58814dcd
fix: wrong import (#13229) 2021-12-22 08:43:39 +01:00
Rhys Arkins
347d7dc51f
fix: move rebaseWhen=never check earlier (#13218) 2021-12-21 20:23:08 +00:00
Sergei Zharinov
61c57a1321
test(workers): Explicit snapshot tests for generateBranchConfig (#13049) 2021-12-10 14:21:40 +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
Sergei Zharinov
0638bfd716
refactor(workers): Strict nulls for CommitMessage class (#12863)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-27 09:32:39 +00: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
Rhys Arkins
6549cbdd65 fix: check currentValue before pinning 2021-11-24 09:06:21 +01:00
Oleg Krivtsov
cb3d75ec4e
feat(platform/gitlab): confidential issues (#12728) 2021-11-24 05:14: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
Rhys Arkins
84b776cebe
feat: support update-lockfile for unconstrained deps (#12802) 2021-11-23 11:21:10 +00:00
Rhys Arkins
ff87759b48 refactor: getCurrentVersion params 2021-11-23 09:13:17 +01:00
Rhys Arkins
38982300c4
fix(gradle): handle null tokenizing (#12799) 2021-11-23 08:42:39 +01:00
Rhys Arkins
ad9a2f4e77
fix: gracefully handle invalid locked version (#12800) 2021-11-23 06:56:19 +00:00
Rhys Arkins
906dbce775
fix: skip lookups no currentVersion or lockedVersion (#12731) 2021-11-22 21:07:36 +01:00
Rhys Arkins
42231b6b75 logs: more details on secrets exposure 2021-11-19 14:46:52 +01:00
Rhys Arkins
693963d9e1 fix: catch prune branch error 2021-11-18 16:23:13 +01:00
Rhys Arkins
d3eb6fedd7
fix: cache handle nested err (#12730) 2021-11-18 08:14:49 +01:00
Sergei Zharinov
7f2f0c2662
test(workers): Refactor test snapshots for lookupUpdates (#12669) 2021-11-15 15:56:18 +01:00
Rhys Arkins
a2c39b91fd
fix: branchName massage hyphens (#12622) 2021-11-12 16:36:54 +01:00
Jamie Magee
98e7029090
feat: replace deprecated dependencies with their replacements (#5558)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-12 08:10:52 +00:00
Jamie Magee
53e3cb17fe
refactor(rubygems): convert to class-based (#11229) 2021-11-10 07:35:05 +01:00
Rhys Arkins
bf09337076
fix: enable eslint eqeqeq (#12574)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-09 07:02:59 +00:00
Rhys Arkins
c3ad246a99
fix: no-param-reassign (#12571) 2021-11-09 07:04:34 +01:00
Rhys Arkins
301678bd91 fix(cache): handle 401 2021-11-09 05:15:42 +01:00
Rhys Arkins
d6dd27f625 fix: check dependency.tags defined 2021-11-09 05:15:10 +01:00
HonkingGoose
ab018191fa
chore: report and fix unused ESLint disable directives (#12548) 2021-11-08 20:20:03 +01:00
Michael Kriese
7afc2b75d5
test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
Sergei Zharinov
6224af558d
test(workers): Refactor snapshot tests (#12542) 2021-11-07 15:34:42 +00:00
Maksim
4aa5b52992
feat(onboarding): use .editorconfig file to get indentation style (#11456)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-05 13:25:50 +00:00
Rhys Arkins
500b6f8cb8 chore: coverage 2021-11-01 07:49:47 +01:00
Rhys Arkins
db5137b39a
fix: Revert "feat(config): replace secrets in global config as well" (#12389) 2021-10-29 08:12:36 +00:00
Oleg Krivtsov
3da6ae0b84
feat: onboardingNoDeps (#12282)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-28 11:29:49 +00:00
Nils Plaschke
8e377e88ce
feat(config): replace secrets in global config as well (#12138) 2021-10-28 09:51:02 +00:00
Rhys Arkins
a173b39928
fix: non-null existingPr check (#12372) 2021-10-28 10:56:08 +02:00