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

[DNM] clean up 1.18 #2115

Open
wants to merge 381 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
381 commits
Select commit Hold shift + click to select a range
f06c6a5
fix: MineStackのアイテム数表示からカンマが消えているのを修正
rito528 Dec 20, 2023
490af9d
chore: MineStackに不足しているアイテムを追加
rito528 Dec 20, 2023
c1af047
fix: MineStackのレッドストーンカテゴリに表示できないアイテムがあるのを修正
rito528 Dec 20, 2023
1b376c1
fix: MineStackからサバイバルで取得できないアイテムを削除
rito528 Dec 20, 2023
5d72b7d
fix: GT当たりメッセージが2回表示される不具合を修正
rito528 Dec 20, 2023
f004c4e
fix: hatコマンドでアイテムが増殖するのを修正
rito528 Dec 20, 2023
0c5c111
fix: 整地量の表示に失敗する不具合を修正
rito528 Dec 20, 2023
6722358
modify dockerfile
outductor Dec 20, 2023
729e277
fix: パンプキンパイのカテゴリの指定ミスを修正
rito528 Dec 20, 2023
c18d0b1
fix: GT景品交換で交換できる椎名林檎が金のリンゴになっている不具合を修正
rito528 Dec 20, 2023
ba82256
fix: PlayerDeathEventでの死亡メッセージをnullにする
rito528 Dec 20, 2023
b4cdab9
chore: MIneStackに歪んだウォートブロックを追加する
rito528 Dec 20, 2023
44a5cf1
fix: メインハンドに何も持っていないときにhatコマンドを使えないように
rito528 Dec 20, 2023
b2d311d
chore: MineStackに銅ブロックを追加
rito528 Dec 20, 2023
05bd1f6
fix: 草を草ブロックに置き換えていたので修正
rito528 Dec 20, 2023
0c928ba
fix: hatコマンドでメインハンドにアイテムを持っていなかった場合に動かさない
rito528 Dec 21, 2023
3e485c5
chore 歪んだ階段を階段の一覧部分に入れる
rito528 Dec 21, 2023
44b6a1c
fix: 直接設置設定が動かない不具合を修正
rito528 Dec 21, 2023
44ea81f
chore: GBで反応するエンティティにピグリン、ホグリン、ドラウンドを追加
rito528 Dec 21, 2023
85f435a
fix: アイテムが有るときにhatコマンドが動かないのを修正
rito528 Dec 21, 2023
2634057
chore: yqのfromの位置を上に持っていく
rito528 Dec 22, 2023
d4b9e66
fix: 頭のテクスチャが正しく表示されないのを修正
rito528 Dec 22, 2023
a71160e
refactor: onPlayerLeftClickWithStickをリファクタリング
rito528 Dec 22, 2023
7a76565
fix: スキルを使ってブロックを破壊したときに整地量が増えない不具合を修正
rito528 Dec 22, 2023
34bceaa
fix: 気泡のある水が凝固スキルでも凝固できない不具合を修正
rito528 Dec 22, 2023
112052c
chore: 不要なコードの削除
rito528 Dec 23, 2023
0583db0
fix: 水没したブロックでも凍らせるようにする
rito528 Dec 23, 2023
cf82566
fix: その場所が変更できるかを問い合わせる処理を修正
rito528 Dec 23, 2023
e5242ef
style: scalafix
rito528 Dec 23, 2023
a066e09
fix: UUIDと名前を指定したときに頭のテクスチャが正しくないのを修正
rito528 Dec 24, 2023
a66887f
fix: 水泡ブロックなどが凝固できないのを修正
rito528 Dec 24, 2023
b7655e7
fix: コンブが凝固できないのを修正
rito528 Dec 24, 2023
6380146
fix: チェストなどのアイテムの中身のアイテムをスキルで破壊したときに、アイテムが消失する不具合を修正
rito528 Dec 24, 2023
0dfbb19
fix: ネザライトツールでスキルが発動できない不具合を修正
rito528 Dec 24, 2023
5b89b5a
fix: シルクタッチツールで掘ってもシルバーフィッシュがスポーンしてしまう不具合を修正
rito528 Dec 24, 2023
0701627
chore: MineStackのアイテム名の表記ゆれを修正
rito528 Dec 24, 2023
45e4a81
fix: マジックの演出が正しくならないのを修正
rito528 Dec 24, 2023
c970c2d
fix: エクスプロージョンの演出が正しくならないのを修正
rito528 Dec 24, 2023
f88fdbd
fix: スキルが有効でないときにもチェスト等が破壊できない不具合を修正
rito528 Dec 26, 2023
eb6fb29
fix: スキル選択中にチェスト等が破壊できない不具合を修正
rito528 Dec 26, 2023
ec569da
fix: 水没していない水没できるブロックが合った場合にCastErrorが起こるのを修正
rito528 Dec 26, 2023
a53eb49
fix: 空気ブロックをドロップしようとして例外が出るのを修正
rito528 Dec 26, 2023
42b1864
fix: ピグリンブルード、ピリジャー、ラヴェジャー、ゾグリンがGBに反応しないのを修正
rito528 Dec 26, 2023
5272b60
fix: KELP_PLANTが水没ブロックに含まれていなかったのを修正
rito528 Dec 26, 2023
9a4f933
fix: MineStackのオブジェクト名の表記ゆれを直す
rito528 Dec 26, 2023
aa9c5ff
fix: MineStackのアイテム名の表記ゆれを修正
rito528 Dec 26, 2023
0ecbf48
fix: MineStackがOffのときにガチャを引くと署名がないアイテムが消滅する不具合を修正
rito528 Dec 26, 2023
3ba8ea5
fix: スキルによって放たれた矢が回収できる不具合を修正
rito528 Dec 26, 2023
3230e88
fix: スキルによって放たれた残った矢を移動させて再びスキルが発動できる不具合を修正
rito528 Dec 26, 2023
fcdf9f1
chore: 整地スキルで破壊できないブロックを追加
rito528 Dec 26, 2023
8bf6dd7
chore: gitignoreの最終行に改行がないのを直す
rito528 Dec 26, 2023
a800f82
feat: 参加・退出メッセージを出すsubsystemを実装
rito528 Dec 26, 2023
e72be93
fix: EventHandlerをつけ忘れを直す
rito528 Dec 26, 2023
aa61a81
update flyway
outductor Dec 27, 2023
5ba6ded
build: add flyway-mysql
rito528 Dec 27, 2023
3662f81
feat: エレベータを実装するsubsystemの実装
rito528 Dec 27, 2023
0c053e4
fix: 横移動でもエレベータが反応するのを修正
rito528 Dec 27, 2023
59d9fbe
fix: エレベーターで降りられない不具合を修正
rito528 Dec 27, 2023
e01c54c
fix: 降下が連続で判定されてしまうのを修正
rito528 Dec 27, 2023
cee8855
fix: 整地スキルで破壊できる/できないアイテムを修正
rito528 Dec 27, 2023
ca711ae
chore: MineStackに銅関連のブロックを追加
rito528 Dec 27, 2023
40a81de
chore: minestackのアイテムリストから魚入りバケツのアイテムを削除
rito528 Dec 27, 2023
c936919
fix: かまどのMaterialを削除する場所を間違っていたので修正
rito528 Dec 27, 2023
c04b2ea
fix: ワールド移動時や、プレイヤー死亡時にflyのステータスが引き継がれないのを修正
rito528 Dec 27, 2023
1f872fb
fix: explosionの実行結果をログに仕込む
rito528 Dec 27, 2023
63a6632
fix: ログを削除
rito528 Dec 27, 2023
98079d6
fix: ミツバチの巣をMineStackから削除
rito528 Dec 28, 2023
fdbd095
fix: エレベータのテレポート先の頭にブロックがあったらテレポート先としてスキップする
rito528 Dec 28, 2023
cfe631e
fix: どこでもエンダーチェストを開くのに成功した時の音と、失敗したときの音が逆になっているのを修正
rito528 Dec 28, 2023
a4069cc
fix: 範囲設置スキルで葉ブロックを設置すると自然消滅するのを修正
rito528 Dec 28, 2023
a0e4afd
style: scalafix, scalafmt
rito528 Dec 28, 2023
cac34d0
fix: テレポート元とテレポート先の条件がおなじになっているのを修正
rito528 Dec 29, 2023
4d2bd85
fix: 謎の同じ条件分岐を削除
rito528 Dec 30, 2023
d01d235
fix: 整地スキルが開放されていないワールドでスキルの処理が走っているのを修正
rito528 Dec 30, 2023
2eff740
fix: ItemStackUtil#amalgamateにnullが入ってきた場合も考慮させる
rito528 Dec 30, 2023
ac9f762
fix: breakToolMaterialsに木の斧がないのを修正
rito528 Dec 30, 2023
67ba213
fix: breakTestToolMaterialsをSetにしてprivateにする
rito528 Dec 30, 2023
a4cafdd
fix: どんなブロックを破壊するときにもエンチャントを保持したネザライトのツルハシを使用する判定にする
rito528 Dec 30, 2023
3b15f88
fix: エレベータの処理でeffectEnvironmentを使う
rito528 Dec 30, 2023
3b455d6
scalafmt
outductor Dec 31, 2023
20af472
update authlib
outductor Dec 31, 2023
60e3bed
update JDK14LoggerFactory
outductor Dec 31, 2023
7e07093
update scalikejdbc 4
outductor Dec 31, 2023
5c499b8
update sbt-assembly
outductor Dec 31, 2023
692eda1
mkdir target
outductor Dec 31, 2023
57c4a05
fix workflow
outductor Dec 31, 2023
946ec3c
fix
outductor Dec 31, 2023
bd13389
revert slf4j
outductor Dec 31, 2023
8de6d74
refactor: ログインランキングと投票ランキングの更新間隔を下げる
rito528 Jan 3, 2024
adbf213
style: scalafix, scalafmt
rito528 Jan 3, 2024
29d9c8e
refactor: ブロック破壊されたアイテムの格納周りをきれいにする
rito528 Jan 3, 2024
6135231
fix: スキル無しでブロックを破壊したときにチェスト内のアイテムが消失する不具合を修正
rito528 Jan 3, 2024
5f31293
fix: チェストなどに空のスロットがあるとエラーになるのを修正
rito528 Jan 3, 2024
6930918
chore: StreamClockの機能を移植
rito528 Jan 4, 2024
4b561c9
fix: eventpriorityをhighestにする
rito528 Jan 4, 2024
89527ad
sentry
outductor Jan 4, 2024
8b46661
chore: オブザーバーをMineStackから削除
rito528 Jan 4, 2024
dc4ed9e
fix: 重力値の計算でY座標が更新されていないのを修正
rito528 Jan 4, 2024
30e2ab3
chore: ログの消し忘れを消す
rito528 Jan 4, 2024
0caf8ab
fix: インベントリを持つブロックを破壊すると中身のアイテムが増殖する不具合を修正
rito528 Jan 4, 2024
c722014
style: scalafmt
rito528 Jan 4, 2024
f2d9507
fix: 通常破壊されたブロックがチェストなどであった場合、MineStackに入れない
rito528 Jan 5, 2024
24ea44c
scalafix
outductor Jan 5, 2024
8de5065
fix: スキル使用時にもチェストの中身をMineStackに入れないようにする
rito528 Jan 5, 2024
da4c215
fix: MineStackの表記ゆれとカテゴリを直す
rito528 Jan 6, 2024
c2e87b3
fix: カテゴリ指定が間違っていたので修正
rito528 Jan 6, 2024
c0797f5
fix: MineStackのアイテム種類選択画面にページャーが実装されていなかったのを直す
rito528 Jan 6, 2024
6d80efd
fix: GameProfileのtexturesをuuidとnameを指定した場合でも指定する
rito528 Jan 6, 2024
c5cc232
fix: authlibを使用しないでスキンを設定するように
rito528 Jan 6, 2024
26b2a5e
fix: MineStackのアイテムリストの修正
rito528 Jan 6, 2024
9284233
fix: 不要なスペースの削除
rito528 Jan 6, 2024
aeffda1
fix: menuでアイコンが正しく表示されないのを修正
rito528 Jan 7, 2024
4d50cb0
docs: 古くなったドキュメントの削除
rito528 Jan 7, 2024
af7a026
pref: 頭のテクスチャを描画するときのパフォーマンスを改善
rito528 Jan 7, 2024
0b2d9ca
fix: 不要なfilterを削除
rito528 Jan 18, 2024
31b35f4
update libs
outductor Jan 19, 2024
1b88199
fix: 鍾乳石による落下ダメージを無効化する
rito528 Jan 19, 2024
da524f9
chore: ダメージを受けたブロックのログを追加
rito528 Jan 19, 2024
a42aeec
fix: 落下ブロックによるダメージを無効化する
rito528 Jan 19, 2024
711824b
style: scalafix,fmt
rito528 Jan 19, 2024
0d37fd8
chore(deps): update dependency com.thesamet:sbt-protoc to v1.0.7
renovate[bot] Jan 21, 2024
4e606e1
chore(deps): update dependency com.thesamet.scalapb:compilerplugin to…
renovate[bot] Jan 21, 2024
e1eea04
docs: 間違ったコメントを修正
rito528 Jan 24, 2024
03acb1d
feat: ガチャ景品を置き換えるコマンドを追加
rito528 Jan 24, 2024
cce5ea8
chore(deps): update dependency eu.timepit:refined to v0.11.1
renovate[bot] Jan 26, 2024
df5c33d
chore(deps): update dependency org.scalatest:scalatest to v3.2.18
renovate[bot] Feb 7, 2024
1382f09
update packages
outductor Feb 11, 2024
3fa40cd
sbt
outductor Feb 11, 2024
cb0d1e8
fix: nmsとcraftBukkitのバージョン指定を変える
rito528 Feb 13, 2024
ba6c677
fix: nmsのバージョンをもどす
rito528 Feb 13, 2024
503f77a
chore: マイグレーションを一旦無効化
rito528 Feb 13, 2024
85eb7f7
chore: マイグレーションを実行するように
rito528 Feb 13, 2024
8c55bcd
chore: convertChunkWiseをprivateにする
rito528 Feb 15, 2024
cae013e
fix: nmsパッケージパスを変更
rito528 Feb 15, 2024
eba8021
Revert "fix: nmsパッケージパスを変更"
rito528 Feb 15, 2024
74c4471
chore: アイテムマイグレーションを停止
rito528 Feb 16, 2024
017cb04
chore: minestackで拾ったアイテムをログに追加
rito528 Feb 16, 2024
38a4c45
Revert "chore: minestackで拾ったアイテムをログに追加"
rito528 Feb 16, 2024
4c5b2e9
scalafix
outductor Feb 17, 2024
da82e47
feat: プレイヤーの頭のリンクを取得してキャッシュできるsubsystemの実装
rito528 Feb 17, 2024
6c6b8c8
feat: playerHeadSkinAPIをつかう
rito528 Feb 18, 2024
6aadfc3
docs: 不要になったドキュメントを消す
rito528 Feb 18, 2024
374344c
fix: スキンのURLのキャッシュをすべてのプレイヤーで共有できるように
rito528 Feb 19, 2024
6c3f2ac
fix: PlayerHeadSkinAPIをプレイヤーのUUIDから呼び出せるように
rito528 Feb 19, 2024
9c59bbf
chore: itemmigrationが走るようにし、不明なコードをコメントアウト
rito528 Feb 20, 2024
1394adc
chore: migrateChunkを実行する前にチャンクをロードさせる
rito528 Feb 20, 2024
3fec94d
chore: チャンクをアンロードする前にForceLoadedをfalseにする
rito528 Feb 20, 2024
1ea5e53
chore: chunkのunloadを強制せず、Spigotに任せる
rito528 Feb 20, 2024
1adfa1b
chore: loadbeforeにMultiverse-PortalsとCustomEnchantmentsを追加する
rito528 Feb 21, 2024
4643448
chore: reloadWorldをMultiverse経由で行う
rito528 Feb 27, 2024
0a81ecb
Revert "chore: reloadWorldをMultiverse経由で行う"
rito528 Feb 27, 2024
e12103f
docs: ワールドのアンロードに関するドキュメントを書く
rito528 Feb 27, 2024
9af8cbf
Revert "chore: loadbeforeにMultiverse-PortalsとCustomEnchantmentsを追加する"
rito528 Feb 27, 2024
16fb1c4
chore: serverIdを出力するログの追加
rito528 Feb 28, 2024
212a08d
Revert "chore: serverIdを出力するログの追加"
rito528 Feb 28, 2024
e0243fd
fix: canBreak関数で、BUILDフラグが許可されているときのみじゃなく保護のメンバーかオーナーかを確認するように
rito528 Feb 29, 2024
7d9a660
fix: canBreak関数でWorldGuardのチェックを行うところで関係ない条件が紛れていたので削除
rito528 Feb 29, 2024
5cb66db
chore: anniversaryShovel判定のログを入れる
rito528 Mar 1, 2024
384f5e4
fix: HalloweenHoeの耕地にできるブロックの判定を修正
rito528 Mar 1, 2024
1ba41d2
refactor: 保護のメンバーであることをisMemberだけで判定する
rito528 Mar 2, 2024
ddbfb9a
mariadb
outductor Mar 4, 2024
96fd691
sbt
outductor Mar 4, 2024
1838f81
2.13.12
outductor Mar 4, 2024
5823f4d
ci: リリース作成用CIのjava-versionを17にする
rito528 Mar 16, 2024
ccfbf02
ci: ブランチの更新をseichiassist-downloaderに通知するCIを追加
rito528 Mar 28, 2024
7f017b1
update sentry dsn
outductor Jun 25, 2024
754390a
update deps
outductor Jun 27, 2024
910fd9a
update scalafmt
outductor Jun 27, 2024
2cd616f
update deps
outductor Jun 27, 2024
9825df1
update deps
outductor Jun 28, 2024
1f3d3f0
update deps
outductor Jun 28, 2024
0219e69
chore(deps): update dependency com.mojang:authlib to v6.0.54
renovate[bot] Jul 27, 2024
2629cf8
chore(deps): update dependency io.circe:circe-parser to v0.14.9
renovate[bot] Jul 27, 2024
4ce41b1
chore(deps): update dependency scalafmt to v3.8.3
renovate[bot] Jul 27, 2024
e441bf2
chore(deps): update dependency com.eed3si9n:sbt-assembly to v2.2.0
renovate[bot] Jul 27, 2024
db25826
chore(deps): update dependency commons-codec:commons-codec to v1.17.1
renovate[bot] Jul 27, 2024
076a3de
fix: ガチャイベントを作成し、削除することによってデフォルトのガチャアイテムに削除済みのガチャイベント景品が追加されてしまう不具合を修正
rito528 Aug 2, 2024
dee5bd6
Merge pull request #2307 from GiganticMinecraft/renovate/io.circe-cir…
rito528 Aug 2, 2024
9f615fa
chore(deps): update dependency io.circe:circe-generic to v0.14.9
renovate[bot] Aug 2, 2024
a7b3afd
chore(deps): update dependency io.sentry:sentry to v7.13.0
renovate[bot] Aug 2, 2024
2c96f94
Merge pull request #2306 from GiganticMinecraft/renovate/io.circe-cir…
rito528 Aug 2, 2024
8b7cac5
chore(deps): update dependency io.circe:circe-core to v0.14.9
renovate[bot] Aug 2, 2024
3646fd3
Merge pull request #2346 from GiganticMinecraft/renovate/com.mojang-a…
outductor Aug 5, 2024
51370ee
Merge pull request #2348 from GiganticMinecraft/renovate/com.eed3si9n…
outductor Aug 5, 2024
d11d9b9
chore(deps): update dependency org.scalikejdbc:scalikejdbc to v4.3.1
renovate[bot] Aug 5, 2024
056d9d0
Merge pull request #2354 from GiganticMinecraft/renovate/io.sentry-se…
outductor Aug 5, 2024
c7fbc2f
Merge pull request #2357 from GiganticMinecraft/renovate/org.scalikej…
outductor Aug 5, 2024
416f019
chore(deps): update flyway to v10.17.0
renovate[bot] Aug 5, 2024
bd4c2c4
Merge pull request #2358 from GiganticMinecraft/renovate/flyway
outductor Aug 5, 2024
a9c81cd
scalafmt
outductor Aug 5, 2024
e9db600
Merge pull request #2359 from GiganticMinecraft/hoge
outductor Aug 5, 2024
95f3ffb
chore(deps): update mikefarah/yq docker tag to v4.44.2
renovate[bot] Aug 5, 2024
35d55c8
chore(deps): update actions/checkout action to v4
renovate[bot] Aug 5, 2024
f5fb73a
Merge pull request #2361 from GiganticMinecraft/renovate/actions-chec…
outductor Aug 5, 2024
b7f4b04
Merge pull request #2360 from GiganticMinecraft/renovate/mikefarah-yq…
outductor Aug 5, 2024
dc55ba6
chore(deps): update dependency ubuntu to v22
renovate[bot] Aug 5, 2024
4b8c74b
Merge pull request #2362 from GiganticMinecraft/renovate/ubuntu-22.x
outductor Aug 5, 2024
a1df890
chore(deps): update mikefarah/yq docker tag to v4.44.3
renovate[bot] Aug 5, 2024
4472752
Merge pull request #2363 from GiganticMinecraft/renovate/mikefarah-yq…
outductor Aug 6, 2024
a27156a
Merge pull request #2305 from GiganticMinecraft/renovate/io.circe-cir…
rito528 Aug 8, 2024
a3f0895
chore(deps): update mariadb docker tag to v10.11.9
renovate[bot] Aug 12, 2024
0f8f644
chore(deps): update flyway to v10.17.1
renovate[bot] Aug 13, 2024
104d7cc
chore(deps): update dependency io.sentry:sentry to v7.14.0
renovate[bot] Aug 13, 2024
ec3722b
Merge pull request #2366 from GiganticMinecraft/renovate/io.sentry-se…
outductor Aug 16, 2024
b5213cc
Merge pull request #2365 from GiganticMinecraft/renovate/flyway
outductor Aug 16, 2024
d895377
Merge pull request #2364 from GiganticMinecraft/renovate/mariadb-10.x
outductor Aug 16, 2024
3daf915
chore(deps): update dependency com.mojang:authlib to v6.0.55
renovate[bot] Aug 18, 2024
aee4ad2
Merge pull request #2368 from GiganticMinecraft/renovate/com.mojang-a…
outductor Aug 19, 2024
fd03f11
feat: 整地報酬ガチャ券受取について右クリック用の受取バッチ処理を追加
kuroma6666 Sep 1, 2024
73249fc
feat: 整地報酬ガチャ券受取ボタンの右クリック対応
kuroma6666 Sep 1, 2024
a2298a5
update: 整地報酬ガチャ券受取ボタンのガチャ券受取枚数について説明を追加
kuroma6666 Sep 1, 2024
6feb27c
chore: コメント微修正
kuroma6666 Sep 1, 2024
47dfbe2
fix: バッチ命名の修正 RightClick->OneStack
kuroma6666 Sep 1, 2024
33f852c
fix: 引数名省略
kuroma6666 Sep 1, 2024
7143d2f
chore: ボタンlore微修正
kuroma6666 Sep 1, 2024
d538252
fix!: エデンの鯖落ちに関するサーバー参加時の警告メッセージを削除する
Lucky3028 Sep 1, 2024
bfafc88
fix: Batchで扱うガチャポイントの数を明確にするよう修正
kuroma6666 Sep 2, 2024
ac1ba33
fix: 整地報酬ガチャ券受取変数名について省略をしないよう修正 recv->receive
kuroma6666 Sep 2, 2024
a0e2309
chore(deps): update flyway to v10.17.3
renovate[bot] Sep 2, 2024
3730318
Merge pull request #2369 from GiganticMinecraft/renovate/flyway
outductor Sep 3, 2024
5316bd6
fix: 引数名の省略
kuroma6666 Sep 3, 2024
bba87bd
docs: BatchSizeのコメントを変更
kuroma6666 Sep 3, 2024
7c3fa7b
add: ガチャ券へのポイント交換にて一度に得られるガチャ券の上限変数を追加
kuroma6666 Sep 3, 2024
4d6cb2a
docs: 使うバッチ名をコメントへ明記した
kuroma6666 Sep 3, 2024
9d22203
ci: フォークしたリポジトリからのPRのときにCIが途中で失敗するのを修正
Lucky3028 Sep 3, 2024
2b6abc6
fix: useInBatch関数を定義し、`useInLargeBatch` と `useInSmallBatch`について書き換え
kuroma6666 Sep 3, 2024
b8ff4e1
Merge pull request #2373 from GiganticMinecraft/fix/ci-forked
rito528 Sep 3, 2024
65b83ae
fix; `BatchSize`型の定義とLarge/SmallBatchSizeを`BatchSize`型とする
kuroma6666 Sep 3, 2024
2823cb8
fix: コンパイルエラー修正
kuroma6666 Sep 3, 2024
9ca46ed
fix: コンパイルエラー修正
kuroma6666 Sep 3, 2024
fe735f9
fix: effect名の修正
kuroma6666 Sep 3, 2024
e0d22dc
Merge pull request #2371 from kuroma6666/update-gacha-ticket-recv-button
rito528 Sep 3, 2024
de75865
chore(deps): update dependency io.circe:circe-core to v0.14.10
renovate[bot] Sep 6, 2024
57750e0
chore(deps): update dependency io.circe:circe-parser to v0.14.10
renovate[bot] Sep 6, 2024
d2663f3
Merge pull request #2374 from GiganticMinecraft/renovate/io.circe-cir…
rito528 Sep 8, 2024
9605d79
Merge pull request #2376 from GiganticMinecraft/renovate/io.circe-cir…
rito528 Sep 8, 2024
c735057
chore(deps): update dependency io.circe:circe-generic to v0.14.10
renovate[bot] Sep 8, 2024
072766b
style: scalafmtAll
rito528 Sep 8, 2024
8b110ab
Merge pull request #2375 from GiganticMinecraft/renovate/io.circe-cir…
rito528 Sep 8, 2024
a6adbee
Merge pull request #2349 from GiganticMinecraft/renovate/commons-code…
rito528 Sep 8, 2024
9a062cc
chore(deps): update dependency org.apache.commons:commons-lang3 to v3…
renovate[bot] Sep 8, 2024
6ced1b5
Merge pull request #2355 from GiganticMinecraft/renovate/org.apache.c…
rito528 Sep 9, 2024
acc6cfd
chore(deps): update docker/dockerfile docker tag to v1.10
renovate[bot] Sep 11, 2024
02188ef
chore(deps): update flyway to v10.18.0
renovate[bot] Sep 12, 2024
f0d472c
fix: ホームポイントの削除ボタンの羊毛の色が違うのを修正
rito528 Sep 14, 2024
99f0449
Merge pull request #2378 from GiganticMinecraft/renovate/flyway
outductor Sep 15, 2024
a6ab823
chore(deps): update dependency sbt/sbt to v1.10.2
renovate[bot] Sep 16, 2024
c719130
sbt
outductor Sep 19, 2024
71c2e20
Merge pull request #2380 from GiganticMinecraft/renovate/sbt-sbt-1.x
outductor Sep 19, 2024
d5e1fe4
Merge pull request #2377 from GiganticMinecraft/renovate/docker-docke…
outductor Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
99 changes: 99 additions & 0 deletions .github/workflows/1_18.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: 1.18 build check

