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

AimingのGitHubを使った開発フロー

 AimingのGitHubを使った開発フロー

Fujimura Daisuke

June 23, 2012
Tweet

More Decks by Fujimura Daisuke

Other Decks in Programming

Transcript

  1. Aimingʹ͍ͭͯ • ΦϯϥΠϯήʔϜձࣾ • Ruby/JavaScriptϓϩάϥϚʔืूதͰ͢ʂ@ffu_ ʹϝϯγϣϯ͍ͩ͘͞ • ίʔυϨϏϡʔΛ͔ͬ͠Γ͢ΔจԽ͕ࠜ෇͍͍ͯΔ • ݩʑ͸gerrit

    (Google੡ͷίʔυϨϏϡʔγεςϜ) Λ࢖͍ͬͯͨ • ࠓ೥ʹೖͬͯGitHubΛ࢖͏ϓϩδΣΫτ͕૿͑ͨ • ݱࡏ͸gerritͱซ༻ • ϓϩδΣΫτ؅ཧπʔϧͱͯ͠͸࢖ͬͯͳ͍ɻϨϏϡʔ༻ Saturday, June 23, 12
  2. AimingͰΑ͋͘Δ։ൃϑϩʔ • aiming/some_repo Λ֤ϝϯόʔ͕ fork • fujimura/some_repo ʹτϐοΫϒϥϯνΛ࡞੒ • fujimura:topic_branch

    -> aiming:master ʹ pull request • pull request্ͰϨϏϡʔɺ୭͔͕Ϛʔδ • https://help.github.com/articles/fork-a-repo ʹ४ڌͨ͠΍Γํ Saturday, June 23, 12
  3. forkࣜ/ຊମϒϥϯνࣜ Ͳ͕ͬͪྑ͍ͷ͔ʁ • forkࣜ • ຊମmaster΁ͷޡpush͕ى͖ͳ͍ • ࣗ෼༻ͷϦϞʔτ͕࡞ΕΔ • ϒϥϯνࣜ

    • ϦϞʔτ؅ཧָ͕ • ຊମ͔Βfetch͢Δख͕ؒল͚Δ → Ұ௕Ұ୹Ͱ͢ɻ Saturday, June 23, 12
  4. Tips: Pull request΁ͷԣ૦ • ଞͷϓϩδΣΫτͷpull requestʹউखʹίϝϯτ͢Δ • ݟͯཉ͍͠ਓʹpull requestͷURLΛૹΓ͚ͭͯɺίϝϯτΛ΋Β͏ •

    ͩ͜ΘΓ೿ʹΑΔRubyίʔυͷϚφʔࢦೆͳͲ͕ൃੜ • ผϓϩδΣΫτͷHaskellerʹϨϏϡʔΛ͓ئ͍ͨ͠Γ • ผϓϩδΣΫτʹಥવϦϑΝΫλϦϯάΛpull requestͨ͠Γ • ݁Ռతʹίϛϡχέʔγϣϯ͕૿͑ͯɺ஌ࣝͷڞ༗͕ਐΉ • ָ͍͠ Saturday, June 23, 12
  5. Tips (͓·͚) hubศར͗͢Δ • GitHubΛΑΓศརʹͯ͘͠ΕΔgitίϚϯυͷϥούʔ • git pull-request ͱ͔Ͱ͖Δ •

    git clone fujimura/some_repo ͰΫϩʔϯͰ͖Δ • ৄࡉ͸ͪ͜ΒΛ http://subtech.g.hatena.ne.jp/secondlife/20120611/1339411825 Saturday, June 23, 12
  6. Tips (͓·͚) GitHubberࣗମ͕໘ന͍ • ಇ͖ํࣗମ͕͍͢͝໘ന͍Ͱ͢ • Zach Holman͞Μͷϒϩά(1)ʹ৭ʑࡌͬͯΔͷͰݟͯΈ͍ͯͩ͘͞ • GitHubࣗମͷྺ࢙͸37signalsͷΠϯλϏϡʔ(2)͕໘ന͍Ͱ͢

    • ʰ৘೤ϓϩάϥϚʔʱʹ΋ΠϯλϏϡʔࡌͬͯ·͢ • (1) http://zachholman.com/ • (2) http://37signals.com/svn/posts/2486-bootstrapped-profitable-proud-github Saturday, June 23, 12