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
小さなOSS貢献の実践例 / A practical example of a small c...
Search
Yoichi NAKAYAMA
April 21, 2022
Technology
0
140
小さなOSS貢献の実践例 / A practical example of a small contribution to OSS
Yoichi NAKAYAMA
April 21, 2022
Tweet
Share
More Decks by Yoichi NAKAYAMA
See All by Yoichi NAKAYAMA
git-jumpを解放する / loosen editor dependency of git-jump
yoichi
0
1.4k
ターミナル出力の色付け / Terminal output coloring
yoichi
0
170
パイプの話 / on pipe
yoichi
0
510
バイナリリーディング / Binary Reading
yoichi
0
380
OSS開発を楽しく続けてきた話
yoichi
0
840
Other Decks in Technology
See All in Technology
AI工学特論: MLOps・継続的評価
asei
10
1.5k
株式会社島津製作所_研究開発(集団協業と知的生産)の現場を支える、OSS知識基盤システムの導入
akahane92
1
1.1k
怖くない!GritQLでBiomeプラグインを作ろうよ
pal4de
1
120
Webの技術とガジェットで那須の子ども達にワクワクを! / IoTLT_20250720
you
PRO
0
120
AI時代にも変わらぬ価値を発揮したい: インフラ・クラウドを切り口にユーザー価値と非機能要件に向き合ってエンジニアとしての地力を培う
netmarkjp
0
220
MCP とマネージド PaaS で実現する大規模 AI アプリケーションの高速開発
nahokoxxx
1
1.4k
Amazon CloudWatchのメトリクスインターバルについて / Metrics interval matters
ymotongpoo
3
210
Jitera Company Deck / JP
jitera
0
140
Shadow DOMとセキュリティ - 光と影の境界を探る / Shibuya.XSS techtalk #13
masatokinugawa
0
270
Expertise as a Service via MCP
yodakeisuke
1
140
Building GoReleaser - from shell script to paid product
caarlos0
0
270
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing
tomzoh
2
380
Featured
See All Featured
Scaling GitHub
holman
461
140k
Side Projects
sachag
455
43k
Six Lessons from altMBA
skipperchong
28
3.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
The Pragmatic Product Professional
lauravandoore
35
6.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
760
A Modern Web Designer's Workflow
chriscoyier
695
190k
Producing Creativity
orderedlist
PRO
346
40k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
How to train your dragon (web standard)
notwaldorf
96
6.1k
Transcript
小さなOSS貢献の実践例 Yoichi Nakayama
概要 • ある日の小さなOSS貢献の事例を 紹介 • やれるかも、やってみようと思っても らえたらうれしい
Kata http://codekata.com/
おすすめのやり方(in OSS Gate Workshop) • ユーザーとしてOSSを動かす • ↑で気づいた事を開発元にフィード バックする https://oss-gate.github.io/
実践
対象OSSを決める • ファイルのタイムスタンプをコミット日時に 合わせる - Qiita より • rsync に付属の
git-set-file-times
ユーザーとしてOSSを動かす
ユーザーとしてOSSを動かす • インストールする • git clone https://github.com/WayneD/rsync.git • cd rsync
• cp ./support/git-set-file-times ~/bin/
ユーザーとしてOSSを動かす • 実行してみる
ユーザーとしてOSSを動かす • 期待した通り動いた🤔
ユーザーとしてOSSを動かす • 他のリポジトリでも実行してみる • git clone https://github.com/git/git.git • cd git
• git set-file-times
ユーザーとしてOSSを動かす • クラッシュした:ユーザーとしては困る😭 • →フィードバックのチャンス!😎
調査・修正 • ソースを読む🤓 • git log -r --name-only --no-color --pretty=raw
--no-renames -z が原因 • → git log -r --name-only --format=%x00commit%x20%H%n%x00co mmit_time%x20%ct%n --no-renames -z
フィードバック先を見つける • README.md を読む • https://rsync.samba.org/bug-tracki ng.html • GitHubでプルリクエストすれば良さ そう🙂
フィードバックする • 問題の内容と再現手順を具体的に 書く📝 • https://github.com/WayneD/rsync/ pull/305 • 4/3に作成、4/12にマージされた
できた
まとめ • ユーザーとしてOSSを使う • 何か問題が出たらチャンス! • 貢献するのはそんなに難しくない
OSS Gate • オンラインワークショップ • https://oss-gate.doorkeeper.jp/ • 興味あればどうぞ