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
Toshiyuki Takahashi
March 30, 2021
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
scala-ojisan
scala-stewardを自前運用してみました
Toshiyuki Takahashi
March 30, 2021
More Decks by Toshiyuki Takahashi
See All by Toshiyuki Takahashi
Purely Functional Programming with Cats Effect 3 and Scala 3 [ScalaMatsuri2022]
tototoshi
0
7.6k
5年ぶりにPHPを書いた話
tototoshi
0
350
Steps to master the Play source code
tototoshi
1
550
flyway-play
tototoshi
2
2.2k
Template Engines in Scala
tototoshi
1
4k
Play と Scala のこれまでとこれから
tototoshi
1
2.1k
Other Decks in Programming
See All in Programming
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
5
1.8k
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
680
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
520
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
3.9k
How I Won Prize Money at a Hackathon Using Codex and Symphony Alpha
yasei_no_otoko
0
130
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
130
業務時間外もAIに働いてもらう話
colorful12
2
8.9k
freeeにおけるEvalsの実践例の紹介
freee
PRO
0
160
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
460
Loosening the Reins: Go Generics Get More Flexible
kuro_kurorrr
0
350
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
170
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
160
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
410
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
640
Faster Mobile Websites
deanohume
310
32k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
590
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Exploring anti-patterns in Rails
aemeredith
3
480
30 Presentation Tips
portentint
PRO
1
380
How STYLIGHT went responsive
nonsquared
100
6.3k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Music & Morning Musume
bryan
47
7.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
490
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
820
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)を変えると良さそう ⾃動マージなどを活⽤すると良さそう