Commit Graph

129 Commits

Author SHA1 Message Date
RahulGautamSingh 2ffbd41b59 refactor(types): move custom manager types (#24324) 2023-09-13 05:31:48 +00:00
RahulGautamSingh 8aeb64e9f8 fix: improve branch coverage (#24282)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-09-08 10:56:56 +00:00
RahulGautamSingh cfd680d43e test: ensure presence of CustomMigrationClasses in customMigrations (#24171) 2023-08-31 04:23:31 +00:00
Rhys Arkins 30359ac0c3 fix: Revert "feat: implement custom.<customMgrName> syntax for matchManagers (#24112) (#24125) 2023-08-28 17:42:45 +02:00
RahulGautamSingh 9c322cdcee feat: implement custom.<customMgrName> syntax for matchManagers (#24112) 2023-08-27 16:32:10 +00:00
RahulGautamSingh 0613c24729 feat(managers/custom): introduce customType field (#23919)
Co-authored-by: Anne Stellingwerf <astellin@opentext.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-08-22 14:01:03 +00:00
Gabriel-Ladzaretti 4506232228 feat(presets): add merge confidence preset (#23215)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-07-13 04:28:06 +00:00
Sebastian Poxhofer 19259a0383 feat!: categories (#16534)
Closes #13953

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

BREAKING CHANGE: languages are now called categories instead
2023-07-04 19:21:52 +02:00
RahulGautamSingh c2d3ca856f feat(release-notes)!: support configurable fetching stage (#22781)
Changes fetchReleaseNotes from boolean to enum, with values off, branch, pr.

Closes #20476

BREAKING CHANGE: Release notes won't be fetched early for commitBody insertion unless explicitly configured with fetchReleaseNotes=branch
2023-07-04 19:21:52 +02:00
Rhys Arkins e3d5f7df92 feat!: merge matchPaths and matchFiles into matchFileNames (#22406)
Closes #22395

BREAKING CHANGE: matchPaths and matchFiles are now combined into matchFileNames, supporting exact match and glob-only
2023-07-04 19:21:52 +02:00
Sergei Zharinov 11c05fc837 refactor: Default values for GlobalConfig.get (#22967) 2023-06-25 19:34:42 +00:00
RahulGautamSingh 2c264af8d2 feat: migraterecreateClosed to recreateWhen (#21039)
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-06-12 15:48:40 +00:00
RahulGautamSingh be2a89520b refactor: replace as assertions (#22442) 2023-06-05 19:18:30 +00:00
RahulGautamSingh 0d85cead02 fix(migration): throw error for invalid hostRules (#20540) 2023-05-22 07:49:26 +00:00
Michael Kriese bce88c862e feat(config): rename azureAutoApprove to autoApprove (#21576) 2023-04-18 09:09:46 +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
RahulGautamSingh efc366ec57 feat(datasource): rename node -> node-version (#21149) 2023-04-12 13:43:59 +00:00
RahulGautamSingh 217ea888a9 fix: migrate hostType (#21432) 2023-04-12 04:05:07 +00:00
Rhys Arkins ccec42fdcf fix(config): migrate includeForks properly (#20965) 2023-03-15 18:23:14 +00:00
Jamie Magee cbbeecbefc refactor: satisfy types for unknown arrays (#20878) 2023-03-12 05:53:06 +00: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
Michael Kriese b95af46ebd fix(manager/regex): migrate datasource renames (#20415) 2023-02-14 15:45:34 -08:00
RahulGautamSingh 09402a32e6 fix(datasource): rename adoptium-java to java-version (#20245) 2023-02-13 07:54:20 +00:00
RahulGautamSingh 9b782773f4 fix(migration): remove dotnet from renamed properties (#20353) 2023-02-11 22:53:39 +02:00
RahulGautamSingh 93c3fd5ced feat(datasource): rename dotnet to dotnet-version (#20244) 2023-02-10 22:47:07 +02:00
Sebastian Poxhofer b30ac1a4c2 test(migrations): add test for multiple migrations for one property (#20044) 2023-01-26 13:07:05 +01:00
Michael Kriese 751331b817 fix: no native js private class members (#19441) 2022-12-16 09:17:16 +00:00
Gabriel-Ladzaretti e9153ea294 feat(host-rules): prepend scheme when missing one and containing a url path (#18358) 2022-10-17 17:52:40 +03:00
RahulGautamSingh 1ca1a214e8 refactor: use optional chaining (#17510) 2022-08-30 17:30:57 +02:00
RahulGautamSingh 5b74dad583 refactor(migrations): migrate depTypes (#16421)
* migrate depTypes

* migrate more depTypes

* Revert "migrate more depTypes"

This reverts commit 3f97d9eb82.

* more migrations

* Update dep-types-migration.ts

* Update dep-types-migration.ts

* refactor: add tests and revert some changes

* add separate class for each dep-type

* Update peer-dependencies-migration.ts

* add tests

* update types

* modify test

* - Use regex to detect all depTypes
- Fix arrMigrate -> arrMigrate.migratedConfig

* add new interface for depTypes

* remove if-block

* Update lib/config/migrations/custom/dep-types-migration.ts

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

* run prettier

* Update lib/config/migrations/custom/dep-types-migration.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-21 05:06:32 +00:00
RahulGautamSingh 5774fb3f2a refactor(migrations): class-based migration for packageRules (#16390)
* use class-based migration for packageRules

* fix errors

* refactor: remove unnecessaru if statement

* refactor: use argument

* refactor: apply suggestions

* Update lib/config/migrations/custom/package-rules-migration.ts

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

* Update lib/config/migrations/custom/package-rules-migration.ts

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

* refactor: import type PackageRule

* Update lib/config/migrations/custom/package-rules-migration.ts

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

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-11 04:59:06 +00:00
RahulGautamSingh 5bfa68b8d3 refactor(migrations): migrate package files (#16393)
* create file

* use class-based migration for packageFiles

* add tests

* fix errors

* fix merge errors

* Update lib/config/migrations/custom/package-files-migration.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* Update lib/config/migrations/custom/package-files-migration.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* add test

* Update index.ts

* modify test

* fix type

* refactor

* Update lib/config/migrations/custom/package-files-migration.ts

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

* Update lib/config/migrations/custom/package-files-migration.ts

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

* readd todo

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-07 07:53:47 +00:00
RahulGautamSingh 8b9d038fa3 refactor(migrations): migrate node (#16422)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-07-06 04:39:48 +00:00
RahulGautamSingh 895218d2a9 refactor: migration semantic prefix (#16218) 2022-07-06 02:34:21 +00:00
RahulGautamSingh f82c8674bd refactor(migrations): master issue (#16399) 2022-07-03 10:33:33 +00:00
RahulGautamSingh 996e4a6e57 feat: rename aliases to registryAliases (#15877) 2022-06-10 05:14:49 +00:00
Michael Kriese 49d851e5fd refactor: tighten typescript types (#15965) 2022-06-09 12:17:05 +00:00
Rhys Arkins 4b0102f08b fix(gomod): default to not massaging replace statements (#15767) 2022-05-28 10:19:36 +02:00
Rhys Arkins cf60a57cd4 fix(config): migrate requireConfig=false (#15640) 2022-05-18 19:42:33 +00:00
Maron 0cf2ab4823 feat: refactor requireConfig option (#15594) 2022-05-18 10:21:51 +00:00
Maksim 6330414ad1 refactor(migrations): matchStrings (#15061)
* refactor(migrations): matchStrings

* refactor(migrations): use regEx helper
2022-04-16 22:13:32 +02: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
Maksim 5a70fa8805 refactor(migrations): gitLabAutomerge and azureAutoComplete (#14975) 2022-04-11 16:27:56 +00:00
Maksim 07620cdf3a feat(migrations): support regexp as property name for migration (#15038)
* feat(migrations): support regexp as property name in migration

* refactor(migrations): add unit test

* refactor(migrations): fix coverage

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-11 01:52:40 +00:00
Maksim eb938e4362 refactor(migrations): separateMajorReleases (#14911) 2022-04-04 04:24:35 +00:00
Maksim bbb6eb122e refactor(migrations): branchPrefix (#14910) 2022-04-02 21:07:15 +02:00
Maksim 7a8180b3b0 refactor(migrations): extends (#14807) 2022-04-02 05:16:34 +00:00
Maksim 0e6d2b674f refactor(migrations): unpublishSafe (#14680)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-03-29 05:42:28 +02:00
Maksim 25d793f690 refactor(migrations): schedule (#14737) 2022-03-28 14:16:43 +02:00
Maksim 0af1be577d refactor(migrations): ignoreNpmrcFile (#14802) 2022-03-25 19:39:14 +00:00