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
770
2
Share
[20161001] GentooのGitでebuild コントリビューション方法
Gentoo勉強会のプレゼンです.
http://gentoo.connpass.com/event/40906/
Alice Ferrazzi
October 01, 2016
More Decks by Alice Ferrazzi
See All by Alice Ferrazzi
How to became a Gentoo Developer #osc18tk
aliceinwire
1
370
[20161023] GentooとPython
aliceinwire
1
650
Gentoo勉強会 20161001
aliceinwire
0
520
Travisでrepomanチェックしょう!
aliceinwire
0
580
Gentoo勉強会平成26/7月/5日
aliceinwire
0
1.3k
Other Decks in Education
See All in Education
2026年度春学期 統計学 第1回 イントロダクション ー 統計的なものの見方・考え方について (2026. 4. 9)
akiraasano
PRO
0
110
[2026前期火5] 論理学(京都大学文学部 前期 第3回)「形式言語と四つのキーワード:メタ・構成・意味論・ハーモニー」
yatabe
0
340
From Participation to Outcomes
territorium
PRO
0
440
コマンドラインの使い方 / 01-d-cli
kaityo256
PRO
1
150
BITCOIN : Les fondamentaux !
rlifchitz
0
120
Gitの中身 / 03-a-git-internals
kaityo256
PRO
0
190
コミュニティを通じた_キャリア設計のススメ_20260424.pdf
masakiokuda
0
240
モブ社員がモブエンジニアを名乗って得られたこと_20260413
masakiokuda
4
460
事業紹介資料(トレーナー養成講座)
kentaro1981
0
230
アントレプレナーシップ教育機構 概要
sciencetokyo
PRO
0
2.5k
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)
signer
PRO
1
3.1k
SL AMIGOS 教育格差と私たちの取り組み - スリランカの支援学校への支援プロジェクト:リシンドゥ リオ 氏 (別府溝部学園短期大学 ビジネス観光コース 留学生):2720 Japan O.K. ロータリーEクラブ2026年4月6日卓話
2720japanoke
0
550
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
140
Google's AI Overviews - The New Search
badams
0
990
Navigating Weather and Climate Data
rabernat
0
180
30 Presentation Tips
portentint
PRO
1
280
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
160
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
330
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
250
From π to Pie charts
rasagy
0
180
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