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
How to Contribute to OpenStack
Search
iGene
August 10, 2016
Technology
0
340
How to Contribute to OpenStack
Guides on how to contribute to OpenStack Projects
iGene
August 10, 2016
Tweet
Share
More Decks by iGene
See All by iGene
Deploy and Use OpenStack with Ansible
igene
1
620
OpenStack on ARMv8
igene
0
350
Other Decks in Technology
See All in Technology
エンジニア向け会社紹介資料
caddi_eng
15
250k
自社サービスのための独自リリース版Redmine「RedMica」の取り組み
vividtone
0
760
Dojo 20240830 COBOL to Java on Z
ichikawayasuhisa
0
240
Namespace, Now and Then
tagomoris
0
170
脆弱星に導かれて
nishimunea
1
1.5k
PlaywrightによるE2Eテスト入門 / Introduction to E2E Testing with Playwright
rhumie
3
990
Functional TypeScript
naoya
5
2.1k
ことばをそろえる / Bridging the Terminology Gap
amaotone
5
1k
目標設定と習慣化で今よりも一歩生産性を上げる
sansantech
PRO
7
2.3k
20240906_JAWS_Yamanashi_#1_leap_beyond_the_AWS_all_certifications
tsumita
1
190
2024年版 運用者たちのLLM
nwiizo
3
360
#Zenoh 完全に理解した 〜組込み純情篇〜
takasehideki
1
450
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
324
37k
The World Runs on Bad Software
bkeepers
PRO
64
11k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
27
1.6k
A Modern Web Designer's Workflow
chriscoyier
690
190k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Done Done
chrislema
180
16k
Build your cross-platform service in a week with App Engine
jlugia
228
18k
Large-scale JavaScript Application Architecture
addyosmani
508
110k
Become a Pro
speakerdeck
PRO
22
4.9k
Scaling GitHub
holman
458
140k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
278
13k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Transcript
How to Contribute to OpenStack Gene Kuo 1
Outline • About Me • OpenStack Gerrit • Gerrit •
Contribute • Commit Message • Code Review • OpenStack Translate • Ask OpenStack 2
About Me • Gene Kuo •
[email protected]
• Electronics Engineering,
NCTU • OpenStack Community Intern 3
OpenStack Gerrit https://review.openstack.org 4
Accounts • LaunchPad (https://launchpad.net/openstack) • OpenStack Foundation Member
(https://www.openstack.org/profile) 5
Gerrit • Username • Agreement (ICLA) • Contact Information •
SSH keys 6
Install git-review • Ubuntu • apt-get install git-review • Fedora,
RHEL(EPEL enable) • yum install git-review • openSUSE • zypper in python-git-review • Unix-like • pip install git-review 7
Gerrit Setup 8 1 git config --global gitreview.username yourgerritusername 2
git config user.name "xxxxxx" 3 git config user.email "xxxxxx" To test 1 git clone https://git.openstack.org/openstack/<projectname>.git 2 cd <projectname> 3 git review -s
Gerrit Over HTTPS • Gernerate HTTPS password in Gerrit 9
1 git remote add gerrit https://<username>@review.openstack.org/ <umbrella repository name>/<repository name>.git
Contributing • clone the project • create a branch •
start coding !!! • commit • git-review • https://review.openstack.org/XXXXXX 10
Contributing 11 1 git clone https://git.openstack.org/openstack/<projectname>.git 2 cd <projectname> 3
git checkout -b bug/123456789 4 git add "filename" 5 git commit 6 git review
12
Commit Message • First Line: Title • Third Line and
Further: commit content, purpose, or features • Second Line from bottom: newline (optional) • Last Line (optional) • Closes-Bug: #XXXXXXXX • Partial-Bug: #XXXXXXX • Related-Bug: #XXXXXXX • https://wiki.openstack.org/wiki/GitCommitMessages 13
Commit Message 14
Code Review • 2 Core reviewers giving +2 • Passed
Zuul/Jenkins CI tests • Workflow +1 15
16 http://docs.openstack.org/infra/manual/developers.html
OpenStack Translate 17
OpenStack Translate • https://translate.openstack.org • All projects are translated through
the system • Zanata based 18
Ask OpenStack 19
20
Reference • http://docs.openstack.org/infra/manual/ developers.html • https://wiki.openstack.org/wiki/GitCommitMessages 21
Demo 22
Q&A 23