on:
push:
branches:
- 1_18
paths:
- src/**
- build.sbt
- .scalafix.conf
- .scalafmt.conf
- project/*
- .github/workflows/**.yml
- .github/actions/**/**.yml

jobs:
build_check:
env:
BUILD_ENVIRONMENT_IS_CI_OR_LOCAL: "CI"
runs-on: ubuntu-22.04
container: ghcr.io/giganticminecraft/seichiassist-builder-v2:1df7cf5
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Prepare build dependencies cache
uses: actions/cache@v4
env:
cache-name: cache-build-dependencies
cache-version: v-5
with:
# sbt等は$HOMEではなくユーザーディレクトリを見ているようで、
# GH Actionsでの ~ は /github/home/ に展開されるにもかかわらず
# 実際のキャッシュは /root/ 以下に配備される。
#
# /root/.ivy/cache, /root/.sbt - sbt関連のキャッシュ
# /root/.m2 - ビルドログを観察した感じprotoc等はここを利用する
# /root/.cache - cousierがscalasbt等をキャッシュするのに使っている
path: |
/root/.ivy2/cache
/root/.sbt
/root/.m2
/root/.cache
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-${{ github.ref }}-${{ hashFiles('**/build.sbt') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-${{ github.ref }}-
${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-

- name: Prepare build cache
if: github.ref != 'refs/heads/master'
uses: actions/cache@v4
env:
cache-name: cache-build
cache-version: v-5
with:
path: |
target
project/target
project/project/target
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-${{ github.ref }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-${{ github.ref }}-
${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-

# CIでのcheckoutはファイルのタイムスタンプをチェックアウト時刻に設定するため、
# そのままビルドするとlocalDependenciesにあるjarに変更が行われたと見なされ
# 不要なインクリメンタルコンパイルが走る
# タイムスタンプをコミット時刻に設定することでこれが回避できる
- name: Restore localDependencies' timestamps
# 参考: https://qiita.com/tomlla/items/219cea9dd071c8a9e147
run: |
git config --global --add safe.directory /__w/SeichiAssist/SeichiAssist
for jar in localDependencies/*.jar; do
timestamp=`git log -1 --pretty=format:'%cd' --date=format:'%Y%m%d%H%M.%S' $jar`
touch -t "$timestamp" $jar
done

# scalapbは.protoの再コンパイルの必要性を判定する際にタイムスタンプを見ているから、コミット時刻に合わせる
- name: Restore protocol timestamps
## 参考: https://qiita.com/tomlla/items/219cea9dd071c8a9e147
run: |
for proto in protocol/*.proto; do
timestamp=`git log -1 --pretty=format:'%cd' --date=format:'%Y%m%d%H%M.%S' $proto`
touch -t "$timestamp" $proto
done

- name: Check format with Scalafmt
run: ./sbt scalafmtCheckAll

- name: Check lint with Scalafix on push
run: ./sbt "scalafix --check"

- name: Test and build artifact
run: mkdir -p target/build && ./sbt assembly

- name: Clean build artifact for caching target folder
run: rm -r target/build
15 changes: 8 additions & 7 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- develop
- master

pull_request:
branches:
- develop
Expand All @@ -15,15 +14,15 @@ jobs:
env:
BUILD_ENVIRONMENT_IS_CI_OR_LOCAL: "CI"
runs-on: ubuntu-22.04
container: ghcr.io/giganticminecraft/seichiassist-builder:1a64049
container: ghcr.io/giganticminecraft/seichiassist-builder-v2:1df7cf5
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Prepare build dependencies cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-build-dependencies
cache-version: v-5
Expand All @@ -47,7 +46,7 @@ jobs:

- name: Prepare build cache
if: github.ref != 'refs/heads/master'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-build
cache-version: v-5
Expand All @@ -68,6 +67,8 @@ jobs:
- name: Restore localDependencies' timestamps
# 参考: https://qiita.com/tomlla/items/219cea9dd071c8a9e147
run: |
git config --global --add safe.directory /__w/SeichiAssist/SeichiAssist

for jar in localDependencies/*.jar; do
timestamp=`git log -1 --pretty=format:'%cd' --date=format:'%Y%m%d%H%M.%S' $jar`
touch -t "$timestamp" $jar
Expand Down Expand Up @@ -102,7 +103,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Test and build artifact
run: sbt assembly
run: mkdir -p target/build && sbt assembly

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand All @@ -125,7 +126,7 @@ jobs:

output-sha:
name: 最終コミットのSHA値を取得する
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
sha: ${{ steps.output-sha.outputs.sha }}
steps:
Expand All @@ -140,7 +141,7 @@ jobs:

create_prerelease:
name: GitHub ReleasesにPreReleaseを作成する
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/develop'
needs:
- build_test_and_upload
Expand Down
111 changes: 111 additions & 0 deletions .github/workflows/create_1_18_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: Create 1.18 release

on:
pull_request:
paths:
- src/**
- build.sbt
- .scalafix.conf
- .scalafmt.conf
- project/*
- .github/workflows/**.yml
- .github/actions/**/**.yml

jobs:
create_release:
runs-on: ubuntu-22.04
container: ghcr.io/giganticminecraft/seichiassist-builder-v2:1df7cf5
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Prepare build dependencies cache
uses: actions/cache@v4
env:
cache-name: cache-build-dependencies
cache-version: v-5
with:
# sbt等は$HOMEではなくユーザーディレクトリを見ているようで、
# GH Actionsでの ~ は /github/home/ に展開されるにもかかわらず
# 実際のキャッシュは /root/ 以下に配備される。
#
# /root/.ivy/cache, /root/.sbt - sbt関連のキャッシュ
# /root/.m2 - ビルドログを観察した感じprotoc等はここを利用する
# /root/.cache - cousierがscalasbt等をキャッシュするのに使っている
path: |
/root/.ivy2/cache
/root/.sbt
/root/.m2
/root/.cache
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-${{ github.ref }}-${{ hashFiles('**/build.sbt') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-${{ github.ref }}-
${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-

- name: Prepare build cache
if: github.ref != 'refs/heads/master'
uses: actions/cache@v4
env:
cache-name: cache-build
cache-version: v-5
with:
path: |
target
project/target
project/project/target
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-${{ github.ref }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-${{ github.ref }}-
${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-version }}-

# CIでのcheckoutはファイルのタイムスタンプをチェックアウト時刻に設定するため、
# そのままビルドするとlocalDependenciesにあるjarに変更が行われたと見なされ
# 不要なインクリメンタルコンパイルが走る
# タイムスタンプをコミット時刻に設定することでこれが回避できる
- name: Restore localDependencies' timestamps
# 参考: https://qiita.com/tomlla/items/219cea9dd071c8a9e147
run: |
git config --global --add safe.directory /__w/SeichiAssist/SeichiAssist
for jar in localDependencies/*.jar; do
timestamp=`git log -1 --pretty=format:'%cd' --date=format:'%Y%m%d%H%M.%S' $jar`
touch -t "$timestamp" $jar
done

# scalapbは.protoの再コンパイルの必要性を判定する際にタイムスタンプを見ているから、コミット時刻に合わせる
- name: Restore protocol timestamps
## 参考: https://qiita.com/tomlla/items/219cea9dd071c8a9e147
run: |
for proto in protocol/*.proto; do
timestamp=`git log -1 --pretty=format:'%cd' --date=format:'%Y%m%d%H%M.%S' $proto`
touch -t "$timestamp" $proto
done

# sbt-assembly 2以降からディレクトリを作ってくれなくなった
- name: Build artifact
run: mkdir -p target/build && ./sbt assembly

- name: Create and push a tag
id: tag-name
# GiganticMinecraftにあるSeichiAssistリポジトリのブランチからのPRのみ実行
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
run: |
TAG_NAME=pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}
git tag $TAG_NAME
git push origin $TAG_NAME
echo "value=$TAG_NAME" >> $GITHUB_OUTPUT

- name: Create release
uses: softprops/action-gh-release@v1
# GiganticMinecraftにあるSeichiAssistリポジトリのブランチからのPRのみ実行
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: target/build/SeichiAssist.jar
tag_name: ${{ steps.tag-name.outputs.value }}
draft: false

- name: Clean build artifact for caching target folder
run: rm -r target/build
8 changes: 4 additions & 4 deletions .github/workflows/create_new_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ jobs:
- uses: actions/checkout@master
with:
# これがないとchunk_searchで引っかかってリリースのjarアップロードに失敗する
submodules: 'recursive'
submodules: "recursive"

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
distribution: "temurin"
java-version: "17"

- name: build artifacts
run: sbt assembly
run: mkdir -p target/build && sbt assembly

- name: Create release
id: create_release
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/publish_develop_builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: publish develop build

on:
push:
branches:
- develop

jobs:
publish_build:
runs-on: ubuntu-22.04
steps:
- name: Publish develop build
env:
SEICHIASSIST_DOWNLOADER_TOKEN: ${{ secrets.SEICHIASSIST_DOWNLOADER_TOKEN }}
run: |
curl -s -X 'POST' 'http://localhost/publish/develop' \
-H 'accept: */*' \
-H 'Authorization: Bearer $SEICHIASSIST_DOWNLOADER_TOKEN'
18 changes: 18 additions & 0 deletions .github/workflows/publish_stable_builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: publish stable build

on:
push:
branches:
- master

jobs:
publish_build:
runs-on: ubuntu-22.04
steps:
- name: Publish stable build
env:
SEICHIASSIST_DOWNLOADER_TOKEN: ${{ secrets.SEICHIASSIST_DOWNLOADER_TOKEN }}
run: |
curl -s -X 'POST' 'http://localhost/publish/stable' \
-H 'accept: */*' \
-H 'Authorization: Bearer $SEICHIASSIST_DOWNLOADER_TOKEN'
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@

# Local files
deployLocal.sh
localDependencies/spigot-1.12.2.jar
localDependencies/spigot-1.18.2.jar
plugins/*

# Docker
docker/spigot/serverfiles/eula.txt
Expand All @@ -25,3 +26,6 @@ docker/spigot/serverfiles/eula.txt
.metals
project/.bloop/
project/metals.sbt

# scalac に -Yprofile-trace profile.trace を渡しているので、Chrome Trace file が生成される
/profile.trace
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
17.0.10
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.4.3
version = 3.8.3
preset=IntelliJ
runner.dialect = scala213

Expand Down
2 changes: 1 addition & 1 deletion CODING_GUIDELINE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## \[Scala\] nullを使わない
Scalaのファイルにおいては、`null`を使用する代わりに`Option`を使用してください。

Java (特に、Bukkit/Spigot API) から入ってきた値が`null`になる可能性がある場合は、その呼び出しを早いうちに[`Option(...)`](https://www.scala-lang.org/api/2.13.4/scala/Option$.html#apply[A](x:A):Option[A])で囲い、`Option`にすることが推奨されます。この呼び出しで、引数が`null`だった場合は`None`に、そうでなかった場合は`Some(...)`になります。
Java (特に、Bukkit/Spigot API) から入ってきた値が`null`になる可能性がある場合は、その呼び出しを早いうちに[`Option(...)`](https://www.scala-lang.org/api/2.13.14/scala/Option$.html#apply[A](x:A):Option[A])で囲い、`Option`にすることが推奨されます。この呼び出しで、引数が`null`だった場合は`None`に、そうでなかった場合は`Some(...)`になります。

## \[Scala\] 例外を使わない
例外の代わりに`Either`を使用してください。`Either`を使用すると低コストで合成を行うことができるためです。
Expand Down
Loading
Loading