Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
scala-ojisan
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Toshiyuki Takahashi
March 30, 2021
Programming
0
150
scala-ojisan
scala-stewardを自前運用してみました
Toshiyuki Takahashi
March 30, 2021
Tweet
Share
More Decks by Toshiyuki Takahashi
See All by Toshiyuki Takahashi
Purely Functional Programming with Cats Effect 3 and Scala 3 [ScalaMatsuri2022]
tototoshi
0
7.3k
5年ぶりにPHPを書いた話
tototoshi
0
340
Steps to master the Play source code
tototoshi
1
530
flyway-play
tototoshi
2
2.2k
Template Engines in Scala
tototoshi
1
3.9k
Play と Scala のこれまでとこれから
tototoshi
1
2.1k
Other Decks in Programming
See All in Programming
Feature Toggle は捨てやすく使おう
gennei
0
200
The free-lunch guide to idea circularity
hollycummins
0
300
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.4k
ロボットのための工場に灯りは要らない
watany
11
3k
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
150
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
500
Codex の「自走力」を高める
yorifuji
0
1.3k
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
830
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
370
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
1.1k
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
210
『Kubernetes ☸️ で実践する Platform Engineering 』を最高速度で読み抜いたる!!👊🏻
hiroki_hasegawa
0
100
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
320
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
110
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Spectacular Lies of Maps
axbom
PRO
1
630
The World Runs on Bad Software
bkeepers
PRO
72
12k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
200
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
790
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
What's in a price? How to price your products and services
michaelherold
247
13k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.5k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
650
Transcript
scala-ojisan @tototoshi / rpscala #264
scala-steward-org/scala-steward ⾃動で Scala 関係のバージョンをあげてくれる bot renovatebot / dependabot / @xuwei-k
的なやつ
便利 でも設定めんどくさいんでしょう? 簡単です!!
使い⽅ repos-github.md に Pull Request するだけ
でも... すごく個⼈的なしょぼいやつを公式のリストに載せるのが気が引ける ⾃分で運⽤したい
⾃前運⽤ scala-steward は単体で動かせるのでどこかで稼働させる GitHub Actions を使う GitHub 使ってるなら多分これが⼀番楽 リポジトリごとに設定してもよし 1
つのリポジトリで全部管理してもよし
採⽤した⽅法 1 つのリポジトリで管理する tototoshi/scala-ojisan というリポジトリを作って repos.md を置く scala-steward-action を設定する tototoshi/scala-ojisan
の GitHub Actions で各リポジトリにプルリクを 送る scala-ojisan という個⼈⽤の GitHub App を作ってそのトークンを使う 権限は⾃分のリポジトリに対して content と pull-request の read/write
tototoshi/scala-ojisan
ディレクトリ構成 ├── │ └── │ └── └── これだけ でも困りポイントがいくつか
困りポイント GitHub のどのトークン使えば良いかわからん p - デフォルトのやつだと CI がキックされない 個⼈のトークン使うと bot
ではなく⾃分のコミットになってしまう
詳しくはこちら GitHub Actions と scala-steward を組み合わせて token や bot account
の ⽤意すらせずに pull req を送ってもらう⽅法 - xuwei-k's blog scala-steward を独⾃に作った GitHub App(bot)で動かす⽅法 - xuwei-k's blog
感想など 最新バージョンを追えるので便利 ちょっと放置してしまってたリポジトリの作業を再開するのに便利 常に新鮮なプロジェクトテンプレートが⼿に⼊る 細かいアップデートのコミットが増えるので merge コミットがうざくな ってくる vs vs
戦争が勃発しそう 以上です
Q & A Pull Requestが増えて⼤変そう 設定でPull Requestの頻度(daily/weekly/monthly)を変えると良さそう ⾃動マージなどを活⽤すると良さそう