Commit Graph

2479 Commits

Author SHA1 Message Date
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