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

GITLABの紹介 @ 第59回PHP勉強会東京 LT

GITLABの紹介 @ 第59回PHP勉強会東京 LT

GITLABについての紹介です。demoがほとんどだったので資料的にはあまり意味がなくてすいません

4564d3601f6230782300dff8499b2d5a?s=128

Sotaro Karasawa

June 02, 2012
Tweet

Transcript

  1. ୈ59ճPHPษڧձ ࠙਌ձLTͰGITLABͷ঺հ at Crocos, Inc. 2012/5/25 @sotarok

  2. ࣗݾ঺հ sotarok Ͱ͢ ͦ͜Βʹ͍·͢ Perfume ͕޷͖Ͱ͢ ͙͙͍ͬͯͩ͘͞

  3. Engineering Blog એ఻ http://engineering.crocos.jp/ ͍͍Ͷʂ͍ͯͩ͘͠͞ʂ

  4. ͳΜ͔CandyCaneͷ ൃද͕੝ΜͩͬͨͷͰ GITLABͷ঺հͨ͘͠ͳͬͨ (ͻͶ͘Ε΋ͷ) ※ͪͳΈʹPHPؔ܎ͳ͍͚Ͳ

  5. GITLAB ΈΜͳେ޷͖ GitHub Ϋϩʔϯ https://github.com/gitlabhq/gitlabhq

  6. None
  7. GITLAB ιʔείʔυϒϥ΢β ίϛοτϩά Merge Request (Pull Request) Issues Wiki ωοτϫʔΫάϥϑ

    Wall
  8. GITLAB ιʔείʔυϒϥ΢β ίϛοτϩά Merge Request (Pull Request) Issues Wiki ωοτϫʔΫάϥϑ

    Wall ཁ͢Δʹશ෦ೖΓ
  9. GITLAB ಛ௃ ։ൃࢮ͵΄Ͳ଎͍ɾ׆ൃ ϝϦοτ: ػೳ͕ͲΜͲΜ૿͑Δ σϝϦοτ: ϝϯςφϯείετɺ҆ఆੑ ຖ݄22೔ϦϦʔε

  10. ͳͥGITLAB/GitHub ͔ → Pull Request ϕʔεͷ։ൃ ಡΉͱ͍͍ ʮʮPull Requestʯ ͸ΦʔϓϯιʔεʹݶΒͣ࢖͑Δ

    ༏Εͨ։ൃϑϩʔͩʯ http://d.hatena.ne.jp/sotarok/ 20120219/1329581585 Ϋϩίεͷػೳ௥Ճ͸͢΂ͯ Merge Request Ͱɻ ϨϏϡʔޙ develop ΁Ϛʔδ
  11. ࣮ࡍ࢖ͬͯΈΔ demo

  12. ͳΜ͔͋ͬͨτϥϒϧ (1) ϒϥ΢β্Ͱͷ automerge ػೳ 1౓࣮ࡍʹ merge Λࢼ͢࢓૊ΈʹͳͬͯΔ conflict ͨ͠··ͷϦϙδτϦΛ์ஔͯ͠Δ

    ...
  13. ͳΜ͔͋ͬͨτϥϒϧ (2) ೔ຊޠͷϩάΛؚΉίϛοτϩά͕ग़ྗ͞Εͳ͍ grit ͱ͍͏ϥΠϒϥϦ͕όάͬͯΔ͍ͬͯ͏͔Ϛϧ νόΠτจࣈඇରԠʁ ڧҾʹpatch͋ͯͯରԠ

  14. ͳΜ͔͋ͬͨτϥϒϧ (3) ಥવϦϙδτϦϒϥ΢β͕ 404

  15. ͳΜ͔͋ͬͨτϥϒϧ (4) Submodule ͷมߋΛؚΉ Merge Request ͷ diff ͕ ग़ͳ͍

    (ݱࡏਐߦத)
  16. ͍͚ͯͳ͍ͱ͜ gitolite-admin ʹґଘͯ͠Δ gitolite-admin ͔ͬͯʹ͍͡Δ ͨ͘͞Μpush͞Εͯ͏͍͟

  17. ͦΕͳΓʹτϥϒϧ͸͋Δ͚Ͳ ศརͰ͢

  18. ͦΕGitHub EnterpriseͰ 20ਓͷνʔϜͰ Total Yearly Cost $5,000 = 40ສ (ͪͳΈʹ

    100 ਓͩͱ 200ສ) + ͋ͱͳΜ͔Ծ૝؀ڥ༻ҙ (GitHubͷ༻ҙ͢ΔVMΛϚ΢ ϯτͯ͠࢖͏ελΠϧ) (= ϝϯςίετ 0 Ͱ͸ͳ͍) தͷτϥϒϧ͸ϒϥοΫϘοΫεΒ͍͠ʢԿނ͔ෛՙ ߴ͍ͱ͔ʣ
  19. ·ͱΊ GitHub Enterprise ͓ۚ෷͑ΔͳΒɺ͜Ε͔ͭ͑͹͍͍ ͓ۚ෷͑ͳ͍ͳΒ GITLAB ࡉ͔͍ͱ͜Ζʹ໨ΛͭΉΕ͹OK