Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RhodeCode(-Enterprise)の紹介

 RhodeCode(-Enterprise)の紹介

バージョン管理システム運用&Tips勉強会 #real_dvcs での発表内容です。

Takumi IINO

March 30, 2014
Tweet

More Decks by Takumi IINO

Other Decks in Programming

Transcript

  1. ࣗݾ঺հ • id:troter • SIer → ࣗࣾαʔϏε • ruby/python/php/java •

    mercurial/git/(subversion) • ձࣾͰͪΐͬͱ࢖ͬͯΔRhodeCodeͷ͓࿩
  2. ϥΠηϯε • ʙ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͕ͩͬͨɺɺ
  3. έʔεʢ̍ʣ ೔ຊޠʹ͍ͨ͠ • Web UIͰ͸ͳ͘production.iniϑΝΠϧΛฤू • /home/{install-user}/rhodecode/data/production.ini ! ! •

    transifexͰ຋༁ͯ͠·͢ • https://www.transifex.com/projects/p/RhodeCode/ language/ja/ lang = ja
  4. έʔεʢ̎ʣ LDAPͷϢʔβʔͷΈͰར༻͍ͨ͠ • admin > permissionͰsign upΛ੍ݶ • Registration: Disabled

    • External auth account activation: Automatic activation of external account • admin > authentication ͰLDAPΛ༗ޮʹ
  5. έʔεʢ̏ʣ ϝʔϧૹ৴ʹGMAILΛ࢖͍͍ͨ • Web UIͰ͸ͳ͘production.iniϑΝΠϧΛฤू ! ! ! smtp_server =

    smtp.gmail.com smtp_username = [email protected] smtp_password = xxxxxxxxxxxx smtp_port = 587 smtp_use_tls = true
  6. έʔεʢ̒ʣ ։ൃதͷ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
  7. όά ಉ͡ϦϙδτϦ΁ͷPRͷDIFF • GitϦϙδτϦݶఆ • ಉ͡ϦϙδτϦؒͷPRͷdiff͕͏·͘දࣔ͞ Εͳ͍ • ྫ •

    ಉ͡ϦϙδτϦͷdevelop͔Βmaster΁ͷPR • forkͨ͠ϦϙδτϦ͔ΒPR͢ΔࣄͰճආ
  8. όά GIT PUSH —FORCEͨ͠PR͕500 • PRͨ͠ϒϥϯνΛgit push —force͢ΔͱPR͕ӾཡͰ͖ͳ͘ͳΔ • ಺෦࣮૷ͷ໰୊

    • ϒϥϯν໊Λ࢖͏΂͖ͱ͜ΖΛίϛοτIDͰίϛοτΛಛఆ͠ ͍ͯΔͨΊ • DBʹ͸ϒϥϯν໊ɺίϛοτIDΛอ͍࣋ͯ͠ΔͷͰɺ࣍ͷόʔ δϣϯͰ௚Δ͔΋ɻɻ • ϒϥϯν໊Λมߋͯ͠push&PR͢ΔࣄͰճආ • ຤ඌʹ࿈൪ͳͲ • ͦ΋ͦ΋push —froce͢Δͱ͔ɺɺ