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
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[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
530
Travisでrepomanチェックしょう!
aliceinwire
0
590
Gentoo勉強会平成26/7月/5日
aliceinwire
0
1.3k
Other Decks in Education
See All in Education
0513
cbtlibrary
0
210
生成AI時代のエンジニア育成について考えてみた
akasan
0
170
LinkedIn
matleenalaakso
0
4.4k
[2026前期火5] 論理学(京都大学文学部 前期 第2回)「論理的な正しさはどこにあるのか」
yatabe
0
990
[2026前期火5] 論理学(京都大学文学部 前期 第12回)「証明を走らせる:カリー・ハワード対応」
yatabe
0
150
2026年度春学期 統計学 第7回 データの関係を知る(2)ー 回帰と決定係数 (2026. 5. 21)
akiraasano
PRO
0
170
✅ レポート採点基準 / How Your Reports Are Assessed
yasslab
PRO
0
380
Where Data Meets Storytelling
georgesinnott
0
120
DECADE_ゴルフ_コースマネジメント完全ガイド.pdf
ozekinote
0
110
[2026前期火5] 論理学(京都大学文学部 前期 第9回)「正規化の停止性——ヒドラゲームによる証明」
yatabe
0
160
Case Studies - Lecture 12 - Information Visualisation (4019538FNR)
signer
PRO
0
170
自己紹介 / who-am-i
yasulab
6
7k
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
280
Docker and Python
trallard
47
3.9k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
250
Measuring & Analyzing Core Web Vitals
bluesmoon
9
880
Evolving SEO for Evolving Search Engines
ryanjones
0
230
The Curse of the Amulet
leimatthew05
2
13k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
270
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
340
Making the Leap to Tech Lead
cromwellryan
135
10k
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