-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: すべての依存をRenovateの対象にする #839
Merged
qryxip
merged 22 commits into
VOICEVOX:main
from
qryxip:chore-use-renovate-for-all-deps
Sep 29, 2024
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
90aaa65
chore: すべての依存をRenovateの対象にする
qryxip ad28d7f
Add a comment
qryxip 1656a41
[skip ci] Add a comment
qryxip 23adf42
Add a comment
qryxip 5847231
"{major,non-major} dependencies"について説明
qryxip 9d20232
JSON5としてフォーマット
qryxip 927d714
Revert "JSON5としてフォーマット"
qryxip a5ef979
末尾カンマだけ入れてみる
qryxip 432e572
末尾カンマだけ入れる
qryxip 322dcd7
Revert "末尾カンマだけ入れる"
qryxip 392662b
mapの末尾にカンマを入れてみる
qryxip cf101d9
「arrayの末尾のobject」に末尾カンマを入れてみる
qryxip 10ba553
Docker版でrenovate.json5を読んでみる
qryxip 701d7fd
fixup! Docker版でrenovate.json5を読んでみる
qryxip 0185235
Revert "「arrayの末尾のobject」に末尾カンマを入れてみる"
qryxip 7574139
keyの`""`を外したらどうなるか?
qryxip 13904f6
「arrayの末尾のobject」に対する末尾カンマだけ避けてJSON5化
qryxip 3e47acf
Revert "fixup! Docker版でrenovate.json5を読んでみる"
qryxip 79521af
Revert "Docker版でrenovate.json5を読んでみる"
qryxip 84c641e
末尾カンマについての注意事項
qryxip 6b8b92d
array末尾のobjectの末尾カンマを復活
qryxip 53e35e5
Revert "末尾カンマについての注意事項"
qryxip File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
$schema: "https://docs.renovatebot.com/renovate-schema.json", | ||
extends: [ | ||
"config:recommended", | ||
], | ||
timezone: "Asia/Tokyo", | ||
separateMajorMinor: false, | ||
dependencyDashboardApproval: true, // 万が一`packageRules`の網羅性に穴ができた場合に備え | ||
packageRules: [ | ||
// `separateMajorMinor`を無効化した上で次の二つのgroupにすべてをまとめる。 | ||
// | ||
// * "major dependencies" (`renovate/major-dependencies`) | ||
// * "non-major dependencies" (`renovate/non-major-dependencies`) | ||
// | ||
// バージョン0.y.z (y≧1)のyとバージョン0.0.zのzの変更は"major dependencies"の方に含むようにする。 | ||
|
||
// メジャーバージョンの更新 | ||
{ | ||
qryxip marked this conversation as resolved.
Show resolved
Hide resolved
|
||
groupName: "major dependencies", | ||
matchUpdateTypes: [ | ||
"major", | ||
], | ||
dependencyDashboardApproval: false, | ||
}, | ||
{ | ||
groupName: "major dependencies", | ||
matchUpdateTypes: [ | ||
"minor", | ||
], | ||
matchCurrentVersion: "/^v?0\\./", | ||
dependencyDashboardApproval: false, | ||
}, | ||
{ | ||
groupName: "major dependencies", | ||
matchUpdateTypes: [ | ||
"patch", | ||
], | ||
matchCurrentVersion: "/^v?0\\.0\\./", | ||
dependencyDashboardApproval: false, | ||
}, | ||
|
||
// メジャーバージョン以外の更新 | ||
{ | ||
qryxip marked this conversation as resolved.
Show resolved
Hide resolved
|
||
groupName: "non-major dependencies", | ||
matchUpdateTypes: [ | ||
"minor", | ||
], | ||
matchCurrentVersion: "!/^v?0\\./", | ||
dependencyDashboardApproval: false, | ||
}, | ||
{ | ||
groupName: "non-major dependencies", | ||
matchUpdateTypes: [ | ||
"patch", | ||
], | ||
matchCurrentVersion: "!/^v?0\\.0\\./", | ||
dependencyDashboardApproval: false, | ||
}, | ||
|
||
// GHAのrunnerに対しては無効化する | ||
{ | ||
Hiroshiba marked this conversation as resolved.
Show resolved
Hide resolved
|
||
matchDatasources: [ | ||
"github-runners", | ||
], | ||
matchPackageNames: [ | ||
"windows", | ||
"macos", | ||
"ubuntu", | ||
], | ||
enabled: false, | ||
}, | ||
], | ||
cargo: { | ||
rangeStrategy: "bump", | ||
}, | ||
customManagers: [ | ||
{ | ||
customType: "regex", | ||
fileMatch: [ | ||
"^rust-toolchain$", | ||
], | ||
matchStrings: [ | ||
"(?<currentValue>\\d+\\.\\d+\\.\\d+)", | ||
], | ||
depNameTemplate: "Rust", | ||
packageNameTemplate: "rust-lang/rust", | ||
datasourceTemplate: "github-tags", | ||
}, | ||
], | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Error executing gradle wrapper update command"のメッセージと共にgradle-wrapper.jarが消し飛ばされる件が気になるけど、どういう現象なのかまだわかってないし、Gradle自体のアップデートは別にやることで回避可能ではあるので除外設定はやらなくていいかなと思ってます。