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
160
小さな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
200
パイプの話 / on pipe
yoichi
0
550
バイナリリーディング / Binary Reading
yoichi
0
420
OSS開発を楽しく続けてきた話
yoichi
0
890
Other Decks in Technology
See All in Technology
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
140
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
150
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
450
配列に見る bash と zsh の違い
kazzpapa3
1
140
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.5k
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.4k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
230
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
230
Greatest Disaster Hits in Web Performance
guaca
0
230
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
120
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
320
Rails Girls Zürich Keynote
gr2m
96
14k
The Limits of Empathy - UXLibs8
cassininazir
1
210
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
WCS-LA-2024
lcolladotor
0
450
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Building the Perfect Custom Keyboard
takai
2
680
Bash Introduction
62gerente
615
210k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
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/ • 興味あればどうぞ