Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
[20161001] GentooのGitでebuild コントリビューション方法
Search
Alice Ferrazzi
October 01, 2016
Education
780
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
Transcript
21 slides
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
More Decks by Alice Ferrazzi
See All by Alice Ferrazzi
How to became a Gentoo Developer #osc18tk
aliceinwire
1
380
[20161023] GentooとPython
aliceinwire
1
680
Gentoo勉強会 20161001
aliceinwire
0
530
Travisでrepomanチェックしょう!
aliceinwire
0
620
Gentoo勉強会平成26/7月/5日
aliceinwire
0
1.4k
Other Decks in Education
See All in Education
Unit 5: Valuation of Securities
bvr7352
0
400
Session 8 - Teknik Lobby dan Negosiasi
adeputra13
0
310
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 5
hiola
0
12k
Session 6 - Teknik Lobby dan Negosiasi
adeputra13
0
740
AIができることを人はなぜ学ぶのか ― 専門性を育て、AIと学び続ける大学へ
gmoriki
0
200
人工知能とは/IntroAI02
kfujita
0
130
Concours Photo - UGE - 2026
echaille
0
200
1014
cbtlibrary
0
270
2026年度秋学期 統計学 第3回 クロス集計と感度・特異度,データの可視化 (2026. 10. 13)
akiraasano
PRO
0
300
North Carolina Task Force on Child Care and Early Education
rashwhitman
0
1.6k
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 4
hiola
0
7.4k
Before You Scale: Understand the Theory Behind the Simulation
pfn
PRO
1
220
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.3k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
320
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
440
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
Design in an AI World
tapps
1
400
Well, that’s weird…
csswizardry
3
260
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
630
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
540
Large-scale JavaScript Application Architecture
addyosmani
516
110k