ããã«ã¡ã¯ï¼ã¨ã³ã¸ãã¢ã® @fortkle ã§ãã
ãã®ä¼èª¬ã®ã²ã¼ã ãã¡ãããããã®ã¹ããã²ã¼ã ã®ãªãªã¼ã¹æ¥ãã¤ãã« 2020å¹´1æ23æ¥ã¨çºè¡¨ãããã¾ãã!*1 ãã¾ããã¯ã¯ã¯ã¯ãã¦ãã¾ãããï¼ãªãªã¼ã¹ããããã²ãããã«ãã¾ãããï¼
ãã¦ãä»åã®è¨äºã¯ãã³ã¼ãã¬ãã¥ã¼ãã«ã¤ãã¦ã§ããã³ãããã«å ¥ç¤¾ãã¦ããæ©4å¹´ãæ°ç¾ã®PRãã¬ãã¥ã¼ãã¦ãã¦ã ãã ãã¨èªåã®ä¸ã§ã³ã¼ãã¬ãã¥ã¼ã«å¯¾ããæ¥ãæ¹ãå®ã¾ã£ã¦ãã¾ãããä»æ¥ã¯ç§ãã³ã¼ãã¬ãã¥ã¼ã§å¿ããã¦ãããã¨ã«ã¤ãã¦ãç´¹ä»ã§ããã°ã¨æãã¾ãã
ã¬ãã¥ã¯ã¼ã¨ãã¦
â "æ¢åã³ã¼ã" ã® æ´å²ççµç·¯ãç´ æ©ãç´è§£ã
ã³ã¼ãã¬ãã¥ã¼ã¯æ§ã ãªç®çã§è¡ããã¾ããããæ¬ é¥ã»ãã°ãæ¤åºãããã¨ããã³ã¼ãã®æ¹åãã«æå¾ ããã¦ãããã¨ãå¤ããã¨æãã¾ãã
ãããã®ç®çãéæããããã«ã¯ãæ¢åã»å¤æ´å¾ã®ã³ã¼ãã®å®è£ æå³ãèæ¯ãç解ãããã¨ãã¨ã¦ãéè¦ã«ãªãã¾ããç¹ã«é·å¹´éç¨ããã¦ããããã¸ã§ã¯ãã§ã¯ãåè ã®ããªãä»ã®ãæ¢åã®ã³ã¼ãããã®ãããªå®è£ ã«ãªã£ã¦ããã®ããã¨ããæ´å²ççµç·¯ãç解ãããã¨ã¯ãä¸å ·åãåºããã«å®å ¨ã«éçºãè¡ã£ã¦ããããã®ã¹ãã«ã®1ã¤ã§ãã
å¼ç¤¾ã³ãããã§ã¯ãGitHubã®PRã使ã£ãéçºã¹ã¿ã¤ã«ãæ¡ç¨ãã¦ããã®ã§ã³ã¼ãã®æå³ãèæ¯ãç解ããã«ã¯ç´ç²ãªã³ã¼ããªã¼ãã£ã³ã°ã¨åãããããéå»ã®PRãè¦ãã®ãå¹æçãªã±ã¼ã¹ãããã¾ãã
ããã§ã¯ãéå»ã®PRãç´ æ©ãç°¡åã«æ¢ãåºãããã«ãå®éã«ç§ã使ã£ã¦ããtipsã2ã¤ãç´¹ä»ãã¾ãã
æ¹æ³1. PhpStormã®Annotate + Find Pull Request Plugins
- PhpStormã§Annnotateã表示
- 確èªãããè¡ãå³ã¯ãªãã¯ãã
Annotate Previous Revision
ã§è¿½å ã»ç·¨éãããã³ãããã¾ã§æ´å²ãé¡ã Find Pull Request Plugin
ã§ãã®ã³ãããã追å ãããPRãéã
ã¨ããæé ã§ç°¡åã«PRãæ¢ãåºããã¨ãã§ãã¾ãã
PhpStormãGoLandãªã©JetBrains製åã®ã¨ãã£ã¿ã«ã¯Annotateã¨ããgit blameã¨åçã®æ©è½ãããã¾ããè¡çªå·ãå³ã¯ãªãã¯ãããã¨ã§è¡¨ç¤ºãããããã«ãªãã¾ãã
ã¾ããAnnotateé¨åãå³ã¯ãªãã¯ããã¨ãããã«é¸æè¡ã®ã³ãããã®æä½ãã§ããããã«ãªãã¾ãã
Annotate Revision
ã Annotate Previous Revision
ãé§ä½¿ããã¨ãã³ã¼ãã¹ã¿ã¤ã«ã®å¤æ´ãªã©ã§è¿½ãã¥ãããªã£ã¦ãã¾ã£ãã³ã¼ããç°¡åã«æ´å²ãé¡ã£ã¦æ¢ããã¨ãã§ãã¾ãã
æå¾ã«ããã® Find Pull Request
ã¨ãããã©ã°ã¤ã³ãå©ç¨ããã¨ãå³ã¯ãªãã¯ãã¦ã¡ãã¥ã¼ãé¸ã¶ã ãã§ãé¸æè¡ã追å ãããPRãéããã¨ãã§ããããã«ãªãã¾ãã
ãã®æ¹æ³ã¯ãã¡ãã®ããã°ã§ç´¹ä»ããã¦ããã大å¤åèã«ãªãã¾ããï¼ tenkoma.hatenablog.com
æ¹æ³2. tig blame + open-pull-request
次㫠tig 㨠open-pull-request ã使ãæ¹æ³ã§ãã
- tig blame {filename} ã§ç¢ºèªãããè¡ããããã¡ã¤ã«ãéã
,
<
ã¨æã¤ã¨é¸æè¡ã®å±¥æ´ãé¡ããã®ã§è¿½å ã»ç·¨éãããã³ããããæ¢ãP
ã¨æã£ã¦ open-pull-requestãtigä¸ããå®è¡ããPRãéã
ã¨ããæé ã§ç°¡åã«PRãæ¢ãåºããã¨ãã§ãã¾ãã
æ¹æ³1ã®ããæ¹ãç¥ãåã¯ãã®æ¹æ³ã§PRãæ¢ãã¦ãã¾ããã ç¹å¥ãªã¨ãã£ã¿ãä¸è¦ã§ã©ããªããã¸ã§ã¯ãã«ã対å¿ã§ããã®ã§ä»ã§ããã¾ã«å©ç¨ãã¦ãã¾ãã
ãã®æ¹æ³ãè¨å®æ¹æ³ãªã©ããã¡ãã®ããã°ã§ç´¹ä»ããã¦ããã大å¤åèã«ãªãã¾ããï¼ blog.mknkisk.com
â¡ PRä¸ã§ã®ã³ã¡ã³ãã§å·¥å¤«ãã
PRã®ã³ã¡ã³ãã§ãããã¤ã工夫ãããã¨ãå¿ããã¦ãã¾ãã
ã©ãã«ã使ã
PRã«ã³ã¡ã³ããæ®ãã¨ããç§ã¯ä»¥ä¸ã®ãããªã©ãã«ã使ããã¨ãå¤ãã§ãã
ã©ãã« | æå³ |
---|---|
[MUST] | å¿ ãç´ãã¦ã»ããã¨ã |
[IMO] | èªåãªãããæ¸ãããªï¼ã©ãï¼ã¨ããç·©ãããªææã®ã¨ãï¼In My Opnionï¼ |
[nits] | åã¬ãã¥ã¼ä¸è¦ãªç´°ããªææ(typoãã¹ã¿ã¤ã«ç)ã®ã¨ã |
[質å] | åãããªãã¨ãã確èªãããã¨ã |
å¿ è¦ã«å¿ãã¦ã³ã¡ã³ãã®å é ã«ãããã®ã©ãã«ãã¤ãããã¨ã§ãä¾ãã° [MUST] ã¯å¿ ãä¿®æ£ãã¦ã»ããã [IMO] ã§ææãããç¹ã¯ä¸åº¦èãã¦ããã£ã¦æ¡ç¨ãããããªãã決ãã¦ã»ããããªã©ã¬ãã¥ã¤ã¼èªèº«ã«æçµçãªå¤æ´ã®ææ決å®ããã¦ããããããã«èãã¦ä½¿ã£ã¦ãã¾ãã
è¯ãç¹ãã³ã¡ã³ããã
以åã¯åé¡ãããç¹ã確èªãããç¹ã®ã³ã¡ã³ãããæ®ãã¦ããªãã£ãã®ã§ãããæè¿ã¯åå¼·ã«ãªã£ãã¨ããæè¬ã®æ°æã¡ãè¾¼ãã¦è¯ãã¨æã£ãç®æã«ãã¤ãºã«ãªããªãç¨åº¦ã«ã³ã¡ã³ããæ®ãããã«ãã¦ãã¾ãã
ã³ã¼ãã¬ãã¥ã¼ã¨ããå ´ãããªã¹ã¯ã課é¡ãè¦ã¤ãåºããã¨ã ãã§ãªããèªèº«ã®å¦ã³ãèªä¿¡ã«ã¤ãªãããã¸ãã£ããªå ´ã¨ãã¦æ´»ç¨ããããã«æå³ã¯ããããªã¨æã£ã¦ãã¾ãã
⢠ã¨ã«ããåããã¦ã¿ã
åºæ¬çã«PRãã¬ãã¥ã¼ããã¨ãã¯ã©ããªã«äºç´°ãªå¤æ´ã§ãã¢ããªã±ã¼ã·ã§ã³ã³ã¼ãã«diffãå ¥ã£ããå®éã«ãã¼ã«ã«ç°å¢ã§åããããã«ãã¦ãã¾ãã
å¤æ´å 容ã«ãã¸ãã¯ãå«ã¾ããã®ã§ããã°ãã¬ãã¥ã¤ã¼ãæ§ã ãªãã¿ã¼ã³ãèæ ®ã«å ¥ãã¦å®è£ ã§ãã¦ããããæãæ¼ãããªããããå¢çå¤ãEmptyãªstateã使ã£ã¦åããã¦ç¢ºèªãã¾ãã ãã®ã¨ãåä½ãã¹ããããã°ç°¡åã«ãã§ãã¯ãã§ããã®ã§ããã¹ãã®æãé£ã¿ãæãããã¾ããï¼
ã¬ãã¥ã¤ã¼ã¨ãã¦
ç¶ãã¦ã¬ãã¥ã¤ã¼ã¨ãã¦å¿ããã¦ãããã¨ãç´¹ä»ãã¾ãã
... ã¨ããã¾ãããåã§ãï¼
ã¬ãã¥ã¤ã¼ã¨ãã¦å¿ããã¦ãããã¨ã¯ãä»é±æ«ã®2019å¹´12æ1æ¥(æ¥)ã«éå¬ãããPHPã«ã³ãã¡ã¬ã³ã¹æ±äº¬ 2019ã§LTã¨ãã¦çºè¡¨ãã¾ãï¼
é«éç¦æ(@fortkle) 17:20ã Track 1 (1F 大å±ç¤ºãã¼ã«) Lightning Talks
ç»å£ã¿ã¤ãã«ï¼ãä½è£ãçã¿åºãã³ã¼ãã¬ãã¥ã¼ã
å½æ¥ãåå ãããæ¹ã¯ãã²çºè¡¨ãèãã¦ããã ããã°å¹¸ãã§ãï¼
ã¾ããä»å¹´ãã·ã«ãã¼ã¹ãã³ãµã¼ã¨ãã¦åè³ãããã¾ãã ãã¼ã¹ãåºãã¾ãã®ã§ãã¡ãã«ããã²ãç«ã¡å¯ããã ããï¼
âTwemoji" by Twitter, Inc and other contributors is licensed under CC-BY 4.0
PR
ãããªãã¼ããã«ãªã¬ãã¥ã¼ã®ã³ãããã§ã¯ä¸ç·ã«åãã¦ãããã¨ã³ã¸ãã¢åéä¸ã§ãï¼èå³ãããã°ãã¡ããã¿ã¦ãã ããï¼