Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
OSS コミットゴルフのすすめ / Let's play OSS-contribute-golf
Search
megane42
October 06, 2023
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
OSS コミットゴルフのすすめ / Let's play OSS-contribute-golf
megane42
October 06, 2023
More Decks by megane42
See All by megane42
Immutable ActiveRecord
megane42
0
370
Rails deprecation warning に立ち向かう技術 / v.s. rails deprecation warnings
megane42
0
850
ゆる計算理論ラジオ / P vs NP for beginner
megane42
1
300
How to Make "DJ giftee"
megane42
1
1k
Rails 6 Upgrade "Practical" Guide
megane42
6
1.4k
updated_at に依存したら大変なことになった / Don't depend on updated_at
megane42
0
650
本当は怖い Rails の `build_xxx` / The Hard Facts of `build_xxx` of Rails
megane42
0
300
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.3k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Rails Girls Zürich Keynote
gr2m
96
14k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Amusing Abliteration
ianozsvald
1
340
HDC tutorial
michielstock
2
950
Navigating Team Friction
lara
192
16k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
800
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Transcript
OSS コミットゴルフのすすめ 2023/10/06 giftee TechBash @megane42
自己紹介 @megane42 趣味: かっこいいワンタイムパスワード集め
今日の LT のねらい before OSS への貢献ってなんかハードル高そう やってみたい気持ちはあるけど、とっかかりがない after こんなしょぼい貢献もありえるのか 日々の業務の中でコントリビュートチャンスを探そう
概要 私の編み出した競技「OSS コミットゴルフ」をみんなでやりましょう(提案)
ルール 下記のスコア計算式が最も高かった人の優勝 ただし コントリビュート行数 は「実際にマージされた行数」とする ( コントリビュート対象の Github Star 数の総和)
/ ( コントリビュート行数の総和)
攻略法 より著名な OSS に、より少ない行数でコミットすると高得点! ( コントリビュート対象の Github Star 数の総和) /
( コントリビュート行数の総和)
私のスコア
Shot 1: bullet https://github.com/flyerhzm/bullet/pull/425 Star: 6881 Line: 2 Total: 6881
/ 2 = 3440
Shot 2: poke-api https://github.com/PokeAPI/pokeapi/pull/851 Star: 3700 Line: 4 Total: 10581
/ 6 = 1763 (前打比: -1677)
Shot 3: carrierwave https://github.com/carrierwaveuploader/carrierwave/pull/2642/ Star: 8776 Line: 6 Total: 19357
/ 12 = 1613 (前打比: -150)
Shot 4: nestjs-prisma https://github.com/notiz-dev/nestjs-prisma/pull/73 Star: 452 Line: 83 Total: 19898
/ 95 = 208 (前打比: -1405) 未マージなのでセーフ
結論 クソゲーだった 1 度でも大きめのコミットをしてしまうとスコアが悪化 ( コントリビュート対象の Github Star 数の総和) /
( コントリビュート行数の総和)
効能 俺は著名な OSS のコミッターなんだという自己肯定感が得られる 自分の修正によって、自分の担当プロダクトが理想的な状態になる
コツ ドキュメントの修正というコミット方法があることを知っておく OSS へのコミットというプロダクトの改修方法があることを知っておく コントリビュートチャンスへのアンテナを張っておく とりあえず git grep する とりあえず
printf debug する テストコードを読む
余談: 前職時代、とある先輩との会話 (超意訳) 自分: いつか OSS コミットとかやってみたいんスよね〜 先輩: なんか正直、やりたいって言う人って結局あんまやらないイメージあるんだよね、 本当にやる人は今日からもうやってるというか
自分: は?おもしれえ この日、私は github のアカウントを取りました <div style="text-align:center"> <a href="https://github.com/muddydixon"> https://github.com/muddydixon </a> </div>