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
360
[20161023] GentooとPython
aliceinwire
1
640
Gentoo勉強会 20161001
aliceinwire
0
520
Travisでrepomanチェックしょう!
aliceinwire
0
570
Gentoo勉強会平成26/7月/5日
aliceinwire
0
1.3k
Other Decks in Education
See All in Education
自己紹介 / who-am-i
yasulab
6
6.5k
CoderDojoへようこそ ニンジャ&保護者向け (CoderDojo Guidance for Ninjas&Parents)
coderdojokodaira
1
130
Why the humanities may be your best career bet
figarospeech
0
120
Google Antigravity エージェント・フ ァーストな開発パラダイムへの招待
mickey_kubo
1
100
ブランチ操作 / 02-a-branch
kaityo256
PRO
0
210
栃木県警サイバーセキュリティ研修会2026
nomizone
0
360
高校数学とJulia言語
shimizudan
0
140
計算物理におけるGitの使い方 / 01-c-compphys
kaityo256
PRO
2
510
【ZEPメタバース校舎操作ガイド】
ainischool
0
140
Flinga
matleenalaakso
4
15k
Going over the Edge
jonoalderson
0
790
Multimodal Interaction - Lecture 3 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2k
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
150
30 Presentation Tips
portentint
PRO
1
260
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
330
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Writing Fast Ruby
sferik
630
63k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Crafting Experiences
bethany
1
94
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
150
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
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