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
380
Rails deprecation warning に立ち向かう技術 / v.s. rails deprecation warnings
megane42
0
860
ゆる計算理論ラジオ / 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
310
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
22k
From π to Pie charts
rasagy
1
430
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
450
Between Models and Reality
mayunak
4
550
Making Projects Easy
brettharned
120
6.8k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
500
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
470
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
330
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
Darren the Foodie - Storyboard
khoart
PRO
4
4.1k
The SEO identity crisis: Don't let AI make you average
varn
0
630
Product Roadmaps are Hard
iamctodd
55
13k
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>