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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
megane42
October 06, 2023
140
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
840
ゆる計算理論ラジオ / P vs NP for beginner
megane42
1
290
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
290
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
280
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Making Projects Easy
brettharned
120
6.8k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How to make the Groovebox
asonas
2
2.4k
How to train your dragon (web standard)
notwaldorf
97
6.8k
The Spectacular Lies of Maps
axbom
PRO
1
1k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
460
Amusing Abliteration
ianozsvald
1
310
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>