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
[20161001] GentooのGitでebuild コントリビューション方法
Search
Alice Ferrazzi
October 01, 2016
Education
2
750
[20161001] GentooのGitでebuild コントリビューション方法
Gentoo勉強会のプレゼンです.
http://gentoo.connpass.com/event/40906/
Alice Ferrazzi
October 01, 2016
Tweet
Share
More Decks by Alice Ferrazzi
See All by Alice Ferrazzi
How to became a Gentoo Developer #osc18tk
aliceinwire
1
330
[20161023] GentooとPython
aliceinwire
1
620
Gentoo勉強会 20161001
aliceinwire
0
510
Travisでrepomanチェックしょう!
aliceinwire
0
520
Gentoo勉強会平成26/7月/5日
aliceinwire
0
1.2k
Other Decks in Education
See All in Education
Sponsor the Conference | VizChitra 2025
vizchitra
0
620
AIの時代こそ、考える知的学習術
yum3
2
200
Test-NUTMEG紹介スライド
mugiiicha
0
160
Open Source Summit Japan 2025のボランティアをしませんか
kujiraitakahiro
0
850
Master of Applied Science & Engineering: Computer Science & Master of Science in Applied Informatics: Artificial Intelligence and Data Science
signer
PRO
0
740
Linuxのよく使うコマンドを解説
mickey_kubo
1
270
自分だけの、誰も想像できないキャリアの育て方 〜偶然から始めるキャリアプラン〜 / Career planning starting by luckly v2
vtryo
1
130
(キラキラ)人事教育担当のつらみ~教育担当として知っておくポイント~
masakiokuda
0
140
20250830_MIEE祭_会社員視点での学びのヒント
ponponmikankan
1
160
2024-2025 CBT top items
cbtlibrary
0
100
附属科学技術高等学校の概要|Science Tokyo(東京科学大学)
sciencetokyo
PRO
0
290
教える側は、初学者に谷越えまで伴走すべき(ダニング・クルーガー効果からの考察)
hysmrk
3
140
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Large-scale JavaScript Application Architecture
addyosmani
513
110k
Building Applications with DynamoDB
mza
96
6.6k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Typedesign – Prime Four
hannesfritz
42
2.8k
Optimizing for Happiness
mojombo
379
70k
The Invisible Side of Design
smashingmag
301
51k
Visualization
eitanlees
148
16k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Gamification - CAS2011
davidbonilla
81
5.4k
Transcript
GentooのGitでebuild コントリビューション方法 Alice Ferrazzi
Ebuildのコントリビューション方法: 1) mentorに送ってコミットしてもらう 2) proxy mantainer 3) Send a pull
request
プルリクエストの良い点: • レビューの歴史がのこる • パッチが早くupstream mergeができます. • 複数のDeveloperがレビューしてくれる. • QAの自動チェック
プルーリクエストの悪い点: • レビューも公開になります. • Gitの知識必要です.
Gentoo repository fork https://github.com/gentoo/gentoo
Gentoo githubをforkして forkをCloneの時 --depth=50 をつかえましょう 履歴情報は50しかないです. 最新版から50コミット情報だけ取得する.
Upsteamリモートリポジトリを追加する. git remote add upstream
[email protected]
:gentoo/gentoo.git localのGentooリポジトリを更新する. git pull --depth=50
upstream master git push
ebuild を確認する ebuild foo.ebuild fetch prepare install test
Commit repoman -dx commit
None
Commit messageは レポジトリ歴史を参考として使う Gentoo_git_workflow
Git push
GithubからPull requestする.
こんな感じになります https://github.com/gentoo/gentoo/pull/2439
全部のgithub gentooプルリクエストが pkgcheckから確認する. https://qa-reports.gentoo.org
重要なポイント 1. Repomanを使えましょう ◦ Repoman -dx full ◦ Repoman -dx
commit 2. “Atomic” commit 異なる変更の集合が一つのコミット ◦ Ebuild bump ◦ 古いバージョンを削除
Squash commit in one git rebase -i HEAD~3
もしプルーリクエストがバッグを直したら Gentoo-Bug: https://bugs.gentoo.org/12345.
プルーリクエストのコメントに bug log入れて良いです. https://bpaste.net/
Manteinerに報告する @foo @gentoo/bar
Fast-forward and push
More information https://wiki.gentoo.org/wiki/Gentoo_Github