Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
760
[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
340
[20161023] GentooとPython
aliceinwire
1
630
Gentoo勉強会 20161001
aliceinwire
0
510
Travisでrepomanチェックしょう!
aliceinwire
0
550
Gentoo勉強会平成26/7月/5日
aliceinwire
0
1.3k
Other Decks in Education
See All in Education
ThingLink
matleenalaakso
28
4.2k
くまのココロンともぐらのロジ
frievea
0
130
【dip】「なりたい自分」に近づくための、「自分と向き合う」小さな振り返り
dip_tech
PRO
0
200
20251119 如果是勇者欣美爾的話, 他會怎麼做? 東海資工
pichuang
0
140
JavaScript - Lecture 6 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
あなたの言葉に力を与える、演繹的なアプローチ
logica0419
1
250
アジャイルの知見から新卒研修作り、そして組織作り
pokotyamu
0
130
HyRead2526
cbtlibrary
0
170
Going over the Edge
jonoalderson
0
110
HCI and Interaction Design - Lecture 2 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.4k
Introdución ás redes
irocho
0
510
2025年の本当に大事なAI動向まとめ
frievea
0
120
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
710
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
210
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
88
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
190
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
For a Future-Friendly Web
brad_frost
180
10k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
0
100
Getting science done with accelerated Python computing platforms
jacobtomlinson
0
76
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