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
590
[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
190
[20161023] GentooとPython
aliceinwire
1
520
Gentoo勉強会 20161001
aliceinwire
0
450
Travisでrepomanチェックしょう!
aliceinwire
0
400
Gentoo勉強会平成26/7月/5日
aliceinwire
0
1.2k
Other Decks in Education
See All in Education
はじめに。『Synchronic』を作った本当の理由
akane69
PRO
1
100
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)
signer
PRO
1
1.7k
執筆テーマの決め方
sapi_kawahara
1
140
D&I推進レポート〜テクノロジー分野のジェンダーギャップとその取り組みについて〜
codeforeveryone
1
290
【Oracle Cloud】対話型AIソリューション - Digital Assistant
oracle4engineer
PRO
1
220
Projeto Ponte for Mentor
immi_lab
0
330
心房細動週間ポスター(2024年3月6日)
japanstrokeassociation
0
210
MySmartSTEAM2324
cbtlibrary
0
100
HCL Notes 14.0 「スタイルの変更」で「3 設定の確認」を深掘り
harunakano
0
990
リンゴゲームと貧富の差 / Origin of the disparity of wealth
kaityo256
PRO
12
13k
Introduction - Lecture 1 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
1
1.1k
2023年度桜井政成ゼミ資料_論文の探し方・読み方
masanari
6
2.1k
Featured
See All Featured
Embracing the Ebb and Flow
colly
78
4.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
153
14k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
28
5.9k
The Cost Of JavaScript in 2023
addyosmani
13
3.7k
How to train your dragon (web standard)
notwaldorf
71
5k
Writing Fast Ruby
sferik
619
59k
What's in a price? How to price your products and services
michaelherold
236
11k
The Art of Programming - Codeland 2020
erikaheidi
40
12k
No one is an island. Learnings from fostering a developers community.
thoeni
14
2k
GitHub's CSS Performance
jonrohan
1023
450k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
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