Commit graph

2533 commits

Author SHA1 Message Date
Rhys Arkins
22a8cc68f1
chore: use “behind base branch” not “stale” (#17417) 2022-08-25 19:56:32 +00:00
Rhys Arkins
f764f8879c
feat(config): containerbaseDir (#17414) 2022-08-25 15:43:06 +00:00
Rhys Arkins
ee6287971d
refactor: use containerbase not buildpack terminology (#17398) 2022-08-25 06:59:55 +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
RahulGautamSingh
d011e848a4
refactor: merge extract config types (#16204) 2022-08-09 05:26:35 +00: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
Michael Kriese
4f82df4c3d
feat(buildpack): enable cache (#16591) 2022-07-21 07:00:02 +00: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
renovate[bot]
0ed7072a1f
chore(deps): update dependency type-fest to v2.16.0 (#16473)
* chore(deps): update dependency type-fest to v2.16.0

* chore: fix type issues

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 10:09:50 +00: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
Sergei Zharinov
83f67c27d5
refactor(fs): Rename getSubDirectory to getParentDir (#16446)
* refactor(fs): Rename `getSubDirectory` to `getParentDir`

* Add tests for `getSiblingFileName`

* fix

* fix
2022-07-07 06:44:21 +00: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
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
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
Sergei Zharinov
bfc393ef00
refactor(fs): Don't proxy writeFile function (#16310)
* refactor(fs): Don't proxy `writeFile` function

* Fix

* Update lib/workers/global/index.spec.ts

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 06:23:36 +00: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
Maksim
3b0c2afe8a
fix: commit message (#16239) 2022-06-26 04:47:55 +00:00
Rhys Arkins
54c35dbbd4
fix(config): apply secrets to global hostRules (#16217)
* fix(config): apply secrets to global hostRules

Closes #16215

* fix import ordering

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-24 08:21:08 +00:00
Gabriel-Ladzaretti
ee52021a9d
fix(core/dashboard): GitHub error "maximum is 65536 characters" (#16208) 2022-06-23 16:25:55 +02:00
Tobias
3d96c7c5a1
feat(config): print hostRules when printConfig=true (#15699) 2022-06-23 07:39:31 +00: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
10302eba68
refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +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
Michael Kriese
0a582d31c7
refactor: fix nullable types (#16156)
* refactor: fix nullable types

* chore: revert changes

* chore: fix lint comments

* chore: revert changes
2022-06-20 16:15:40 +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
Sergei Zharinov
61f2d813e2
feat(github): Datasource cache busting (#16014) 2022-06-20 10:10:31 +02:00
Gabriel-Ladzaretti
dd3598c5b8
feat(config/migration): migrate config with a PR (#15122)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-18 12:12:31 +00:00
Gabriel-Ladzaretti
7f51e58a06
fix(core/config): Log cached repo config filename and content (#16134) 2022-06-18 11:35:43 +00:00
RahulGautamSingh
abe821ac4d
refactor: update WorkerExtractConfig type definition (#16020)
* update WorkerExtractConfig types

* update comment

* move worker-extract

* update CustomManager

* move interface RegExManagerTemplates manager->config

* fix import error

* rename CustomManager -> RegExManager

* fix lint error
2022-06-16 18:18:36 +02:00
Maron
70084a61ef
refactor: move error-warning.ts (#16098) 2022-06-16 09:47:16 +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
Rhys Arkins
faedc8117e
fix: Revert "fix: commit message" (#16057)
Revert "fix: commit message (#13197)"

This reverts commit ed639b47ac.
2022-06-13 20:58:13 +00:00
Brad Jorsch
ef41262f17
fix: resolve repoConfig.packageRules.extends with repo config (#14978) 2022-06-13 14:19:44 +00:00
Maksim
ed639b47ac
fix: commit message (#13197)
* fix: introduce class SemanticCommitMessage

* fix: introduce class AbstractCommitMessage

* fix: use commit message model

* fix: clean extra whitespaces

* fix: test coverage

* fix: fix build

* fix: unit test

* fix: by comments

* fix: cover case without prefix by unit tests

* fix: coverage

* fix: regexp

* fix: revert options changes

* fix: update commit message model

* fix: add unit test

* fix: add new getter to commit message model

* fix: add unit test

* fix: update by comments

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-13 12:28:41 +02:00
Gabriel-Ladzaretti
b676afcfe4
fix(prune): skip modified orphan branches (#16026)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-13 01:45:35 +02:00
Sergei Zharinov
dbf3aefc13
refactor(changelog): Unify argument lists for the call hierarchy (#16013) 2022-06-11 09:14:43 +02:00
Michael Kriese
208b84f4a8
fix(config): no stabillity days for vulnerability alerts (#15993) 2022-06-10 11:54:15 +00:00
RahulGautamSingh
996e4a6e57
feat: rename aliases to registryAliases (#15877) 2022-06-10 05:14:49 +00:00
Álvaro Torres Cogollo
08ed50ee8c
fix(changelog): extractVersion check (#15962) 2022-06-09 15:23:05 +02:00
Michael Kriese
49d851e5fd
refactor: tighten typescript types (#15965) 2022-06-09 12:17:05 +00:00
Álvaro Torres Cogollo
0248f956d5
fix(changelog): gitRef check (#15869)
* fix: GitRef match when getting GitHub Changelog

* Fix tests

* Updated snaps to support gitref field

* gitRef check support for gitlab

* Check with extractVersion

* Fixed tests for release-notes.spec.ts

* Fixed tests and created test case for extractVersion flow

* Revert "Fixed tests and created test case for extractVersion flow"

This reverts commit b018a6415a.

* Revert "Fixed tests for release-notes.spec.ts"

This reverts commit d0d4c004bf.

* Revert "Check with extractVersion"

This reverts commit bb9b795368.

* Fixed tests

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-09 11:48:55 +00:00
Rhys Arkins
a10e4ce915
fix: set global config before validating local presets (#15926) 2022-06-07 13:33:51 +02:00
Gabriel-Ladzaretti
ea8ab7ca22
fix(dashboard): undefined currentValue (#15917) 2022-06-07 08:19:08 +00:00
Rhys Arkins
143d72c600
fix: Revert "refactor: runtime-config-narrowing" (#15915)
Revert "refactor: runtime-config-narrowing (#15897)"

This reverts commit a9a81275bf.
2022-06-06 19:07:50 +02:00
RahulGautamSingh
a9a81275bf
refactor: runtime-config-narrowing (#15897)
* refactor/runtime-config-narrowing

* remove test

* apply fixes

* reorder tests
2022-06-05 17:20:48 +02: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
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
Rhys Arkins
000598cfa3 refactor: Revert "refactor: add option endpoint to global config (#15843)" 2022-06-02 21:20:34 +02:00
Sergei Zharinov
82da704955
refactor: Strict null checks for extract-related functions (#15806)
* refactor: Strict null checks for extract-related functions

* Fix

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-02 14:25:20 +00:00