First step for OSS

First step for OSS

Cfbe23392787cb3ad4689c5f72463fcc?s=128

makicamel

July 09, 2019
Tweet

Transcript

  1. OSS׆ಈॳ৺ऀ͕
 OSS GateʹߦֶͬͯΜͰ͖ͨ͜ͱ 2019.7.9. 
 OSSΛެ։͍ͯ͠Δʢ͍ͨ͠ʣΤϯδχΞަྲྀձ
 @makicamel

  2. ࣗݾ঺հ •@makicamel / ઒ݪສق •גࣜձࣾGaiax •OSS׆ಈॳ৺ऀ •Ruby ͱϏʔϧɹɹͱ͓ञ͕޷͖

  3. 
 ɹɹʮOSS Gateʯ͸ɺ
 ɹɹOSS։ൃʹࢀՃ͢ΔʮೖΓޱʯΛఏڙ͢ΔऔΓ૊ΈͰ͢ɻ 
 ɹɹOSS։ൃʹະࢀՃͷਓΛࢀՃ͢Δਓ΁ɺ
 ɹɹগ͠ࢀՃͨ͜͠ͱ͕͋ΔਓΛܧଓతʹࢀՃ͢Δਓ΁ɻ
 ɹɹͦ͏΍ͬͯOSS։ൃʹࢀՃ͢ΔਓΛܧଓతʹ૿΍͍ͯ͘͠ɻ
 ɹɹͦΕ͕ʮOSS Gateʯͷ໨తͰ͢ɻ

    OSS Gate ? 044(BUF
 IUUQTPTTHBUFHJUIVCJP
  4. ɹڵຯ͕͋ͬͨΒOSS Gate΋໘ന͍ͱࢥ͍·͢Α OSS Gate ? !ZPVDIBO

  5. •ΊͪΌͪ͘Όෆ҆ •ࣗ෼ͳΜ͔͕ߦͬͯ΋͍͍ͷʁ •Կ΋Ͱ͖ͣʹٽ͍ͯؼͬͯ͘ΔͷͰ͸ 
 ΊͪΌͪ͘ΌΑ͔ͬͨ OSS GateʹࢀՃ

  6. •ʮ࢝Ί͍͚ͨͲ͢ΔOSS͕ݟ͔ͭΒͳ͍ʯ
 ܾ·͍ͬͯͨΒϕλʔɺܾ·ͬͯͳ͚Ε͹୳͢ͱ͜Ζ͔Β •ʮૹΔPR͕ࢥ͍͔ͭͳ͍ʯ
 ߦಈϩάΛऔΓͳ͕Β৮ͬͯෆศͳͱ͜ΖΛϑΟʔυόοΫ OSS GateͷೖΓޱ

  7. •ߋ৽͕ࢭ·͍ͬͯΔϥΠϒϥϦͰ΋OK
 Issue΍PR͕ߋ৽࠶։ͷ͖͔͚ͬʹͳΔ͔΋(ͳΒͳ͍͔΋) •υΩϡϝϯτमਖ਼Ͱ΋OK
 Ϣʔβ͕࠷ॳʹݟΔ΋ͷͳͷʹखೖΕ͸ޙճ͠ʹ͞Ε͕ͪ
 ίʔυͱҧͬͯΤϥʔ͕ग़ͳ͍͔Βؒҧ͍͕ͪ
 ͳͷͰΉ͠Ζ௒େࣄ OSS׆ಈͷೖΓޱ

  8. •খ͞ͳ͜ͱͰ΋OK
 ࣗ෼͕ࠔ͍ͬͯΔ͜ͱ͸ଞͷ୭͔΋ࠔ͍ͬͯΔ
 खݩͰύονΛ͋ͯΔ͚ͩ < ϒϩάΛॻ͍ͯڞ༗ <<< ύονΛૹΔ •merge͞Εͳͯ͘΋OK
 Φʔϓϯͳ৔Ͱٞ࿦͞ΕΔ͜ͱʹҙຯ͕͋Δ
 ޙ͔Β͖ͨਓͷಓඪʹͳΔ


    committerͷࢥ૝͕Θ͔Δ OSS׆ಈͷೖΓޱ
  9. •։ൃऀͷ࡞ۀΛ૿΍͞ͳ͍
 ʮͱΓ͋͑ͣIssueɺ͋ͱ͔ΒPRૹΓ͍ͨʯ࣌͸ͦͷࢫهࡌ
 ։ൃऀ͸ʮ଴ͬͯΕ͹͍͍ͷͶʙɺ͋Γ͕ͱ͏ʯͱͳΔ(ଟ෼) ։ൃऀͷཱ৔ʹཱͭ

  10. •Ͳ͏ͯ͜͠ͷमਖ਼͕ඞཁͳͷ͔Λ఻͑Δ
 ཧ༝΋ͳ͘ʮ͜͏͋Δ΂͖ʯ(ྫ)
 
 
 
 
 ͜ͷमਖ਼͕͋ͬͨํ͕͍͍ཧ༝Λ఻͑Δ(ྫ) ։ൃऀͷཱ৔ʹཱͭ ɹجຊ৘ใ͸࣋ͬͯͯ౰ͨΓલɺͱͬͯʂ ɹجຊ৘ใ͸࣮຿Ͱ໾ʹཱͨͳ͍ͱݴΘΕ͕͚ͪͩͲ

    ɹݱ৔Ͱ਎ʹ͖ͭʹ͍͘஌ࣝΛମܥతɾ໢ཏతʹֶशɾཧղͰ͖Δ͠ɺ ɹʮ౒ྗͰ͖Δਓʯͬͯखܰͳূ໌ʹͳΔ͔Βऔ͓͍ͬͯͨ΄͏͕͍͍Αʙ
  11. •Ͳ͏ͯ͜͠ͷमਖ਼͕ඞཁͳͷ͔Λ఻͑Δ
 ཧ༝΋ͳ͘ʮ͜͏͋Δ΂͖ʯ
 
 
 
 
 
 
 ͜ͷमਖ਼͕͋ͬͨํ͕͍͍ཧ༝Λ఻͑Δ
 ։ൃऀͷཱ৔ʹཱͭ

    ɹ͜Μͳػೳ͕΄͍͠ɻPRग़͔ͨ͠Βmergeͯ͠ʂ ɹ˓˓ͷ࣌ɺ˚˚ͳཧ༝Ͱ˘˘ͳ࢖͍ํΛ͍ͨ͠ͱࢥͬͨΜͩɻ ɹ͜ͷPRΛmergeͨ͠Β˕˕ͳ͍͍͜ͱ͕͋ΔΑʂ ɹͥͻݟͯΈͯͶɻ ɹݟͯݟͯɺ࠷ߴͳػೳࢥ͍͍͔ͭͨΒPRૹΔͶʂ
  12. •Ͳ͏ͯ͜͠ͷमਖ਼͕ඞཁͳͷ͔Λ఻͑Δ
 ͲΜͳPR͕Α͍͔ͷهࣄ͸ੈͷதʹͨ͘͞Μ͋Δ 
 ։ൃऀͷཱ৔ʹཱͭ Rails contribution͔ΒֶΜͩGit/GitHubज़ | ҏ౻ߒҰ(@koic)
 https://speakerdeck.com/koic/commit-message-will-never-die ϨϏϡʔͯ͠΋Β͍΍͍͢PRͷॻ͖ํ

    | hydrakecat’s blog
 https://hydrakecat.hatenablog.jp/entry/2018/06/30/ϨϏϡʔͯ͠΋Β͍΍͍͢PRͷॻ͖ํ GitHubʮ׬ᘳͳϓϧϦΫͷॻ͖ํΛڭ͑Δͥʯ | @umanoda - Qiita
 https://qiita.com/umanoda/items/93aec41213f8e3ce14c8 Gitͷίϛοτϝοηʔδͷॻ͖ํ
 https://postd.cc/how-to-write-a-git-commit-message/

  13. •ӳޠ
 Google຋༁+αͰ͕Μ͹Δ
 ΈΒ͍຋༁(https://miraitranslate.com/)͕ຊ౰ʹΈΒ͍
 
 ͦ΋ͦ΋ඇωΠςΟϒ࿩ऀ͕ଟ͍ͷͰظ଴஋͸௿Ί
 ಘҙͳਓʹฉ͘ ͦ͏͸ݴͬͯ΋ෆ҆

  14. •΄Μͱ͏ʹͭΑ͍ਓ͸΍͍͞͠
 جຊతʹ޷͖Ͱ΍͍ͬͯΔਓ͹͔ΓͳͷͰ
 ΈΜͳwelcomeͩ͠ॿ͚ͯ͘ΕΔ 
 ͦ͏͸ݴͬͯ΋ෆ҆

  15. ͭΑ͍ਓ͸΍͍͞͠ ɹGibierͬͯ͘͢͝໘ന͍ͱࢥ͍·ͨ͠ʂ ɹͨͩɺ͏·͘ىಈͰ͖ͳͯ͘
 ɹͦ͏ͳΜͰ͢Ͷɻͥͻݟ͍ͤͯͩ͘͞ʂ ɹࣗ෼͕ؒҧͬͯΔΜͩͱࢥ͏ΜͰ͚͢Ͳ…
 ɹͦΕ͸ͦΕͰɺ͜Μͳ෩ʹϛε͠΍͍͢Μͩͳͬͯ ɹࢀߟʹͳΔ͔Βେৎ෉Ͱ͢Α 5PLZP(JSMTSC.FFUVQWPMͷ࠙਌ձͰΑ͏͞ΜʹΊͬͪΌΞυόΠεΛ௖͍͓ͨ࿩NBLJDBNFMͷ೔ه
 IUUQTNBLJDBNFMIBUFOBCMPHDPNFOUSZ ZPVDIBOHJCJFSc(JU)VC


    IUUQTHJUIVCDPNZPVDIBOHJCJFS !ZPVDIBO
  16. ͜Μͳ͜ͱΛֶ΂ΔOSS Gate

  17. αϙʔλʔ͕଍Γͳ͍

  18. •ՄೳͳݶΓϏΪφʔͱαϙʔλʔ͕ϚϯπʔϚϯͰ࣮ࢪ
 ϏΪφʔ͸ଟ͍͚Ͳαϙʔλʔͷ਺͕଍Γͳ͍
 αϙʔλʔ͕ू·Βͳͯ͘։࠵Λݟૹͬͨ͜ͱ΋͋Δ •ʮҰ౓Ͱ΋IssueΛཱͯͨ/PRΛૹͬͨ͜ͱ͕͋Ε͹OKʯ
 Ή͠Ζɺܦݧ๛͔ͳਓͩͱઌੜͱੜెΈ͍ͨʹͳͬͯ͠·͏
 େࣄͳͷ͸Ұॹʹ೰Ή͜ͱ 
 αϙʔλʔืू

  19. ɹͥͻ࣍ճ͸αϙʔλʔͰࢀՃ͍ͯͩ͘͠͞ʂ αϙʔλʔืू ɹࢀՃͤͯ͞௖͍ͯOSSͷຯํ͕มΘΓ·ͨ͠ɺ ɹ͋Γ͕ͱ͏͍͟͝·͢ʂʂʂ
 ɹΘ͕ͨ͠αϙʔλʔͳΜͯͱΜͰ΋ͳ͍Ͱ͢ʂ
 ɹOSS GateʹϏΪφʔͰ͘Δਓ͸ɺ
 ɹͦΕ͚ͩͰ͍͢͝༐ؾΛग़ͯ͠ΔΜͰ͢ɻ
 ɹαϙʔλʔʹେࣄͳͷ͸Ұॹʹ೰Ή͜ͱɻ ɹOSS׆ಈ࢝Ίͨ͹͔Γͷਓ͸͘͢͝޲͍ͯΔΜͰ͢ɻ

    !UEUET
  20. •ՄೳͳݶΓϏΪφʔͱαϙʔλʔ͕ϚϯπʔϚϯͰ࣮ࢪ
 ϏΪφʔ͸ଟ͍͚Ͳαϙʔλʔͷ਺͕଍Γͳ͍
 αϙʔλʔ͕ू·Βͳͯ͘։࠵Λݟૹͬͨ͜ͱ΋͋Δ •ʮҰ౓Ͱ΋IssueΛཱͯͨ/PRΛૹͬͨ͜ͱ͕͋Ε͹OKʯ
 Ή͠Ζɺܦݧ๛͔ͳਓͩͱڭࢣͱઌੜΈ͍ͨʹͳͬͯ͠·͏
 େࣄͳͷ͸Ұॹʹ೰Ή͜ͱ •αϙʔλʔʹ΋ϝϯλʔ͕͍Δ
 αϙʔτϝϯλʔ͕खॿ͚ͯ͘͠ΕΔ αϙʔλʔืू

  21. ʮOSS͸উखʹΑ͘ͳ͍ͬͯ͘ʯ͸·͕͍ͪ 
 ࣮ࡍ͸໨͕ಧ͔ͳ͍ॴʹ͕݀͋Δ
 ໨͕଍Γͳ͍ঢ়ଶ OSSʹؔΘΔਓΛ૿΍͍ͨ͠ Why OSS Gate ? !UEUET

    ΦʔΨφΠβʔ
  22. OSS͸commitͷੵΈॏͶ
 ʮਓʯͷྗͰͰ͖͍ͯΔ ͓ੈ࿩ʹͳ͍ͬͯΔOSS΁Ըฦ͠
 Why OSS Gate ? ޷͖͔ͩΒ ॳ৺ऀ

  23. OSS Gate 044(BUFc%PPSLFFQFS
 IUUQTPTTHBUFEPPSLFFQFSKQFWFOUTVQDPNJOH

  24. •OSS׆ಈɺ࢝ΊΔͷ͸ෆ҆ •࢝Ίͯ΋ෆ҆ •ෆ҆ͳΒઌਓͷڳΛआΓΔ •·ͣ͸࢝ΊΔ ·ͱΊ

  25. YATTEIKI

  26. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠

  27. •ࠓճͷ࿩͸ɺ΄ͱΜͲ
 OSS GateͰαϙʔτͯͩͬͨ͘͠͞
 Piro͞Μ͔Βڭ͍͍͑ͯͨͩͨ͜ͱ •΋ͬͱ͘Θ͍͓͠࿩ɺ۩ମతͳ͓࿩Λ
 ϒϩάͰ࿈ࡌ͞Ε͍ͯ·͢ͷͰ
 ͥͻͦͪΒ΋͝ཡ͍ͩ͘͞ ँࣙ !QJSP@PS

  28. •OSS΁ͷϑΟʔυόοΫ͸ϢʔβʔϑΥʔϥϜͱ
 ΠγϡʔτϥοΧʔͷͲͪΒʹॻ͘΂͖͔ʁ
 https://www.clear-code.com/blog/2019/6/18.html •OSS΁ͷϑΟʔυόοΫʹ͸ԿΛͲ͏ॻ͚͹͍͍ͷ͔ɺ
 ͲͷϓϩδΣΫτʹใࠂ͢Ε͹͍͍ͷ͔
 https://www.clear-code.com/blog/2019/6/19.html •OSS΁ͷϑΟʔυόοΫΛͯ͠Έ͍͚ͨͲɺ
 ԿΛϑΟʔυόοΫͨ͠Β͍͍ͷ͔෼͔Βͳ͍
 https://www.clear-code.com/blog/2019/7/8.html
 ँࣙ

    !QJSP@PS