Commit graph

1849 commits

Author SHA1 Message Date
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
Maksim
3b0c2afe8a
fix: commit message (#16239) 2022-06-26 04:47:55 +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
Álvaro Torres Cogollo
08ed50ee8c
fix(changelog): extractVersion check (#15962) 2022-06-09 15:23:05 +02: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
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
RahulGautamSingh
bd6e42236c
refactor: add option endpoint to global config (#15843) 2022-06-02 14:46:22 +02:00
Sergei Zharinov
5495ab6394
refactor: Enable strict null checks for lookup-related functionality (#15848) 2022-06-02 13:56:14 +02:00
Sergei Zharinov
eab31ffa96
refactor(cache): Enable strict null checks (#15804)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-31 13:52:28 +00:00
Sergei Zharinov
4a3eec7371
refactor(changelog): Relocate in-range release fetching (#15798)
* refactor(changelog): Move in-range release fetching

* Update lib/workers/repository/update/pr/changelog/index.ts
2022-05-31 15:39:12 +02:00
Gabriel-Ladzaretti
c92f052239
feat(core/automerge): Allow a separate schedule for automerge (#15680)
* feat(core/automerge): Allow a separate schedule for automerge

 - init commit

* feat(core/automerge): Allow a separate schedule for automerge

 - lint ci fix

* feat(core/automerge): Allow a separate schedule for automerge

 - added docs entry

* feat(core/automerge): Allow a separate schedule for automerge

 - added test coverage

* feat(core/automerge): Allow a separate schedule for automerge

 - config-description.ts reorder methods

* Apply suggestions from code review

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

* feat(core/automerge): Allow a separate schedule for automerge

 - cr changes
 - revert schedule.spec.ts changes
 - reset mocks in automerge.spec.ts

* feat(core/automerge): Allow a separate schedule for automerge

 - cr changes

* feat(core/automerge): Allow a separate schedule for automerge

 - cr changes

* Apply suggestions from code review

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

* feat(core/automerge): Allow a separate schedule for automerge

 - cr changes

* feat(core/automerge): Allow a separate schedule for automerge

 - cr changes log update

* feat(core/automerge): Allow a separate schedule for automerge

 - cr changes

* Apply suggestions from code review

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

* feat(core/automerge): Allow a separate schedule for automerge

 - prettier fix and test update

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-05-31 07:13:05 +02:00
RahulGautamSingh
56170df9ae
refactor: move updateInternalDeps to worker logic (#15790) 2022-05-31 03:53:25 +00:00
Gabriel-Ladzaretti
50d9dedc6e
feat: branchPrefixOld (#15591) 2022-05-28 11:53:34 +00:00
Gabriel-Ladzaretti
298ca9988c
refactor(onboarding): warning when onboarding pr cant be found (#15724) 2022-05-28 07:26:55 +02:00
Michael Kriese
3ee32bce6c
fix: Revert "fix: move update internal deps to worker logic" (#15756) 2022-05-27 16:44:58 +02:00
RahulGautamSingh
9e7659f754
fix: move update internal deps to worker logic (#15745) 2022-05-27 09:22:56 +02:00
Gabriel-Ladzaretti
2a558030db
refactor(repository/update): remove unneeded type check (#15722) 2022-05-26 20:11:17 +02:00
Rhys Arkins
c3acca8877
refactor: better manager types (#15708)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-24 07:01:43 +00:00
Rhys Arkins
f931d9b148
fix(grouping): group update with same major version should be ignorable (#15586) 2022-05-23 06:27:49 +02:00
Hasan Awad
00feb722ce
fix(changelog): add a check for exact match of a release (#15590) 2022-05-19 04:48:29 +00:00
Rhys Arkins
7fdd9e147c
fix: clear PackageFiles during initRepo (#15635) 2022-05-18 15:51:54 +02:00
Maron
0cf2ab4823
feat: refactor requireConfig option (#15594) 2022-05-18 10:21:51 +00:00
Sergei Zharinov
de70ecad04
refactor(datasource): Make GitDatasource class abstract (#15629) 2022-05-18 11:56:59 +02:00
Michael Kriese
e47a685071
fix(dashboard): use blockquote instead of invalid ul (#15612) 2022-05-17 11:40:07 +02:00
Gabriel-Ladzaretti
224d5e7717
feat(core/dashboard): include list of detected package files (#15418) 2022-05-16 12:20:31 +02:00
Michael Kriese
47385421e4
test: deprecate old loads fixtures functions (#15539) 2022-05-11 07:19:34 +00:00
Maron
9fa73552d7
feat: Measure Metric extend repository result to differentiate (#15361) 2022-05-11 05:52:33 +00:00
Sergei Zharinov
f292e76852
feat: Cache compacted PR body structure (#15303) 2022-05-09 10:24:28 +00:00
Sergei Zharinov
edefea8db0
refactor: Custom rebasing notice for getPrBody() function (#15498) 2022-05-07 15:43:48 +02:00
Rhys Arkins
cdc359c0fd
fix: better allowedPostUpgradeCommands failure messages (#15482) 2022-05-06 11:00:02 +02:00
Sergei Zharinov
42d93b632c
refactor: ensurePr improved testability (#15443) 2022-05-05 11:17:11 +02:00
Michael Kriese
03b28828f3
feat(manager:npm): support binarySource=install for yarn (#15414) 2022-05-04 08:32:15 +02:00
Gabriel-Ladzaretti
abf1814c07
refactor(repo/init): strict null checks (#15311)
* refactor(repo/init/merge): strict null checks

 - strict null fixes

* refactor(repo/init/merge): strict null checks

 - cr changes
2022-05-02 15:01:45 +02:00
Maksim
ed73d380e8
refactor: improve commit message functionality (#13328)
* refactor: improve commit message functionality

* refactor: fix test coverage

* refactor: fix by comments

* refactor: fix build

* refactor: fix linting

* refactor: fix export type

* refactor: js private fields

* refactor: static private fields

* fix: lint

* refactor: fix tsconfig

* refactor: implement method normalizeInput

* refactor: fix by comments

* Update lib/workers/repository/model/commit-message.ts

* refactor: fix by comments

* refactor: use private typescript fields again

* refactor: fix by comments

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-02 01:42:33 +00:00
Sergei Zharinov
608d0f6a40
feat: Create utility for function memoization (#15373)
* feat: Create utility for function memoization

* Simplify
2022-05-01 06:00:55 +02:00
Sergei Zharinov
d4e47f50b7
refactor: Extract participants-related functionality from PR update (#15378) 2022-04-30 17:20:38 +02:00
Michael Kriese
ef470f7f92
feat(config): parse json files as json5 (#15187) 2022-04-29 08:34:55 +00:00
Hasan Awad
e0053be5d6
fix(process/lookup): pinDigest update type (#14658) 2022-04-29 09:49:15 +02:00
StinkyLord
50d23e6576
feat(config): add configErrorIssue to suppressNotifications to disable issues on config failure (#15296) 2022-04-28 14:54:49 +02:00
Sergei Zharinov
d4541ec429
refactor(pr): Extract labels-related code to separate file (#15352) 2022-04-28 12:14:47 +02:00
Rhys Arkins
b547729039
fix: crate cargo vulnerability datasource mapping (#15348) 2022-04-28 07:52:07 +02:00
Michael Kriese
9f53724d90
feat(manager:npm): use local fs api (#15294) 2022-04-25 15:41:10 +02:00
Michael Kriese
982cefff2b
refactor(config): strict null checks (#15291)
* refactor(config): strict null checks

* chore: fix test
2022-04-24 22:48:54 +00:00
Parvesh Chaudhary
6ea48d19e3
feat: pruneBranchAfterAutomerge (#15126) 2022-04-23 09:48:23 +00:00
Sergei Zharinov
f911b0ba22
refactor: Class-based implementations of repo cache (#15157) 2022-04-23 04:44:28 +00:00
Michael Kriese
868ebbef63
refactor(manager): final strict null checks (#15185)
* refactor(manager): final strict null checks

* refactor: fix type issues

* test: fix mocking
2022-04-20 08:40:20 +02:00
Sergei Zharinov
2153835b94
refactor: Separate repository caches init and reset phases (#15142) 2022-04-16 10:20:09 +02:00
Michael Kriese
637585c5fd
feat(http): extend stats (#15104) 2022-04-14 10:47:06 +01:00
Alex Kessock
37d3b1da7c
feat: Add configuration option githubTokenWarn (#14902)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-13 16:03:05 +00:00
Jamie Magee
48cb88e778
feat: add osv-vulnerabilities and vulnerability service (#14567) 2022-04-12 16:13:20 +00:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
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
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
Rhys Arkins
f9617b98fb
fix: catch lookup errors gracefully (#12369) 2021-10-28 08:06:39 +00:00
RahulGautamSingh
91f067b39f
fix: refactor regex to use re2 part3 (#12283)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:37:11 +00:00
Oleg Krivtsov
29dde2f694
test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
Sylvain Firmery
7b4f3518fd
fix(onboarding): detect semantic commits (#12275)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-26 10:04:33 +02:00
Jamie Magee
d337b271d4
refactor: convert git datasources to class-based (#10531)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-26 04:37:26 +00:00
Rhys Arkins
5af1b77f69
fix(git): better commit message robustness (#12246) 2021-10-21 11:04:48 +02:00
Rhys Arkins
7e069f4adc
fix(config): massage package.json>renovate string (#12150) 2021-10-13 14:59:44 +00:00
Maksim
a2ceff099f
refactor: introduce enum programming-language (#12052) 2021-10-13 10:54:40 +00:00
Rhys Arkins
afb1369be7 test: fix enabledManagers test 2021-10-09 05:51:30 +02:00
Rhys Arkins
5a23e9b4dc fix: no warn for enabledManagers 2021-10-09 05:50:00 +02:00
Oleg Krivtsov
9b4b6ce275
feat: enabledManagers log warning when empty (#11902) 2021-10-07 05:15:23 +00:00
Maksim
1f86b71fd5
refactor: constants (#11690) 2021-10-06 07:43:32 +02:00
Tobias Bieniek
786bd4ebf3
fix(dependency-dashboard): Adjust dry run log output (#11820) 2021-09-20 18:23:27 +02:00
Rhys Arkins
66bc2528f5
feat: log urls in closing stats (#11798) 2021-09-17 20:06:30 +02:00
Rhys Arkins
ee29fdcaf1
feat(config): scoped secrets using pgp/gpg (#11673) 2021-09-16 10:11:13 +00:00
Maksim
7801ae7c16
feat(config): migrate requiredStatusChecks to ignoreTests (#11355)
* feat(config): migrate requiredStatusChecks to ignoreTests

* fix(config): restore order of props

* feat(config): add applyMigrations function

* feat(platform): check ignoreTests param in worker

* feat(config): rename getBranchStatus to resolveBranchStatus

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-12 15:23:18 +00:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Rhys Arkins
d6d4124b11
feat(git): blobless git (#11401) 2021-09-09 09:25:12 +02:00
Rhys Arkins
31e1e4d89e fix(git): set gitAuthor before onboarding 2021-09-03 05:58:44 +02:00
ylemkimon
7159338509
fix(npm): enable global cache if no zero-install (#11448)
* fix(npm): include yarnZeroInstall in managerData

* fix(npm): enable global cache if no zero-install

* refactor: use mockResolvedValueOnce where possible

* refactor: make PostUpdateConfig extend ManagerData

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-30 17:46:58 +00:00
Rhys Arkins
59cc317156
fix: semantic host stats (#11482) 2021-08-30 17:09:08 +02:00
Rhys Arkins
dfef9f3cb1
fix: handle non-string currentValue (#11472) 2021-08-30 10:25:20 +02:00
Rhys Arkins
96c4df2776
chore: clean up ManagerConfig types (#11469)
* chore: use ExtractConfig for git-submodules

* chore: drop ManagerConfig from config/types

* chore: remove unused ManagerConfig from manager types
2021-08-30 08:05:32 +02:00
Michael Kriese
d260dbf2d9
feat: dashboard cleanup (#11417) 2021-08-25 14:11:18 +02:00
Rhys Arkins
ca89ae2f82
fix(dashboard): add link to docs in default header (#11422) 2021-08-25 13:03:57 +02:00
bprachi29
2f826677d0
fix(logs): INFO --print-config (#11299) 2021-08-23 16:27:11 +02:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins
56830ee86c refactor: admin->globalOnly 2021-08-17 07:57:45 +02:00
Rhys Arkins
9150854d75 chore: rename config/admin -> config/global 2021-08-17 07:57:45 +02:00
Rhys Arkins
bf69924b78 refactor: rename config admin functions to global 2021-08-17 07:57:45 +02:00
Yanis Benson
8319b1df52 fix: remove double hyphens from branch names (#11186)
Removes double or more hyphens from branch names and replaces with a single hyphen.

Closes #8260

BREAKING CHANGE: Branches with double hyphens will be changed to single hyphens, which can result in some existing PRs being autoclosed and replacements opened.
2021-08-17 07:57:45 +02:00
Rhys Arkins
123dc4444e feat(travis): remove supportPolicy (#11176) 2021-08-17 07:57:45 +02:00
Rhys Arkins
2fe494616d feat(yarn): remove yarnrc config support (#10114)
Removes support for "yarnrc" configuration option.

Closes #10113

BREAKING CHANGE: It is no longer supported to configure a "yarnrc" override in Renovate config
2021-08-17 07:57:45 +02:00
Maksim
a1b7e1fee4
fix(onboarding): refactor commit message functionality (#11171)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-12 14:56:51 +00:00
Yanis Benson
b1724b6745
feat: add updatePinnedDependencies option (#11087) 2021-08-09 10:14:50 +00:00
Sergei Zharinov
1392955a04
refactor: Identify tests relying on single snapshots (#11150)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00
Jamie Magee
f2b6af88da
refactor(pypi): convert to class-based (#11064) 2021-08-03 11:38:46 +00:00
HonkingGoose
c128d25a46
fix: improve dependency dashboard text (#11050) 2021-08-03 10:44:07 +00:00
Michael Kriese
005e601e5d
fix(core:dashboard): fix optional platform getIssue (#11066) 2021-08-03 07:22:29 +00:00
Bob van de Vijver
ac4f4a3f6d
feat: Add dependency dashboard label configuration (#10601)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-09 07:41:43 +00:00
Rhys Arkins
aa7f1cb952
feat: minimumConfidence (experimental, non-public) (#10313) 2021-06-23 20:19:14 +00:00
HonkingGoose
c718352614
fix: explain pending branch automerge checkbox behavior (#10569) 2021-06-23 16:40:37 +02:00
Michael Kriese
f290c8d34a
fix(dasboard): handle optional getIssue (#10518) 2021-06-21 07:05:05 +00:00
HonkingGoose
9dd254ab84
fix(dashboard): improve wording checkbox to ignore schedule (#10512) 2021-06-20 17:44:03 +02:00
Rhys Arkins
fe699b4468
fix(dashboard): handle checkbox race condition (#10457)
* fix(dashboard): handle checkbox race condition

Closes #4355

* feat(platform): getIssue

* refactor(dashboard): move logic into common file

* Apply suggestions from code review

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

* gitea

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-18 17:31:25 +00:00
Michael Kriese
926a076f7b
fix: reduce deprecation noise (#10498) 2021-06-18 17:16:31 +02:00
Michael Kriese
e21c2d97d1
fix(lookup): use database versioning if none set (#10494) 2021-06-18 11:03:47 +02:00
Rhys Arkins
91842073ef
fix(secrets): fix host-rules in repo config (#10459) 2021-06-16 14:02:07 +00:00
Rhys Arkins
7109030618
refactor(dashboard): move logic into common file (#10454)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-16 12:05:36 +00:00
Michael Kriese
5546d60e18
test: fix nock usage (#10451) 2021-06-16 09:13:33 +02:00
Rhys Arkins
0ecabfaef3 logs: setMeta after updating complete 2021-06-15 06:52:35 +02:00
Jamie Magee
3a9fc4fc62
refactor: remove more instances of 'master issue' (#10426) 2021-06-14 07:07:44 +02:00
Rhys Arkins
c7ca78bafd
fix(dashboard): separate pending branch automerge (#10332) 2021-06-07 12:15:19 +02:00
Rhys Arkins
34ef699b64
fix: prResult -> prBlockedBy (#10213) 2021-06-05 13:19:20 +02:00
Rhys Arkins
1e3b5f2470 refactor: pendingChecks to boolean 2021-06-04 09:18:42 +02:00
Sergei Zharinov
1b6ecd87c0
refactor: move binarySource option to admin config (#10022) 2021-06-02 06:50:23 +00:00
Sergei Zharinov
a9de944eb7
fix(util): Leverage "emojibase" library for shortcode conversions (#9785)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-06-01 19:19:38 +00:00
Rhys Arkins
da8676deca
chore: rename ensureMasterIssue (#10260)
Closes #10254
2021-06-01 15:07:54 +02:00
Rhys Arkins
69705c99a3
feat(automerge): recurse after automerge (#10229) 2021-05-31 13:01:48 +02:00
Rhys Arkins
ac61307604
fix(config): don't treat package.json like a config object (#10231)
Closes #10230
2021-05-30 06:01:24 +02:00
Rhys Arkins
854d0a86e8
feat(internal): use cache to delay git cloning (#10209)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-28 10:36:53 +00:00
Rhys Arkins
e8a4d973a5 chore: configFileName -> fileName 2021-05-28 10:10:47 +02:00
Rhys Arkins
1580a4fae3 test: fix await tests in init/merge 2021-05-28 10:10:17 +02:00
Rhys Arkins
79592f848a
fix: Revert "refactor: localDir -> cloneDir" (#10166)
This reverts commit 0b287c763d.
2021-05-26 11:22:16 +00:00
Rhys Arkins
0b287c763d
refactor: localDir -> cloneDir (#10158) 2021-05-26 10:30:23 +02:00
Matt Palmer
bf23c66c6f
fix: Use auto-discovered organisational preset configuration during on-boarding (#9888) 2021-05-24 12:16:24 +02:00
Rhys Arkins
0b743a9583 fix: filter pendingChecks earlier 2021-05-22 11:25:59 +02:00
Rhys Arkins
8f49d7ec5e chore: log depName when pending status checks 2021-05-22 11:25:29 +02:00
Sergei Zharinov
d680ff1e7c
fix(limits): Use PR hourly limits to calculate remaining branch count (#10053)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-19 15:50:37 +00:00
Sebastian Poxhofer
fefe5f7bc6
feat(onboarding): add labels to on boarding PR/MRs (#9947)
* feat(onboarding): add labels to on boarding PR/MRs

* fix: simplify

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-19 15:35:15 +00:00
Sergei Zharinov
fbbbce608e
chore: Configure fs local dirs via admin config (#9990)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-05-17 13:21:28 +00:00
renovate[bot]
b8e36daa87
chore(deps): update dependency prettier to v2.3.0 (#10012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Michael Kriese
9e08eaa1dc
refactor: rename Error location to validationSource (#10018) 2021-05-17 07:40:54 +00:00
Rhys Arkins
76ae49c4e8 chore: coverage 2021-05-16 07:07:46 +02:00
Rhys Arkins
f67427a3a1 fix: string check for empty config contents 2021-05-15 13:08:46 +02:00
Rhys Arkins
a245932673 fix(npm): skip lock file generation for non-updated remediations 2021-05-15 12:14:41 +02:00
Rhys Arkins
bd2febb56d fix: respectLatest even if unstable 2021-05-15 00:02:24 +02:00
Rhys Arkins
aca479873c fix: pass rangeStrategy to generateUpdate 2021-05-14 10:31:06 +02:00
Rhys Arkins
fd1ab4b796
fix: updateType for update-lockfile (#9984) 2021-05-12 21:29:32 +00:00
Rhys Arkins
a70aa6b75b
fix(git): try/catch git author check (#9967) 2021-05-12 13:06:02 +00:00
Rhys Arkins
1a5db3412b
fix: filter pendingChecks per-branch (#9966) 2021-05-12 14:33:58 +02:00
Michael Kriese
9ca604b345
refactor: extract more types (#9959) 2021-05-11 19:08:02 +02:00
Michael Kriese
7daa93a78d
refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Rhys Arkins
65c01d2703
fix: avoid error if no currentVersion found (#9925)
Closes #9097
2021-05-10 10:19:30 +02:00
Rhys Arkins
9aaadd1f4a
feat: sourceRepoSlug (#9916) 2021-05-08 15:57:14 +02:00
Rhys Arkins
1bc09b0bfc
feat: internalChecksFilter (#9796) 2021-05-08 14:38:27 +02:00
Rhys Arkins
13112b75bb
fix: separate patch branchName only if separateMinorPatch=true (#9901) 2021-05-07 10:01:16 +00:00
Matt Palmer
5cdedd5e2c
refactor: split mergeRenovateConfig to own module (#9872) 2021-05-05 22:26:08 +02:00
Rhys Arkins
4eb4a5cd20
fix: ignore yargs-parser false positive (#9841) 2021-05-04 10:23:03 +02:00
Sergei Zharinov
b00c80a33f
fix(config): Emoji config default value (#9818) 2021-05-02 10:59:36 -07:00
Rhys Arkins
6ad1a33159
refactor: separate update generation (#9788)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-30 10:46:11 +02:00
Rhys Arkins
bafb55dd99
fix: patch grouping when separateMinorPatch=false (#9746)
Closes #9744
2021-04-27 16:14:57 +02:00
Sergei Zharinov
38620be343
refactor: Replace some TODO items with issue ids (#9596) 2021-04-26 20:19:30 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Sergei Zharinov
b255275632
refactor(test): Load fixtures with helpers (#9699)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-23 16:58:48 +00:00
Florian Greinacher
2cc751a0a1
feat: ignore unavailable users (#9406) 2021-04-22 21:16:58 +02:00
Rhys Arkins
572749a398 refactor: artifactUpdateApproach -> skipInstalls
Roll back the previous refactor.
2021-04-22 08:47:58 +02:00
Rhys Arkins
13ece707d4 feat(npm): remove ignoreNpmrcFile support (#9409)
Removes support for the ignoreNpmrcFile config option.

BREAKING CHANGE: ignoreNpmrcFile is no longer supported. Use an empty string for config.npmrc instead.
2021-04-22 08:47:58 +02:00
Rhys Arkins
59d728b16b refactor: skipInstalls -> artifactUpdateApproach (#9119)
Renames skipInstalls to artifactUpdateApproach and changes from boolean to enum.

BREAKING CHANGE: skipInstalls has been changed to artifactsUpdateApproach
2021-04-22 08:47:58 +02:00
Rhys Arkins
0500042d1d feat: updateType=patch (#9393)
Changes behavior so that patch updateType is not rewritten to minor by default.

Closes #2818

BREAKING CHANGE: patch updates are not considered updateType=minor by default.
2021-04-22 08:47:58 +02:00
Rhys Arkins
13bbc5d6a2 feat(config): remove manager additionalBranchPrefix defaults (#9373)
Resets any language or manager` additionalBranchPrefix` values to empty string. Add the `compatibility:additionalBranchPrefix` prefix to restore previous behavior.

BREAKING CHANGE: Removal of default `additionalBranchPrefix` values will cause branch names to change for docker/helm/buildkite/cargo/homebrew.
2021-04-22 08:47:58 +02:00
Sergei Zharinov
2d04ae6bc3
refactor(http): Import proper OutgoingHttpHeaders on all http clients (#9653) 2021-04-20 18:31:43 +02:00
Sergei Zharinov
b957d4afb7
refactor(config): Extract interfaces from "index.ts" to separate "types.ts" (#9629) 2021-04-20 10:52:57 +02:00
Rhys Arkins
9a306048a9
fix: rangeStrategy=replace with lockedVersion (#9634) 2021-04-20 04:56:16 +00:00
Rhys Arkins
d51b3aa40c fix: validate version before calling isGreaterThan
Closes #9602
2021-04-19 14:10:21 +02:00
Rhys Arkins
4280b8e08a refactor: drop skippedOverVersions 2021-04-18 21:36:04 +02:00
Rhys Arkins
6f54f09aa2
feat: don’t block updates due to pinning (#9600) 2021-04-18 17:27:41 +02:00
Rhys Arkins
56f57a34c4 refactor: res valueToVersion 2021-04-17 22:33:54 +02:00
Rhys Arkins
d3a477afd6 refactor: newDigestShort 2021-04-17 22:26:17 +02:00
Rhys Arkins
ac2ba7dd74 refactor: displayFrom/displayTo 2021-04-17 21:36:25 +02:00
Rhys Arkins
d398b7e72e test: generate newValue 2021-04-17 16:52:47 +02:00
Rhys Arkins
ccf1bc8264
refactor: rollback config (#9589) 2021-04-17 11:53:03 +00:00
Rhys Arkins
de53356573 refactor: currentVersion / lockedVersion 2021-04-17 11:08:23 +02:00
Rhys Arkins
61095e9091 chore: remove duplicate update.newVersion set 2021-04-17 09:29:35 +02:00
Rhys Arkins
e36384a80c refactor: lookup types 2021-04-17 09:14:21 +02:00
Rhys Arkins
d0919ab99b refactor: travis result type 2021-04-17 06:53:54 +02:00
Rhys Arkins
074a78d933 chore: rename lookup variables 2021-04-17 06:14:07 +02:00
Rhys Arkins
5ff0ad45ce refactor: processBranch return branchExists 2021-04-15 22:05:00 +02:00
Rhys Arkins
fb7138dc00 refactor: processBranch return object 2021-04-15 21:17:15 +02:00
Rhys Arkins
14c5227ce3 refactor: ProcessBranchResult -> BranchResult 2021-04-15 19:06:55 +02:00
Sergei Zharinov
72d97ec2f4
refactor(workers): Enforce getName usage (#9525) 2021-04-13 10:25:51 +00:00
Rhys Arkins
6662db9765
fix: don’t disable repos if cannot fork (#9521) 2021-04-13 08:54:46 +02:00