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

参加のSOCIAL CODING

参加のSOCIAL CODING

suginoy

June 23, 2012
Tweet

Other Decks in Programming

Transcript

  1. ࠓ೔͸ɺʹΘ͔ Rubyist ͷ๻ ͕ৗʹ࠷ઌ୺ͷ WebΞϓϦ έʔγϣϯϑϨʔϜϫʔΫͰ ͋Δ Ruby on Rails

    ʹ Github Ͱ Pull Request Λૹͬͯ࠾༻͞Ε ͨͱ͖ͷ࿩Λ͠·͢ɻ 12೥6݄24೔೔༵೔
  2. ※ॾ஫ҙ Ruby ΍ Rails ͷ࿩͸͠·ͤΜɻ एׯεϐϦˑνϡΞϧʁ SOCIAL CODING ͷୡਓ͸ର৅֎Ͱ͢ɻ SOCIAL

    CODING ͷઆ໌͸ɺ @a_matsuda ͞ΜͷεϥΠυΛͥͻࢀর͍ͩ͘͞ɻ https://speakerdeck.com/u/a_matsuda/p/social-coding 12೥6݄24೔೔༵೔
  3. ࢲͱGithub • ͸͡Ίͯͷ git push • Rails Tutorial ͷεΫϦʔϯΩϟετ •

    ͸͡ΊͯͷIssueొ࿥ • ʰRails 3 ϨγϐϒοΫʱͷޡ২ใࠂ • ͸͡ΊͯͷGithubڞಉ࡞ۀ • σβΠφʔ޲͚ϓϩάϥϜ෦ϋοΧιϯ #p4d • ͸͡ΊͯͷGithubͰͷ͓࢓ࣄ • PLʮGithub ࢖ͬͪΌͬͯط੒ࣄ࣮Խͯ͠͠·͓͏ʯ • ຋༁Λެ։ͨ͠Β஌Βͳ͍ਓ͔Β Pull Request 12೥6݄24೔೔༵೔
  4. ͱ͍͏Θ͚Ͱɻ ※ ৄ͍͠खॱ͸ɺ ɹʰWEB+DB PRESS vol.69ʱ ɹΛ͓ങ͍ٻΊ͍ͩ͘͞ɻ Rails ʹ Pull

    Request ΛૹΔ͜ͱʹ http://www.amazon.co.jp/exec/obidos/ASIN/4774151041/sugiblo-22/ 12೥6݄24೔೔༵೔
  5. Pull RequestΛૹΔ·Ͱ • Fork ϘλϯΛClick • ࣗ෼ͷ PC Ͱ git

    clone • ઃఆ౳ ΰχϡΰχϣ • όάಛఆʮͲ͏΍Β͜ΕͬΆ͍ͳʯ • git checkout -b Ͱϒϥϯν࡞੒ • मਖ਼ͯ֬͠ೝͯ͠ɺgit commit • git push Ͱࣗ෼ͷGithubϦϙδτϦ΁ 12೥6݄24೔೔༵೔
  6. Pull Request ͷमਖ਼ • Pull Request Λमਖ਼͢Δ • ӳޠ΋௚͢ʢ׼ •

    मਖ਼લޙͷ࣮ߦ݁ՌΛఴ෇ 12೥6݄24೔೔༵೔
  7. Chad Fowler says... ʮ୭Ͱ΋ Rails Λ࢖͑Δ͕ɺ ɹRails ίϯτϦϏϡʔλΛ ໊৐ΕΔͷ͸গ਺ʯ ʰ৘೤ϓϩάϥϚʔ

    ɹιϑτ΢ΣΞ։ൃऀͷ޾ͤͳੜ͖ํʱ http://www.amazon.co.jp/exec/obidos/ASIN/4274067939/sugiblo-22/ 12೥6݄24೔೔༵೔
  8. Great Rails Contributors say... ʰRails 3 ϨγϐϒοΫʱ ࠷ޙͷ Recipe 190

    ʮRails Λ௚͢ʯ ߴڮ ੐ٛ, দా ໌, ॾڮ ګհ ஶ ʰRails3ϨγϐϒοΫ 190ͷٕʱ http://www.amazon.co.jp/exec/obidos/ASIN/4797363827/sugiblo-22/ 12೥6݄24೔೔༵೔
  9. ʮRails ͷιʔείʔυ͸͢΂ͯΦϯϥΠϯͰެ։ ͞Ε͍ͯ·͢ɻͦͯ͠ɺRails ͸͋ΒΏΔ։ൃऀͷ ίϛοτΛड͚෇͚͍ͯ·͢ɻ ͭ·Γɺ͜ΕΛಡ ΜͰ͍Δ͋ͳͨ΋ Rails ʹίϛοτΛߦ͏ࣗ༝͕ ͋ΔͷͰ͢ɻ

    ࣄ࣮ɺݱࡏ·Ͱͷͱ͜ΖɺRails ʹ 1 ճͰ΋ίϛοτΛߦͬͨਓ਺͸ɺ2000 ਓۙ ͘ʹͷ ΅Γ·͢ɻ͜ͷΑ͏ʹɺRails ͸਺ਓͷίϛολͩ ͚͕࡞͍ͬͯΔιϑτ΢ΣΞͰ͸ͳ͘ɺΈΜͳͰ ࡞ΔϑϨʔϜϫ ʔΫͳͷͰ͢ɻʯ 12೥6݄24೔೔༵೔
  10. ͦ͏͍͑͹͜͜͸Agileौ୩ͩ ΞϨάβϯμʔͷʰΦϨΰϯେֶͷ࣮ݧʱ ߐ౉ߒҰ࿠ ஶʰύλʔϯɺWikiɺXP ࣌Λ௒͑ͨ૝૾ͷݪଇʱ • ༗ػతடংͷݪཧ • ࢀՃͷݪཧ •

    ઴ਐత੒௕ͷݪཧ • ύλʔϯͷݪཧ • ਍அͷݪཧ • ௐ੔ͷݪཧ http://www.amazon.co.jp/exec/obidos/ASIN/4774138975/sugiblo-22/ 12೥6݄24೔೔༵೔
  11. % git commit • ίϛοτʲ commit ʳ • [໊]͔͔ΘΓ߹͏͜ͱɻؔ܎͢Δ͜ͱɻ ʮଟ͘ͷ஌ࣝਓ͕ӡಈʹʔʔͨ͠ɻʯ

    # =>̍ͭͷ Pull Request ͚ͩͲɺ ɹɹΦϯϥΠϯʗΦϑϥΠϯͰ ɹɹ͍ΖΜͳਓ͕ࢀՃͨ͠ 12೥6݄24೔೔༵೔
  12. ·ͱΊ • খ͞ͳύον͕ͩɺRuby on Rails ͷ։ൃʹ ࢀՃͨ͠ɻ • git log

    ʹग़ͯ͜ͳ͍ਓ΋ࢀՃ͍ͯ͠Δɻ • ৽ͨͳࣾձߏ଄͕Ͱ͖Δ͔͸Θ͔Μͳ͍ɻ • Ͱ΋SOCIAL CODING͢Δͱwkwk͢Δ͔ ΒΈΜͳ΋΍Ζ͏Αɻ 12೥6݄24೔೔༵೔