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
RhodeCode(-Enterprise)の紹介
Search
Takumi IINO
March 30, 2014
Programming
0
3.1k
RhodeCode(-Enterprise)の紹介
バージョン管理システム運用&Tips勉強会 #real_dvcs での発表内容です。
Takumi IINO
March 30, 2014
Tweet
Share
More Decks by Takumi IINO
See All by Takumi IINO
RhodeCode(-Enterprise) Intro
troter
1
200
Other Decks in Programming
See All in Programming
Better Code Design in PHP
afilina
PRO
0
130
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
Amazon Qを使ってIaCを触ろう!
maruto
0
420
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.2k
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
210
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
みんなでプロポーザルを書いてみた
yuriko1211
0
280
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
310
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
140
色々なIaCツールを実際に触って比較してみる
iriikeita
0
340
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Ruby is Unlike a Banana
tanoku
97
11k
Building an army of robots
kneath
302
43k
Done Done
chrislema
181
16k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Happy Clients
brianwarren
98
6.7k
Building Your Own Lightsaber
phodgson
103
6.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
430
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Typedesign – Prime Four
hannesfritz
40
2.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Transcript
όʔδϣϯཧγεςϜ ӡ༻&TIPSษڧձ RHODECODE(-ENTERPRISE)ͷհ 2014/03/30 #real_dvcs @troter
ࣗݾհ • id:troter • SIer → ࣗࣾαʔϏε • ruby/python/php/java •
mercurial/git/(subversion) • ձࣾͰͪΐͬͱͬͯΔRhodeCodeͷ͓
RHODECODE(-ENTERPRISE)
RHODECODE(-ENTERPRISE) • GitHub/Bitbucket Ϋϩʔϯ • ϥΠόϧGitLabʁ • https://rhodecode.com/ • https://code.rhodecode.com/rhodecode-
enterprise
None
ϦϙδτϦͷϗεςΟϯάʹ ಛԽ
༗Δͷ • ϦϙδτϦϗεςΟϯάʢGit/Mercurialʣ • ιʔείʔυϒϥβ • ίϛοτϩάɺάϥϑɺSide-by-Side Diff • Pull-RequestɺΠϯϥΠϯίϝϯτ
• ΦϯϥΠϯΤσΟλ • gistʢεχϖοτʣ • શจݕࡧ
༗Δͷ • Ϣʔβʔཧ • ϦϙδτϦ/ϢʔβʔάϧʔϓʹΑΔݖݶཧ • ೝূ(DBɺLDAPɺPAMɺCROWD) • ˏΛͬͨϝϯγϣϯ •
δϟʔφϧʢΞΫςΟϏςΟʣ • Web APIʢJSON-RPCʣ
ແ͍ͷ • Pull-RequestͷϚʔδϘλϯ • ։ൃதɻ࣍ͷϦϦʔε(2.3.0ʁ)Ͱ͘Δʁ • Wiki • Issues •
CIΠϯςάϨʔγϣϯ
ར • Πϯετʔϧ͕؆୯ • CUI/GUI Πϯετʔϥʔ༗Γ • ҆ఆՔಇʢGitLabʹർΕͨํʣ • ϓϩηεRhodeCodeͷΈ
• GitαʔόdulwichͰରԠ • ։ൃ݁ߏ׆ൃ
ܽ • ϥΠηϯε͕ͪΐͬͱΘ͔Γʹ͍͘ • ։ൃ׆ൃ͕ͩෆಁ໌ײ͕͋Δ • ެ։͞ΕͨϩʔυϚοϓ͕ແ͍ • IRCͰ࣭͠Α͏ʂ •
https://botbot.me/freenode/rhodecode/msg/ 10435654/
ϥΠηϯε • ʙ1.7.x GPLv3 • 2.0.0ʙ GPLv3 & Business Source
License • 20ਓ·Ͱແྉɻڭҭػؔ/NGOແྉɻ • 21ਓʙɺ$199/monthʙ • 2018/5/1͔ΒGPLv3ʹͳΔ • 2013/10/14࣌Ͱ2017/09/01͕ͩͬͨɺɺ
DEMO
Α͋͘Δ͍ํ
έʔεʢ̍ʣ ຊޠʹ͍ͨ͠ • Web UIͰͳ͘production.iniϑΝΠϧΛฤू • /home/{install-user}/rhodecode/data/production.ini ! ! •
transifexͰ༁ͯ͠·͢ • https://www.transifex.com/projects/p/RhodeCode/ language/ja/ lang = ja
None
None
έʔεʢ̎ʣ LDAPͷϢʔβʔͷΈͰར༻͍ͨ͠ • admin > permissionͰsign upΛ੍ݶ • Registration: Disabled
• External auth account activation: Automatic activation of external account • admin > authentication ͰLDAPΛ༗ޮʹ
None
None
None
έʔεʢ̏ʣ ϝʔϧૹ৴ʹGMAILΛ͍͍ͨ • Web UIͰͳ͘production.iniϑΝΠϧΛฤू ! ! ! smtp_server =
smtp.gmail.com smtp_username =
[email protected]
smtp_password = xxxxxxxxxxxx smtp_port = 587 smtp_use_tls = true
None
None
έʔεʢ̐ʣ ֎෦ͷ(WIKI/ISSUE)ϦϯΫ͍ͨ͠ • Web UIͰͳ͘production.iniϑΝΠϧΛฤू ! ! ! •छྨΛ૿ͤෳઃఆՄೳ issue_pat_{छྨ}
= issue_server_link_{छྨ} = issue_prefix_{छྨ} =
ίϛοτϩάͷwiki-FrontPage ͕࣍ͷλάʹม ͞ΕΔɻ ! <a href=“https://mywiki.com/FrontPage”> WIKI-FrontPage </a>
έʔεʢ̑ʣ ϦϙδτϦΛ·ͱΊ͍ͨ • ϦϙδτϦάϧʔϓͷ࡞͕Մೳ • ϓϩδΣΫτຖʹάϧʔϓԽ • ϢʔβʔຖʹάϧʔϓԽ • ωετͨ͠άϧʔϓOK
None
έʔεʢ̒ʣ ։ൃதͷRHODECODEΛࢼ͍ͨ͠ • ࣍ͷϦϙδτϦ͔Βऔಘʂ • https://code.rhodecode.com/marcink/rhodecode ! ! ! python
setup.py cp development.ini dev.ini vi dev.ini # sqliteΛར༻͢Δ paster setup-rhodecode dev.ini paster serve dev.ini
RHODECODE-2.2.5ͷ੍ݶ
੍ݶ PRΛߋ৽Ͱ͖ͳ͍ • ߋ৽Ͱ͖ͳ͍ɺͱ 1. આ໌จΛߋ৽Ͱ͖ͳ͍ 2. ίϝϯτΛߋ৽Ͱ͖ͳ͍ 3. ϨϏϡʔΛөͤͨ͞ίϛοτΛpushͯ͠PRʹ
ՃͰ͖ͳ͍ • ࣍ͷόʔδϣϯͰߋ৽Ͱ͖ΔΑ͏ʹͳΔΒ͍͠ɻ • PRΛग़͢͠ࣄͰରԠ
RHODECODE-2.2.5ͷόά
όά ಉ͡ϦϙδτϦͷPRͷDIFF • GitϦϙδτϦݶఆ • ಉ͡ϦϙδτϦؒͷPRͷdiff͕͏·͘දࣔ͞ Εͳ͍ • ྫ •
ಉ͡ϦϙδτϦͷdevelop͔ΒmasterͷPR • forkͨ͠ϦϙδτϦ͔ΒPR͢ΔࣄͰճආ
όά GIT PUSH —FORCEͨ͠PR͕500 • PRͨ͠ϒϥϯνΛgit push —force͢ΔͱPR͕ӾཡͰ͖ͳ͘ͳΔ • ෦࣮ͷ
• ϒϥϯν໊Λ͏͖ͱ͜ΖΛίϛοτIDͰίϛοτΛಛఆ͠ ͍ͯΔͨΊ • DBʹϒϥϯν໊ɺίϛοτIDΛอ͍࣋ͯ͠ΔͷͰɺ࣍ͷόʔ δϣϯͰΔ͔ɻɻ • ϒϥϯν໊Λมߋͯ͠push&PR͢ΔࣄͰճආ • ඌʹ࿈൪ͳͲ • ͦͦpush —froce͢Δͱ͔ɺɺ
·ͱΊ • Πϯετʔϧ؆୯ • ϦϙδτϦϗεςΟϯάʹಛԽ • ඞཁͦ͏ͳػೳ͋Δ • ϦϙδτϦΛ֎ʹग़ͤͳ͍߹ʹ •
ࣾ༻ϛϥʔαʔόʔͱͯ͠