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
現場最前線から教えるデータサイエンス1 -ITベンダーにおけるデータサイエンティスト-
hidetoshikawaguchi
0
110
From Participation to Outcomes
territorium
PRO
0
460
Info Session MSc Computer Science & MSc Applied Informatics
signer
PRO
0
290
0415
cbtlibrary
0
210
Laura Wilson - The Quarterly PR Pivot
laurawilsonbseo1
1
340
「機械学習と因果推論」入門 ③ 漸近効率な推定量と二重機械学習
masakat0
0
680
生成AIを授業の相棒にするデータサイエンス入門(「デジタル✕探究」イノベーターズフォーラム テクニカルセッション講演資料)
datascientistsociety
PRO
0
290
偶然のチャンスを掴みに行けるのは君だ!
kotomin_m
2
120
Tangible, Embedded and Embodied Interaction - Lecture 7 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.3k
「機械学習と因果推論」入門① 因果効果とは
masakat0
0
1.9k
[2026前期火5] 論理学(京都大学文学部 前期 第6回)「かつとまたはの規則」
yatabe
0
270
教育現場から見た Ruby on Rails
yasslab
PRO
0
170
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
360
The untapped power of vector embeddings
frankvandijk
2
1.8k
Visualization
eitanlees
152
17k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
840
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
230
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
320
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Balancing Empowerment & Direction
lara
6
1.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
What's in a price? How to price your products and services
michaelherold
247
13k
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