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
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
350
[20161023] GentooとPython
aliceinwire
1
640
Gentoo勉強会 20161001
aliceinwire
0
510
Travisでrepomanチェックしょう!
aliceinwire
0
560
Gentoo勉強会平成26/7月/5日
aliceinwire
0
1.3k
Other Decks in Education
See All in Education
卒論の書き方 / Happy Writing
kaityo256
PRO
54
28k
コマンドラインを見直そう(1995年からタイムリープ)
sapi_kawahara
0
660
KBS新事業創造体験2025_科目説明会
yasuchikawakayama
0
160
Chapitre_2_-_Partie_2.pdf
bernhardsvt
0
170
外国籍エンジニアの挑戦・新卒半年後、気づきと成長の物語
hypebeans
0
740
TeXで変える教育現場
doratex
1
13k
東大1年生にJulia教えてみた
matsui_528
7
12k
Microsoft Office 365
matleenalaakso
0
2.1k
1125
cbtlibrary
0
170
Measuring your measuring
jonoalderson
1
370
NUTMEG紹介スライド
mugiiicha
0
920
Surviving the surfaceless web
jonoalderson
0
380
Featured
See All Featured
Fireside Chat
paigeccino
41
3.8k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
Evolving SEO for Evolving Search Engines
ryanjones
0
130
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
57
The Spectacular Lies of Maps
axbom
PRO
1
530
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Building Adaptive Systems
keathley
44
2.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
170
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
37k
Navigating Team Friction
lara
192
16k
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