Commit graph

1849 commits

Author SHA1 Message Date
Rhys Arkins
b27ec633bc
fix(onboarding): Revert "feat(onboarding): use cache to check if repo is onboarded" (#21731) 2023-04-22 06:31:19 +02:00
Michael Kriese
bce88c862e
feat(config): rename azureAutoApprove to autoApprove (#21576) 2023-04-18 09:09:46 +00:00
Sebastian Poxhofer
75a1ab04eb
refactor(vulnerabilities): return interface for Vulnerabilities (#21310) 2023-04-18 09:07:36 +00:00
Rhys Arkins
5fb1747361
fix: Revert "feat: compare all branch authors when deciding if a branch is modified" (#21505) 2023-04-14 06:20:34 +00:00
Alex Kessock
8b0acd4108
feat: compare all branch authors when deciding if a branch is modified (#20739) 2023-04-13 15:19:13 +00:00
Sebastian Poxhofer
9d2871085c
refactor(vulnerabilities): rename fetchVulnerabilities to appendVulnerabilityPackageRules (#21468) 2023-04-12 20:34:13 +00:00
RahulGautamSingh
135e6cd078
feat(config): rename stabilityDays to minimumReleaseAge (#21376)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-04-12 17:59:24 +00:00
Michael Kriese
c79b209032
refactor(platform): optional getVulnerabilityAlerts (#21449) 2023-04-12 15:12:15 +00:00
renovate[bot]
da29ed179c
chore(deps): update dependency @types/luxon to v3.3.0 (#21418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2023-04-12 06:49:00 +00:00
RahulGautamSingh
1d95167b13
feat(onboarding): use cache to check if repo is onboarded (#20733)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-04-07 05:19:25 +00:00
Sergei Zharinov
8081d08ec4
refactor(http): Enhanced integration with data schemas (#21338) 2023-04-06 15:56:27 +00:00
Sebastian Poxhofer
660d192ba0
test(vulnerabilities): add unit test to confirm package rule order (#21339) 2023-04-04 18:50:54 +00:00
Johannes Feichtner
08466a1668
fix(vulnerabilities): skip withdrawn security advisories (#21294) 2023-04-03 04:39:48 +00:00
HonkingGoose
6a446499f7
refactor: rename finalise to finalize (#21278) 2023-04-01 10:00:42 +00:00
Rhys Arkins
03618ee581
feat: autoclose PRs when repo disabled (#21263)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-04-01 05:42:08 +00:00
Rhys Arkins
0b79b3d541
fix: merge config constraints over package file extracted constraints (#21207) 2023-03-29 05:08:15 +00:00
Jamie Magee
176282e65f
chore: use node: protocol imports (#21181) 2023-03-28 21:05:36 +00:00
RahulGautamSingh
874cfe80e2
fix(onboarding): force branch creation to prevent diff-check (#21200) 2023-03-28 16:04:08 +00:00
Adam Setch
725ce16ee3
feat(replacement): consolidate replacement rules (#21155) 2023-03-27 14:33:24 +00:00
RahulGautamSingh
7f9874c899
fix: perform pr-update when requested regardless of pr-cache state (#21148) 2023-03-25 11:20:21 +00:00
RahulGautamSingh
55e09a8d24
fix: remove pkg.version from prFingerprintConfig (#21077) 2023-03-22 06:34:21 +00:00
Gabriel-Ladzaretti
1615d26226
feat(packageRules): add merge confidence matcher (#21049)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-21 18:37:38 +00:00
Adam Setch
b25022066e
feat(replacements): support for replacement name templating (#20905)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-03-21 16:42:13 +00:00
Rhys Arkins
3b60c934a0
refactor: merge confidence default undefined (#21059) 2023-03-21 06:50:54 +00:00
Rhys Arkins
25e0fa2065
refactor: MergeConfidence types (#21058) 2023-03-21 07:27:36 +01:00
RahulGautamSingh
1013302e0f
refactor: exactOptionalPropertyTypes (#20761)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-19 16:09:46 +00:00
RahulGautamSingh
33cd2331e7
fix(platform/github): detect pr-edited if target changed (#21026)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-19 16:08:41 +00:00
RahulGautamSingh
686bff397c
refactor(test): use minimal config objects (#20773) 2023-03-19 16:03:01 +00:00
Rhys Arkins
cf8619aaac
chore(logs): lower lookup logging (#21027) 2023-03-18 18:44:56 +00:00
Rhys Arkins
3de8d6c534
fix(auto-replace): handle missing depName or packageName values (#21005) 2023-03-17 14:06:32 +00:00
Rhys Arkins
25ea3d1864
fix(cache): use cached git values for branch cache (#20837) 2023-03-15 11:37:55 +00:00
Adam Setch
8137533c94
feat(auto-replace): ability to specify global or first match from replacement rules (#20604)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-03-14 21:02:24 +00:00
Adam Setch
e09153b6be
feat: support name only replacements (#20629)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-12 12:50:16 +00:00
RahulGautamSingh
b475231176
refactor: use satisfies (#20781) 2023-03-11 05:24:17 +00:00
Rhys Arkins
b53b8bca6b
chore: fix coverage 2023-03-10 10:31:52 +01:00
Rhys Arkins
a4ab4523f8
feat(config)!: forkProcessing (#20759)
Removes "includeForks" option and replaces with "forkProcessing". New default behavior is to process forks if automerge=false.

Closes #20752

BREAKING CHANGE: Forked repos will now be processed automatically if autodiscover=false. includeForks is removed and replaced by new option forkProcessing.
2023-03-10 09:34:41 +01:00
Rhys Arkins
d53d39bf0a
refactor(datasource): prefer packageName over depName in datasource (#20221) 2023-03-10 09:34:41 +01:00
Rhys Arkins
f765e6fb1d
feat!: internalChecksAsSuccess (#20572)
Adds new config option `internalChecksAsSuccess`, defaulting to `false`.

Closes #7800

BREAKING CHANGE: Internal checks such as `renovate/stability-days` will no longer count as passing/green, meaning that actions such as `automerge` won't
occur if the only checks are Renovate internal ones. Set `internalChecksAsSuccess=true` to restore existing behavior.
2023-03-10 09:34:41 +01:00
Rhys Arkins
b17bcf2789
refactor(datasource): use packageName and not depName for datasource lookups (#20474) 2023-03-10 09:34:40 +01:00
Rhys Arkins
b6ed33ec01
fix(regex): don’t escape forward slash in fileMatch (#19314)
This cleanup of default `fileMatch` values should be backwards compatible.
2023-03-10 09:34:39 +01:00
Rhys Arkins
a75f9d71c1
feat(config)!: non-zero defaults for PR concurrent, hourly limits (#19958)
Sets new defaults:
- `prConcurrentLimit`: 10 (instead of 0)
- `prHourlyLimit`: 2 (instead of 0)

Closes #19800

BREAKING CHANGE: Renovate now defaults to applying hourly and concurrent PR limits. To revert to unlimited, configure them back to `0`.
2023-03-10 09:25:51 +01:00
Rhys Arkins
016e647390
feat(config)!: default to rangeStrategy=auto, prefer update-lockfile (#19942)
Changes `rangeStrategy` default value from `'replace'` to `'auto'`. Also changes `auto` behavior so that `update-lockfile` is preferred if the manager
supports the `updateLockedDependency()` function.

Closes #19800

BREAKING CHANGE: Renovate will now default to updating locked dependency versions. To revert to previous behavior, configure rangeStrategy=replace.
2023-03-10 09:25:45 +01:00
Liora Milbaum
bcb61d5360
feat(manager/dockerfile): match Containerfile (#20804)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-10 05:37:14 +00:00
Rhys Arkins
a3cc159f7e
chore: extract and lookup duration logging (#20816) 2023-03-09 11:24:50 +00:00
RahulGautamSingh
bccf0997fb
refactor: delete cached configFilename (#20746) 2023-03-07 10:09:04 +00:00
Adam Setch
923755e1e7
fix: auto-replace pinning (#20627) 2023-03-05 18:34:05 +00:00
Sergei Zharinov
865608a91d
test(schedule): Use template literal with test.each (#20750) 2023-03-04 15:25:03 +00:00
jingyang
c5edc5d54e
fix: checkout base branch after commit files (#20658)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-02 11:58:13 +00:00
Rhys Arkins
2f8aa56fd8
refactor(autoreplace): set depIndex during flatten (#20665) 2023-02-28 10:16:33 +00:00
Rhys Arkins
54196346a1
refactor(autoreplace): extractPackageFile (#20660) 2023-02-28 06:16:25 +00:00
RahulGautamSingh
acc6c59138
test: replace as assertions (#20527)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-25 18:56:23 +00:00
RahulGautamSingh
352c9db904
test: add new wrapper for partial (#20618) 2023-02-25 06:46:32 +00:00
Rhys Arkins
109f3491ab
refactor: getBranchStatus and tests (#20585) 2023-02-22 17:53:35 +00:00
Paul Gschwendtner
340a913a48
feat(platform/github): flag to control whether PRs can be edited by maintainers if forkTokenis set (#19771) 2023-02-22 13:07:03 +00:00
Markus Schulz
dd6c8e5147
feat: Move some Git commands behind a PlatformScm interface (#19327)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-22 08:18:53 +00:00
Adam Setch
c82c38b498
fix: auto-replace for pinDigest without currentDigest or shortDigest (#20317) 2023-02-22 06:41:56 +00:00
RahulGautamSingh
0f51c9f524
test: replace as with partial (#20511) 2023-02-21 10:46:29 +00:00
RahulGautamSingh
5279064773
fix: allow null/undefined as param (#20528) 2023-02-21 06:11:00 +00:00
RahulGautamSingh
63fde6b3bc
feat(cache): pr fingerprint implementation (#18850)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-21 06:07:48 +00:00
Johannes Feichtner
27c46cc673
feat: add support for RegEx patterns in baseBranches (#20503)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-02-20 23:32:08 +00:00
Rhys Arkins
cc33d34ca8
refactor: PackageFile types (#20498)
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-20 14:58:49 +00:00
Johannes Feichtner
199124225b
fix(vulnerabilities): prevent exception due to invalid OSV event version (#20512) 2023-02-20 09:43:40 +00:00
Rhys Arkins
59432b4129
fix: process extractedConstraints earlier (#20510) 2023-02-19 17:38:28 +00:00
Rhys Arkins
3cef2f2e4f
refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
Adam Setch
80934e65f5
fix(platform/bitbucket): update rebase instructions (#20482) 2023-02-17 23:27:27 +00:00
Rhys Arkins
1b00e0e6e1
fix: avoid looping rebase for branch automerge (#20456) 2023-02-16 18:23:58 +01:00
Duncan Casteleyn
5f531f4945
fix: apply recreateClosed to grouped pinDigests (#20430) 2023-02-16 06:37:08 +00:00
RahulGautamSingh
9c0e1389d0
refactor: remove displayNumber (#20410) 2023-02-15 07:18:48 +00:00
renovate[bot]
db2aef4553
chore(deps): update jest monorepo to v29.4.1 (#20130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-14 16:00:49 +00:00
Paul Gschwendtner
5965d42a96
fix: report if new digest could not be determined (#20175) 2023-02-14 07:32:30 +01:00
Johannes Feichtner
a9ef562eff
feat(vulnerabilities): add additional severity indicators and improve layout (#20363)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-02-13 18:00:36 +00:00
Sergei Zharinov
ee525a7d18
fix(bazel): Provide replaceString selectively (#20360) 2023-02-12 19:00:28 +02:00
Rostislav Simonik
05517e6d8a
feat: add ignoreReviewers config option (#19776) 2023-02-11 07:24:02 +00:00
Johannes Feichtner
a91ca62b46
feat(vulnerabilities): add feature-flagged support for OSV (#20226)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-10 10:13:47 +00:00
RahulGautamSingh
7ff4b53439
test: replace as with partial (#20252)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-07 11:38:59 +00:00
Sergei Zharinov
49cdaf2ac2
feat: Support for logging once per repo (#20168) 2023-02-03 07:00:58 +00:00
Rhys Arkins
cf6be1719e
feat(cache): retain fingerprints for all matched managers (#20138) 2023-02-01 09:12:45 +01:00
RahulGautamSingh
c7c5c8fb47
refactor: ExtractResult (#20131) 2023-01-31 20:05:23 +01:00
Sergei Zharinov
c8c9eb1d50
feat(release-notes): Leverage cached GraphQL (#19717) 2023-01-28 06:29:35 +00:00
renovate[bot]
1a561ba37e
build(deps): update dependency @renovatebot/osv-offline to v1.1.4 (#20039)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Johannes Feichtner <Churro@users.noreply.github.com>
2023-01-26 22:32:06 +00:00
Sebastian Poxhofer
cf15952924
feat(manager/terraform): export updateLockedDependency (#20027) 2023-01-25 01:07:30 +01:00
Markus Schulz
56e9270b74
feat(git): allow commit-and-push to different target branch (#19680) 2023-01-24 08:07:16 +01:00
Michael Kriese
813a8bc645
fix: dynamically load prettier (#19948)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-01-20 16:22:30 +00:00
Rhys Arkins
8d19f05b14
fix(config): autodetectPinVersions -> autodetectRangeStrategy (#19933) 2023-01-20 12:48:00 +01:00
RahulGautamSingh
79c2532a2d
refactor: add new fn getElapsedHours (#19892) 2023-01-20 09:19:08 +00:00
Rhys Arkins
5eb236802b
fix(cache): pass REPOSITORY_CHANGED error up (#19877) 2023-01-17 18:19:05 +00:00
Gabriel-Ladzaretti
5dc806bb8b
fix(config-migration): runtime error when comparing json5 strings (#19870) 2023-01-17 05:50:02 +01:00
Rhys Arkins
98247d34f3
fix(templates): try/catch handlebars compile (#19794)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-14 09:35:33 +01:00
Gabriel-Ladzaretti
de289bb409
feat(core/onboarding): support manual rebase/retry (#17633)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-11 14:59:08 +01:00
t-kulmburg
51107e3160
feat: replacement support for all managers (#17883)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-01-11 10:40:25 +01:00
benj-dobs
190753a7dc
fix(core/schedule): accept matching cron schedules when run on Sundays (#19745) 2023-01-10 10:59:09 +00:00
Michael Kriese
a1e0f379c2
fix: dedupe commit table (#18756)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-12-30 16:40:41 +00:00
Rhys Arkins
0fb2d2674f
fix: don’t pin upgrades (#19612) 2022-12-30 17:21:50 +01:00
Rhys Arkins
aa53b42969 fix(vulnerability-alerts): strip equals for maven 2022-12-24 07:09:53 +01:00
Rhys Arkins
888683c2f2
fix(autoreplace): avoid mistaken duplicate replace (#19538) 2022-12-23 13:49:52 +01:00
Gabriel-Ladzaretti
2114418d3d
refactor(lookup): remove a duplicate statement (#19487) 2022-12-20 09:18:18 +01:00
Rhys Arkins
1c3442cbf7
refactor: include registryUrl in lookup result (#18692) 2022-12-20 06:38:59 +01:00
Lawrence Thorpe
864585aa5c
feat(config): support .renovaterc.json5 config file (#19394) 2022-12-17 23:46:30 +00:00
Rhys Arkins
5ab1cefe2c fix(cache): set semanticCommits in each upgrade 2022-12-17 16:51:59 +01:00
Rhys Arkins
ef7f520240
fix(cache): reset semanticCommits after clone (#19457) 2022-12-17 06:24:03 +00:00
RahulGautamSingh
92abdc9b4d
feat(cache): reduce configHash fields for fingerprinting (#18216) 2022-12-16 15:50:35 +00:00
HonkingGoose
996d3b19b6
chore: reword branch creation limit message on onboarding PR (#19391) 2022-12-14 18:59:08 +01:00
Gabriel-Ladzaretti
66159ac549
feat(repo/lookup): log registry urls used at the lookup phase (#19332) 2022-12-12 10:23:03 +02:00
Tim Knight
682829f33a
docs: improve regexManager documentation (#19278)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Resolves https://github.com/renovatebot/renovate/issues/19265
2022-12-10 07:09:11 +00:00
Jonathan Narwold
8d5726afa3
fix: handle non-updated and updated package contents in a group (#19058)
Fixes https://github.com/renovatebot/renovate/issues/16547
2022-12-07 15:00:50 +00:00
Gabriel-Ladzaretti
06f23a47b8
feat(logs): print branch pristine status as part of the branch summary (#19210) 2022-12-02 08:19:17 +00:00
Gabriel-Ladzaretti
fc81c60d05
feat(branch/update): add edited/blocked PR comment on modified branches (#18895)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Closes https://github.com/renovatebot/renovate/issues/18639
2022-11-26 06:58:09 +00:00
Maksim
325a11257d
test: cover more cases by unit tests (#19086) 2022-11-24 21:26:21 +00:00
Philip
7253720c9b
feat(config): log base branch config (#18799)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Closes https://github.com/renovatebot/renovate/issues/17635
2022-11-24 11:15:10 +00:00
renovate[bot]
555eaa9ff7
build(deps): update dependency safe-stable-stringify to v2.4.1 (#18994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-11-20 20:39:16 +01:00
RahulGautamSingh
9a1285d2d2
fix: use matchSourceUrl to match monorepo packages (#18973) 2022-11-20 09:50:27 +00:00
RahulGautamSingh
8e4b5231f8
refactor: convert enums to unions (#18900) 2022-11-20 07:34:23 +00:00
RahulGautamSingh
987421b8ad
feat: add pristine in branchCache (#18478) 2022-11-20 07:10:25 +00:00
Rhys Arkins
1c8398aff4
refactor: auto-replace (#18954) 2022-11-17 07:06:15 +00:00
Philip
6c4864365c
fix(pr): ensure PR update after branch commit (#18839)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Closes https://github.com/renovatebot/renovate/issues/17388
2022-11-16 08:01:38 +00:00
Gabriel-Ladzaretti
576d4d897a
refactor(config-migration): invoke applyPrettierFormatting at the commit stage (#18150) 2022-11-16 05:04:39 +00:00
Jamie Magee
92eb2200fd
refactor(jest): enable clearMocks (#18779) 2022-11-14 22:46:37 -08:00
t-kulmburg
7f3fa1066f
fix: replacement for pep440 versioning (#17882)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-11-14 19:22:18 +00:00
RahulGautamSingh
af3b2038f8
refactor: replace enums with union/object (#18903) 2022-11-14 20:55:38 +02:00
t-kulmburg
569f5fbba6
fix: use correct values for replacements (#18858) 2022-11-10 19:34:30 +00:00
Sergei Zharinov
6f051f3ae7
fix: Dependency dashboard message cleanup (#18857) 2022-11-10 12:17:30 +00:00
RahulGautamSingh
d869c946d1
refactor: reduce debug metadata (#18737) 2022-11-07 11:29:02 +00:00
RahulGautamSingh
4e5f6c5266
feat: abandoned (#18785) 2022-11-06 21:45:29 +01:00
RahulGautamSingh
c93154bd24
refactor: enums to unions (#18747)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-05 09:12:03 +00:00
RahulGautamSingh
2a07e91be6
refactor: convert ProgrammingLanguage to union type (#18748)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-05 08:49:57 +00:00
Rhys Arkins
e8a0349c4b
fix(changelogs): better release name trimming (#18775) 2022-11-05 06:49:03 +00:00
Rhys Arkins
0ea3e11ef2
fix: allow rebaseWhen=never checked (#18743) 2022-11-03 16:50:13 +00:00
Rhys Arkins
e651fd34a5
feat(github-actions): support vulnerability alerts (#18735) 2022-11-03 15:42:42 +00:00
Henrik Poulsen
6a9943227f
feat(changelog): allow releases to lack a body if it contains a name (#18691)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-03 12:00:56 +00:00
Rhys Arkins
5fb5dab455
feat(go): support github vulnerability alerts (#18730) 2022-11-03 10:19:11 +00:00
Rhys Arkins
586b96ec16
fix(pr): don’t mention failing checks for automerge (#18653) 2022-11-02 10:54:00 +02:00
RahulGautamSingh
c56588eaba
refactor: convert PlatformmId to union (#18458) 2022-11-01 14:46:09 +00:00
Sergei Zharinov
1bacabcb7e
fix(git): Ensure baseBranch is checked out before git-based merge (#18687) 2022-11-01 09:46:22 +00:00
Rhys Arkins
c229652e9f
fix: Revert "refactor: move branch cache files to util/cache" (#18667) 2022-10-31 07:50:33 +02:00
RahulGautamSingh
f04a7c75ff
refactor: move branch cache files to util/cache (#18646) 2022-10-29 07:29:51 +00:00
Rhys Arkins
a9922f5c2f
fix(pr): don’t warn on edits (#18654) 2022-10-29 06:44:27 +00:00
Gabriel-Ladzaretti
d48ede78f0
feat(logs): log end of repository run branch summary (#17047) 2022-10-27 17:29:01 +00:00
Rhys Arkins
79317dd436
fix: set branch fingerprint whenever updates are verified (#18599) 2022-10-27 08:33:36 +00:00
RahulGautamSingh
2e4eebe933
fix: reduce config fields used in branch fingerprint (#18378)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-26 10:27:58 +00:00
RahulGautamSingh
3c7ca03b38
refactor: change conflict cache logic (#17898)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-26 08:11:51 +02:00
Sergei Zharinov
b2d18d1110
feat(http): maxRequestsPerSecond (#18325) 2022-10-25 11:03:19 +00:00
Sebastian Poxhofer
b53c581e5c feat(telemetry): add OpenTelemetry tracing MVC (#15731) 2022-10-23 06:48:35 +02:00
Rhys Arkins
b5a515b533 feat!: default internalChecksFilter to strict (#18460)
BREAKING CHANGE: Default value for internalChecksFilter changes from none to strict
2022-10-23 06:48:35 +02:00
Rhys Arkins
cbca54d0c3 feat!: do not auto pin rangeStrategy (#18309)
Removes all logic where rangeStrategy=auto results in pinning.

Closes #18304

BREAKING CHANGE: Dependencies are no longer automatically pinned, pinning must be opted into using rangeStrategy=pin
2022-10-23 06:48:35 +02:00
RahulGautamSingh
91cef564d4
refactor: change currentVersion to non-optional in UpdateLockedConfig (#18406) 2022-10-21 15:29:39 +00:00
RahulGautamSingh
ef8c4ac1c1
fix: parentSha logic (#18331) 2022-10-21 16:20:51 +03:00
Rhys Arkins
cdec83463c
fix(http): improve error logging (#18454)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-10-21 10:14:45 +00:00
Rhys Arkins
3aa94d46f4 chore: no meta for debug statements 2022-10-21 08:02:05 +02:00
Rhys Arkins
5dfc850b3b
fix: immortal digest groups (#18402) 2022-10-19 08:17:16 +00:00
RahulGautamSingh
e4ff7edee9
refactor: move stop-updating-label logic (#18350) 2022-10-16 05:56:03 +00:00
Gabriel-Ladzaretti
6fef1d1650
feat(manager/npm): add support for x-range "all" - "*" range (#18251) 2022-10-14 11:26:20 +02:00
George Georgiev
e6c43aae81
fix(workers): guarantee symmetric result from sort branch predicate (#18275) 2022-10-14 06:54:35 +03:00
RahulGautamSingh
cb4edb2924
fix: in-range logic (#18313) 2022-10-13 16:59:01 +02:00
Philip
03aea02302
fix(presets): support ignorePresets in global config (#18026) 2022-10-13 12:21:00 +03:00
renovate[bot]
7935a7b8ed
chore(deps): lock file maintenance (#18082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-10 21:47:23 -07:00
Rhys Arkins
9653ba7420
feat(git): log cloned status at end of run (#18234) 2022-10-10 11:58:49 +02:00
RahulGautamSingh
d6d9ee719d
fix: make baseBranch type non-optional in BranchConfig (#17920)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-10 08:38:31 +02:00
Rhys Arkins
a908cd2ab6
feat: log package cache median ms (#18186)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-10-08 05:00:27 +00:00
RahulGautamSingh
3bbd8b8914
chore: set ignoreRestSiblings to true (#18193) 2022-10-07 17:35:01 +02:00
Rhys Arkins
ea0eb67b10
fix: array sortNumeric (#18179) 2022-10-07 12:42:01 +02:00
Rhys Arkins
f34e89fec4
feat: package cache stats (#18170) 2022-10-07 07:57:37 +00:00
Rhys Arkins
dbc4d0b669
fix: exclude unstable data from cache fingerprints (#18148) 2022-10-06 15:39:15 +02:00
RahulGautamSingh
72371cb778
feat: improve branch cache logic (#17848)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-06 07:37:47 +03:00
RahulGautamSingh
1657c16136
chore(lint): add object shortand rule (#18080) 2022-10-02 21:20:24 +02:00
Rhys Arkins
9d7697e44e
fix(git): clone submodules after repo config (#18014) 2022-09-28 09:19:26 +02:00
Rhys Arkins
c8c0fad0ef
fix(pr): include uncompiled pr body note if failing (#18000) 2022-09-27 14:05:55 +02:00
Sergei Zharinov
4cfe151dc1
feat(utils): Data schema validation (#17999) 2022-09-27 12:00:35 +02:00
Gabriel-Ladzaretti
4ad83cc12f
refactor(onboarding/branch): rewrite arrow functions to named functions (#17965) 2022-09-26 04:34:32 +00:00
RahulGautamSingh
266b5e4798
fix: create branch cache before processing branch (#17801) 2022-09-20 09:43:14 +00:00
Jamie Magee
dc663e131a
chore: migrate to @renovatebot/osv-offline (#17799) 2022-09-16 13:32:25 +02:00
Maksim
e35c067aad
fix: generate pretty package version name properly (#17310)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-09-13 17:28:13 +02:00
renovate[bot]
582f77371c
chore(deps): update jest monorepo (#17737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-12 16:58:52 +02:00
Maron
c741649530
feat: show warning in pr body (#17609) 2022-09-12 09:08:45 +00:00
Rhys Arkins
2925cd8bab
chore: reorder Repository finished logs (#17715)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-10 09:50:31 +00:00
Sergei Zharinov
049d624be9
fix(limits): Re-throw ExternalHostError on calling getBranchPr (#17721) 2022-09-09 12:01:31 +00:00
Rhys Arkins
55d234ec07
fix(npm): remove memcache (#17714) 2022-09-09 09:16:40 +02:00
Sergei Zharinov
ea69f81247
refactor(github): Uniform names for github datasource types (#17701) 2022-09-08 11:26:27 +02:00
Rhys Arkins
594821ae0d
fix: Revert "feat: recreate merged PRs when updates are available" (#17699) 2022-09-08 10:24:40 +02:00
Sergei Zharinov
81ee883e30
refactor(github): Extract utils/github from datasources (#17697) 2022-09-08 10:00:42 +02:00
Sergei Zharinov
b5ac8f04a1
fix(github): Disable caching for GitHub datasources (#17685)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-09-08 08:11:01 +03:00
RahulGautamSingh
c593ab4a68
feat: recreate merged PRs when updates are available (#16898) 2022-09-07 15:14:51 +00:00
Sergei Zharinov
2df8967ae2
refactor: Create promises utilities (#17651) 2022-09-06 10:36:51 +00:00
Gabriel-Ladzaretti
f910e6f9b6
fix(repository/migration): create migration branch from the default branch (#17535) 2022-09-04 17:51:35 +03:00
Michael Kriese
aabb3abf9a
feat(http): use own dns cache (#17574) 2022-09-01 15:23:46 +00:00
Michael Kriese
8ad1947e4a
fix(http): clear queues after hostrules change (#17563) 2022-09-01 09:36:04 +02:00
Sergei Zharinov
c9d87d8564
fix: Disable token warning on githubTokenWarn=true (#17548) 2022-08-31 14:57:42 +00:00
RahulGautamSingh
1ca1a214e8
refactor: use optional chaining (#17510) 2022-08-30 17:30:57 +02:00
t-kulmburg
7f4185b02c
refactor: new checkExistingBranch function in doAutoReplace (#17500) 2022-08-30 08:21:12 +00:00
Michael Kriese
4c52a27d83
test: modernize code (#17470)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-08-30 06:14:57 +00:00
Sergei Zharinov
6a93997863
feat(cache): Repository cache fingerprinting (#17367) 2022-08-30 04:58:57 +00:00
Henrik Steen
04ee279dcf
fix(repository/update): stopUpdating not working as expected (#17488) 2022-08-30 04:24:49 +00:00
Maron
8acfc0d801
feat(dependency dashboard): add option to open all prs (#16959)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-29 20:36:14 +00:00
Gabriel-Ladzaretti
70a49def74
refactor(repo/config-migration): use cached raw config file from detectRepoFileConfig (#17311)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-29 20:08:35 +00:00
RahulGautamSingh
dafda2e597
fix: use baseBranch insteaf of defaultBranch (#17436) 2022-08-28 12:42:50 +02:00
Rhys Arkins
22a8cc68f1
chore: use “behind base branch” not “stale” (#17417) 2022-08-25 19:56:32 +00:00
RahulGautamSingh
bf378a4637
feat: add fingerprint to old branches (#17393) 2022-08-25 05:30:06 +00:00
Michael Kriese
9caf45ed43
fix(git): wrong git url handling (#17380)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-24 19:41:43 +00:00
RahulGautamSingh
08e056c299
fix: set conflict status on commit (#17357) 2022-08-24 07:37:41 +03:00
Gabriel-Ladzaretti
229643f7e4
refactor(changelog/common): tidy up slugifyUrl regex (#17347)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-23 08:02:16 +00:00
Gabriel-Ladzaretti
a54cc47950
feat(repo/changelogs): allow user configuration of source url (#16873) 2022-08-22 23:16:00 +03:00
RahulGautamSingh
1a25ac6fc3
feat: use cached configHash to prevent branch updates (#16661) 2022-08-22 09:01:48 +00:00
Sergei Zharinov
d18538dc4d
feat(platform): Provide repoFingerprint field on repository init (#17288)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-22 07:50:55 +00:00
Wietse Terpstra
3b3b55b29f
test: rename master-issue to dependency dashboard (#16960) (#17312) 2022-08-21 21:04:17 +02:00
Maksim
2b70882333
test: increase test coverage (#17307) 2022-08-21 16:10:07 +02:00
Gabriel-Ladzaretti
01ceaeace4
feat(core/config): allow close to ignore for migration PRs (#16773) 2022-08-21 07:33:50 +02:00
Adam Setch
ca5be4be9a
feat: new branchNameStrict configuration flag (#17216) 2022-08-19 21:14:51 +00:00
Gabriel-Ladzaretti
1b8fd393dc
refactor(repo/init): return additional raw config from detectRepoFileConfig (#17021)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-19 00:08:13 +03:00
Michael Kriese
709c790e12
fix(dashboard): filter deps with skip reason (#17256) 2022-08-18 18:52:17 +00:00
Michael Kriese
0316a5e62d
test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
RahulGautamSingh
7afb49de31
test: add assertion to test ensureCommentRemoval in dryRun (#17183)
add assertion
2022-08-15 13:06:22 +02:00
Gabriel-Ladzaretti
9c23f48008
fix(core/dashboard): fix truncated issue body (#16527) 2022-08-15 06:00:26 +00:00
Gabriel-Ladzaretti
9f837f226d
feat(lib/logger): add base branch metadata for multi-base repositories (#17027) 2022-08-12 08:19:31 +00:00
Michael Kriese
e24fe313eb
fix: set newVersion for pin updates (#17150) 2022-08-12 07:39:19 +00:00
Michael Kriese
8fd114ea90
feat(changelogs): defer fetching until required (#17149) 2022-08-12 09:12:19 +02:00
Michael Kriese
b24d796623
feat: defer commitBody compile (#17108)
* feat(changelogs): defer commitBody compilation

* fix(changelogs): embed to upgrade instead of branch config

* feat: defer `commitBody` compilation

* Update lib/workers/repository/update/branch/index.spec.ts

* fix: wrong logJSON position

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-11 20:27:13 +00:00
Gabriel-Ladzaretti
82a1f32b9a
fix(repo/update): dry run - skip PR update when branch is modified (#17114)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-10 15:36:36 +00:00
Michael Kriese
4b4449baf0
fix(changelogs): embed to upgrade instead of branch config (#17107) 2022-08-10 12:58:38 +00:00
Michael Kriese
c3e5e07344
fix: wrong commit message title for groups (#17100) 2022-08-10 11:54:31 +02:00
Michael Kriese
2546c03f6c
feat(changelogs): defer retrieval if not required for templates (#17073) 2022-08-10 06:19:17 +00:00
Gabriel-Ladzaretti
1c429f6037
refactor(repository/merge): extract unnecessarily nested function from detectConfigFile (#17066)
extract unnecessary nested function from `detectConfigFile`

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-09 16:43:58 +00:00
Ryan Delaney
5069b60109
fix(docs): comma splices in help text (#17049) 2022-08-09 13:46:58 +03:00
IKEDA Sho
c8ca4267ef
fix(manager): correctly escape the dot character in fileMatch (#17048) 2022-08-08 17:20:16 +02:00
Hasan Awad
4ead106f81
feat(util/template): add prettyNewMajor and prettyNewVersion field (#16831)
* initial

* expose prettyNewVersion and prettyNewMajor

* tests

* revert change

* simplify

* test naming

* documentation

* documentation

* remove wrong documentation

* expose template finction

* tests naming

* combine condition

* Update docs/usage/templates.md

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

* remove unecessary nullish op

* Update docs/usage/templates.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Expose prettyVersion and prettyMajor

* documentation

* remove function and use regex

* lexographic order

* tests need fixing

* add tests

* Captial letter

* renaming and prettyNewMajor

* space

* move to upgrade interface

* use new fields where v is prepended manually

* move to interface

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-08 07:50:36 +00:00
Hasan Awad
d1cc6cd116
fix(repository/update/pr/body): fix a test having wrong homepage and use regex (#16970) 2022-08-04 19:33:15 +00:00
RahulGautamSingh
ff650ce822
chore: onboarding branch checkout log (#16966) 2022-08-04 14:21:09 +02:00
Maron
868fa3cb15
refactor(dependencyDashboard): split parseDashboardIssue function (#16782)
Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-03 07:33:16 +02:00
Maron
dd5ca94a03
feat(dashboard): include dependency lookup warnings (#16297) 2022-08-02 13:06:37 +00:00
Gabriel-Ladzaretti
bee604a1a3
feat(repository/config-migration): Adjust config migration PR title to not show filenames (#16781)
* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* Apply suggestions from code review

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

* refactor(repository/config-migration): dont show file name in pr title

Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-02 06:08:51 +00:00
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
Yun Lai
a7202c4f46
fix: add excludeCommitPaths for hermit manager (#16674) 2022-07-24 08:56:13 +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
IKEDA Sho
c803825f7c
test: Fix requireConfig test name (#16728) 2022-07-24 06:13:46 +02:00
Maron
a93cd9f4bd
refactor: move dependencyDashboardRebaseAllOpen parameter closely to worker (#16628) 2022-07-18 10:06:16 +02:00
Rhys Arkins
cf4fcce8de
fix(onboarding): use default preset only if truthy (#16596)
Closes #16526
2022-07-15 15:34:31 +02:00
RahulGautamSingh
c7507255b7
refactor: rename isBranchStale -> isBranchBehindBase (#16577)
* rename

* rename to isBranchBehindBase

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 09:21:32 +00:00
RahulGautamSingh
cc55f15f82
feat: semantic pr title for migrationPRs (#16490)
* generate PR title using ConfigMigrationCommitMessageFactory

* add test
2022-07-15 07:20:55 +00:00
RahulGautamSingh
2d5c8230d0
feat: run prettier on migratedJSON (#16471) 2022-07-14 06:05:31 +00:00
Philip
6453c3833f
feat(PrBody): log when PR was created and updated (#15809) 2022-07-09 08:50:19 +02:00
Jamie Magee
3589d0e222
refactor: remove deprecated loadFixture calls (#16404)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-04 04:18:53 +00:00
Rhys Arkins
b49849b2a0
fix: assign default versioning before applying package rules (#16392) 2022-07-03 18:11:20 +02:00
Rhys Arkins
b18d31b97c
fix(config): don't skip migration PR if closed PR found (#16380) 2022-07-02 06:18:18 +00:00
Rhys Arkins
2b73940403 fix: log migration err properly 2022-07-02 06:57:16 +02:00
Rhys Arkins
2c787034eb
fix(config): improve config migration PR body and title (#16355) 2022-07-01 14:24:08 +02:00
RahulGautamSingh
a07fb52ec0
fix: move checkoutBranch after validation (#16246) 2022-07-01 12:13:26 +02:00
Rhys Arkins
61aebaf0bb
fix: filter out rollback if followTag is true (#16296) 2022-06-29 11:39:57 +02:00
HonkingGoose
bfe47623f7
fix(config): update default dependencyDashboardHeader (#16206) 2022-06-28 02:36:22 +00:00
Maron
96a71ec4be
refactor(lib/workers): separate get dep warning func into two diff functions (#16165) 2022-06-27 20:35:40 +00:00
Rhys Arkins
787c98cdbe
fix: Revert "fix: commit message" (#16263)
Revert "fix: commit message (#16239)"

This reverts commit 3b0c2afe8a.
2022-06-27 21:46:00 +02:00
Rhys Arkins
989c5c38b1
fix: pass config to post-upgrade config templating (#16267) 2022-06-27 11:45:20 +02:00