Skip to content
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
merged 22 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
90aaa65
chore: すべての依存をRenovateの対象にする
qryxip Sep 26, 2024
ad28d7f
Add a comment
qryxip Sep 28, 2024
1656a41
[skip ci] Add a comment
qryxip Sep 28, 2024
23adf42
Add a comment
qryxip Sep 28, 2024
5847231
"{major,non-major} dependencies"について説明
qryxip Sep 28, 2024
9d20232
JSON5としてフォーマット
qryxip Sep 28, 2024
927d714
Revert "JSON5としてフォーマット"
qryxip Sep 28, 2024
a5ef979
末尾カンマだけ入れてみる
qryxip Sep 28, 2024
432e572
末尾カンマだけ入れる
qryxip Sep 28, 2024
322dcd7
Revert "末尾カンマだけ入れる"
qryxip Sep 28, 2024
392662b
mapの末尾にカンマを入れてみる
qryxip Sep 28, 2024
cf101d9
「arrayの末尾のobject」に末尾カンマを入れてみる
qryxip Sep 28, 2024
10ba553
Docker版でrenovate.json5を読んでみる
qryxip Sep 28, 2024
701d7fd
fixup! Docker版でrenovate.json5を読んでみる
qryxip Sep 28, 2024
0185235
Revert "「arrayの末尾のobject」に末尾カンマを入れてみる"
qryxip Sep 28, 2024
7574139
keyの`""`を外したらどうなるか?
qryxip Sep 28, 2024
13904f6
「arrayの末尾のobject」に対する末尾カンマだけ避けてJSON5化
qryxip Sep 28, 2024
3e47acf
Revert "fixup! Docker版でrenovate.json5を読んでみる"
qryxip Sep 28, 2024
79521af
Revert "Docker版でrenovate.json5を読んでみる"
qryxip Sep 28, 2024
84c641e
末尾カンマについての注意事項
qryxip Sep 28, 2024
6b8b92d
array末尾のobjectの末尾カンマを復活
qryxip Sep 28, 2024
53e35e5
Revert "末尾カンマについての注意事項"
qryxip Sep 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions renovate.json

This file was deleted.

90 changes: 90 additions & 0 deletions renovate.json5
Copy link
Member Author

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自体のアップデートは別にやることで回避可能ではあるので除外設定はやらなくていいかなと思ってます。

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",
},
],
}
Loading