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

Redmine::ChanでIRCからプロジェクト管理

Yasuhiro Onishi
September 28, 2012

 Redmine::ChanでIRCからプロジェクト管理

毎日のIssue管理をIRCから簡単に行いましょう

Yasuhiro Onishi

September 28, 2012
Tweet

More Decks by Yasuhiro Onishi

Other Decks in Technology

Transcript

  1. 2012/09/28 YAPC ASIA TOKYO
    גࣜձࣾ͸ͯͳ
    େ੢߁༟JEPOJTIJ
    3FENJOF$IBOͰ
    *3$͔ΒϓϩδΣΫτ؅ཧ

    View full-size slide

  2. ɹJEPOJTIJେ੢߁༟
    ɹ0/*4)*
    ɹ!ZBTVIJSP@POJTIJ
    ɹגࣜձࣾ͸ͯͳ
    ɹ͸ͯͳϒϩά

    View full-size slide

  3. %FWFM,5:1SPG
    5FYU)BUFOB
    8FC&NCFE

    View full-size slide

  4. ͸ͯͳϒϩά

    View full-size slide

  5. ϒϩάͷΞΠίϯΛઃఆͰ͖ΔΑ͏ʹ͠·ͨ͠ಡΜͩϒϩάͷʮl͜͜z͕͍͍ͳʯ
    Λॻ͖खʹ఻͑Α͏ʂɹҾ༻ελʔΛ͚ͭ΍͘͢͠·ͨ͠εϚʔτϑΥϯ༻ͷϒϩάฤूը໘Ͱࣸਅ
    Λ౤ߘͰ͖ΔΑ͏ʹ͠·ͨ͠.BSLEPXOه๏ʹରԠ͠·ͨ͠τοϓϖʔδ΍
    ʮ஫໨ͷΤϯτϦʔʯͳͲΛϦχϡʔΞϧ͠·ͨ͠͸ͯͳελʔΛ͚ͭ΍͘͢ɺݟ΍͘͢ͳΔΑ͏ʹ
    มߋ͠·ͨ͠ฤूαΠυόʔʹʮ͏͝ϝϞషΓ෇͚ػೳʯΛ௥Ճ͠·ͨ͠αΠυ
    όʔʹʮ࠷ۙͷίϝϯτʯϞδϡʔϧΛ௥Ճ͠·ͨ͠ωοτͷ࿩୊͔ΒϒϩάΛॻ͍ͯΈ·ͤΜ͔ʁ
    ฤूαΠυόʔʹʮ͸ͯͳϒοΫϚʔΫషΓ෇͚ػೳʯΛ௥·ͨ͠എܠը૾ͷ܁Γฦ͠ͷઃఆͳ
    ͲɺσβΠϯɾΧελϚΠζػೳΛڧԽ͠·ͨ͠ϒϩάͷഎܠը૾ΛΞοϓϩʔυͰ͖ΔΑ͏ʹ͠·
    ͨ͠ϒϩάʹԿΛॻ͔͘ɺࣗ෼ͷπΠʔτ͔Β୳ͯ͠Έ·ͤΜ͔ʁฤूαΠυόʔʹ5XJUUFSషΓ
    ෇͚ػೳΛ௥Ճ͠·ͨ͠هࣄԼ෦෼ΛΧελϚΠζͰ͖ΔΑ͏ʹ͠·ͨ͠ػೳม
    ߋΞΫηεղੳػೳΛڧԽ͠·ͨ͠ϒϩάͷλΠτϧ෦෼ʹը૾ΛઃఆͰ͖ΔΑ͏ʹ͠·ͨ͠
    "NB[PO঎඼঺հػೳΛ௥Ճ͠·ͨ͠ϒϩάͷϔομͱϑολΛΧελϚΠζͰ͖
    ΔΑ͏ʹ͠·ͨ͠ػೳมߋ͸ͯͳϒϩά1SPͰಠࣗυϝΠϯΛઃఆͨ͠ࡍʹɺ͸ͯͳϒοΫϚʔΫ
    ͱ͸ͯͳελʔ΋Ҡߦ͢ΔͳͲͷػೳΛ௥Ճ͠·ͨ͠ػೳมߋαΠυόʔʮϓϩϑΟʔϧʯϞδϡ
    ʔϧʹࣗ༝هड़ཝΛઃ͚ΔͳͲػೳΛ௥Ճ͠·ͨ͠͸ͯͳμΠΞϦʔ͔Β͸ͯͳϒϩά΁ͷΠϯϙʔ
    τػೳΛ௥Ճ͠·ͨ͠هࣄ63-ΛΑΓॊೈʹઃఆͰ͖ΔػೳͳͲΛ௥Ճ͠·ͨ͠
    ػೳมߋαΠυόʔͷʮϓϩϑΟʔϧʯϞδϡʔϧʹɺ֤छιʔγϟϧϝσΟΞͷϑΥϩʔϘλϯදࣔػೳΛ௥Ճ͠·
    ͨ͠ػೳมߋεϚʔτϑΥϯ౤ߘɾฤूػೳΛ௥Ճ͠ɺ؅ཧը໘ΛϦχϡʔΞϧ͠·ͨ͠
    ίϝϯτঝೝػೳͳͲɺίϝϯτػೳΛڧԽ͠·ͨ͠ͱ΋ͩͪݶఆͳͲɺϒϩάͷ
    ެ։ൣғΛઃఆͰ͖ΔΑ͏ʹ͠·ͨ͠(PPHMF"OBMZUJDTରԠͳͲɺαΠτ؅ཧػೳΛ௥Ճ͠·͠
    ͨϝʔϧͰهࣄ͕౤ߘͰ͖ΔػೳΛ௥Ճ͠·ͨ͠αΠυόʔϞδϡʔϧʮϦϯ
    Ϋʯʮ࠷৽هࣄʯͷػೳΛڧԽ͠·ͨ͠৽͍͠αΠυόʔϞδϡʔϧΛ௥Ճ͠ɺαΠυόʔฤूػೳ
    ΛڧԽ͠·ͨ͠֎෦αΠτຒΊࠐΈػೳΛڧԽ͠ɺ5XJUUFSͷπΠʔτͳͲΛ؆୯ʹషΕΔΑ͏ʹ͠
    ·ͨ͠(PPHMF֤αʔϏεͷࣸਅ΍ಈըͳͲ͕؆୯ʹ঺հͰ͖ΔػೳΛ௥Ճ͠·ͨ͠
    هࣄͷ౤ߘ೔࣌ΛมߋͰ͖ΔΑ͏ʹ͠·ͨ͠Ωϟϯϖʔϯ͸ͯͳϒϩάͷ༗ྉϓϥ
    ϯʮ͸ͯͳϒϩά1SPʯΛϦϦʔεɺ௕କ5γϟπͷϓϨθϯτΩϟϯϖʔϯΛ։࠵ʮهࣄΧςΰϦ
    ि࿈ଓ
    ৽ػೳ
    ϦϦʔε

    View full-size slide

  6. 3FENJOF
    wϓϩδΣΫτ؅ཧιϑτ΢ΣΞ
    w3VCZPO3BJMT
    wػೳ͕๛෋
    wૢ࡞͕൥ࡶʢݸਓͷݟղͰ͢ʣ

    View full-size slide

  7. wࠓ୭͕ԿΛ΍͍ͬͯΔ͔ՄࢹԽ
    w࿙ΕΛͳ͘͢
    w؅ཧ͕໘౗ͰݏʹͳΒͳ͍
    1SPKFDU.BOBHFNFOU

    View full-size slide

  8. wͱʹ͔͘؆୯ʹJTTVFొ࿥
    w೔ৗ࢖͍ͬͯΔπʔϧ͔Β
    wϒϥ΢βͰ3FENJOF։͔ͳ͍
    wଉΛ͢ΔΑ͏ʹJTTVFొ࿥
    1SPKFDU.BOBHFNFOU

    View full-size slide

  9. *3$
    w*OUFSOFU3FMBZ$IBU
    wTJODF 3'$

    wރΕٕͨज़Ͱࣾ಺͕५͏
    wࣾ಺*3$͸ΤϯδχΞͷ೔ৗ

    View full-size slide

  10. hitode909: ϒϩάͰmarkdown࢖͍͍ͨ
    onishi: ࢖͍͍ͨʂRedmineʹొ࿥͠·͢ʂ
    onishi: Redmineʹొ࿥͠ͱ͍ͨΑʂ
    hitode909: ΍Γ·͢ɹ
    hitode909: ΍Γ·ͨ͠ɻϨϏϡʔ͓ئ͍͠·͢
    onishi: ͸΍ʂϨϏϡʔ͠·ͨ͠ɻ໰୊ͳ͍Α
    hitode909: ͋Γ͕ͱ͏͍͟͝·͢ɻϦϦʔε͠·ͨ͠
    UBMLPO*3$

    View full-size slide

  11. 3FDJQF
    w*3$αʔόʔ
    w3FENJOFαʔόʔ
    wઐ༻3FENJOFϢʔβʔ ؅ཧݖݶ

    w3&45"1*Λ༗ޮʹ͢Δ
    ؅ཧઃఆೝূ

    View full-size slide

  12. 3FENJOF$IBO
    use Redmine::Chan;
    my $minechan = Redmine::Chan->new(
    irc_server => 'your.irc.host',
    irc_port => 6667,
    irc_password => 'your_irc_password',
    irc_channels => {
    '#channel' => { project_id => 1 },
    },
    redmine_url => 'http://your.redmine.host/',
    redmine_api_key => 'redmine_api_key',
    );
    $minechan->cook;

    View full-size slide

  13. *3$$POpH
    use Redmine::Chan;
    my $minechan = Redmine::Chan->new(
    irc_server => 'your.irc.host',
    irc_port => 6667,
    irc_password => 'your_irc_password',
    irc_channels => {
    '#channel' => { project_id => 1 },
    },
    redmine_url => 'http://your.redmine.host/',
    redmine_api_key => 'redmine_api_key',
    );
    $minechan->cook;

    View full-size slide

  14. 3FMBUJPOTIJQ
    use Redmine::Chan;
    my $minechan = Redmine::Chan->new(
    irc_server => 'your.irc.host',
    irc_port => 6667,
    irc_password => 'your_irc_password',
    irc_channels => {
    '#channel' => { project_id => 1 },
    },
    redmine_url => 'http://your.redmine.host/',
    redmine_api_key => 'redmine_api_key',
    );
    $minechan->cook;

    View full-size slide

  15. 3FENJOF$POpH
    use Redmine::Chan;
    my $minechan = Redmine::Chan->new(
    irc_server => 'your.irc.host',
    irc_port => 6667,
    irc_password => 'your_irc_password',
    irc_channels => {
    '#channel' => { project_id => 1 },
    },
    redmine_url => 'http://your.redmine.host/',
    redmine_api_key => 'redmine_api_key',
    );
    $minechan->cook;

    View full-size slide

  16. 3VO
    use Redmine::Chan;
    my $minechan = Redmine::Chan->new(
    irc_server => 'your.irc.host',
    irc_port => 6667,
    irc_password => 'your_irc_password',
    irc_channels => {
    '#channel' => { project_id => 1 },
    },
    redmine_url => 'http://your.redmine.host/',
    redmine_api_key => 'redmine_api_key',
    );
    $minechan->cook; # run Ͱ΋Մ

    View full-size slide

  17. .PEVMFT
    "OZ&WFOU*3$$MJFOU
    8FC4FSWJDF4JNQMF

    View full-size slide

  18. ஫ҙ͜ͷޙɺ
    1FSMͷίʔυ͸
    ग़ͯདྷ·ͤΜ
    )08
    50
    64&

    View full-size slide

  19. $SFBUF*TTVF
    onishi: minechan: YAPCࢿྉ࡞Δ
    minechan: https://your.redmine
    .host/issues/123
    :[YAPCࢿྉ࡞Δ] [৽ن]

    View full-size slide

  20. 4IPX*TTVF
    onishi: #123
    minechan: https://your.redmine
    .host/issues/123
    :[YAPCࢿྉ࡞Δ] [৽ن]

    View full-size slide

  21. "TTJHO
    onishi: #123 > motemen
    minechan: https://your.redmine
    .host/issues/123
    :[YAPCࢿྉ࡞Δ] [motemen] [৽ن]

    View full-size slide

  22. /PUF
    onishi: IE6͸ޙͰ֬ೝ͢Δ > #123
    minechan: https://your.redmine
    .host/issues/123
    :[YAPCࢿྉ࡞Δ] [motemen] [৽ن]

    View full-size slide

  23. *TTVF$POEJUJPO
    "TTJHO MPHJOOBNF
    4UBUVT TUBUVTOBNF
    5SBDLFS USBDLFSOBNF
    %VF%BUF aE\^<>aE\ ^<>aE\ ^

    View full-size slide

  24. $IBOHFBUPODF
    onishi: #1 όά ਐߦத 2012/9/28
    minechan: https://your.redmine
    .host/issues/1 : [όά]
    [onishi] [ਐߦத] [2012-09-28]

    View full-size slide

  25. $IBOHFBUPODF
    onishi: #1 όά ਐߦத 2012/9/28
    minechan: https://your.redmine
    .host/issues/1 : [όά]
    [onishi] [ਐߦத] [2012-09-28]
    5SBDLFS

    View full-size slide

  26. $IBOHFBUPODF
    onishi: #1 όά ਐߦத 2012/9/28
    minechan: https://your.redmine
    .host/issues/1 : [όά]
    [onishi] [ਐߦத] [2012-09-28]
    4UBUVT

    View full-size slide

  27. $IBOHFBUPODF
    onishi: #1 όά ਐߦத 2012/9/28
    minechan: https://your.redmine
    .host/issues/1 : [όά]
    [onishi] [ਐߦத] [2012-09-28]
    %VF%BUF

    View full-size slide

  28. "VUP$POpH
    wVTFSTKTPO
    wJTTVF@TUBUVTFTKTPO
    wUSBDLFSTKTPO

    View full-size slide

  29. 3FMPBE$POpH
    onishi: reload
    minechan: reloaded.

    View full-size slide

  30. ೔ৗͷϓϩδΣΫτ؅ཧ

    View full-size slide

  31. ৽ن
    ਐߦத
    ϨϏϡʔґཔ
    ϨϏϡʔத
    ϦϦʔε଴ͪ
    ऴྃ
    ϨϏϡΞʔ
    ୲౰ऀ

    View full-size slide

  32. 3FENJOF$IBO
    ."/*"$4

    View full-size slide

  33. HJUEJGGNBTUFSCSBODI
    $VTUPN'JFMET

    View full-size slide

  34. $VTUPN'JFMET
    onishi: #123 origin/mybranch
    minechan: https://your.redmine
    .host/issues/123 : [mybranch]
    custom_field_prefix => {
    2 => [qw(origin/)], # branch
    },

    View full-size slide

  35. 4.&
    hitode909: ण͕࢘ճΔΑ͏ʹ͠·͠ΐ͏
    onishi: ͦΕΊͬͪΌ͑͑΍Μ
    onishi: minechan: ण͕࢘ճΔΑ͏ʹ͠·͠ΐ͏
    minechan: https://redmine/issues/123
    : [ण͕࢘ճΔΑ͏ʹ͠·͠ΐ͏]

    View full-size slide

  36. 4.&
    hitode909: ण͕࢘ճΔΑ͏ʹ͠·͠ΐ͏
    onishi: ͦΕΊͬͪΌ͑͑΍Μ
    onishi: minechan: ण͕࢘ճΔΑ͏ʹ͠·͠ΐ͏
    minechan: https://redmine/issues/123
    : [ण͕࢘ճΔΑ͏ʹ͠·͠ΐ͏]
    ίϐϖ

    View full-size slide


  37. hitode909: ण͕࢘ճΔΑ͏ʹ͠·͠ΐ͏
    onishi: ..ɹ
    minechan: https://redmine/issues/123
    : [ण͕࢘ճΔΑ͏ʹ͠·͠ΐ͏]

    View full-size slide

  38. .:"1*,&:
    onishi: aaa
    minechan: set key onishi : aaa
    QSJWNTHUPNJOFDIBO

    View full-size slide

  39. $VTUPNJ[F
    status_commands => {
    1 => [‘΍Ί·͢’],
    2 => [‘΍Γ·͢’],
    3 => [‘ϨϏϡʔ͓Ͷ͕͍͠·͢’],
    4 => [‘ϨϏϡʔ͠·͢’],
    5 => [‘ϨϏϡʔ͠·ͨ͠’],
    6 => [‘ϦϦʔε͠·ͨ͠’],
    },
    ৽ن
    ਐߦத
    ϨϏϡʔґཔ
    ϨϏϡʔத
    ϦϦʔε଴ͪ
    ऴྃ

    View full-size slide

  40. hitode909: ϒϩάͰmarkdown࢖͍͍ͨ
    onishi: ..ɹ
    minechan: http://redmine/issues/123ɹ
    hitode909: #123 ΍Γ·͢ɹ
    hitode909: #123 ϨϏϡʔ͓ئ͍͠·͢
    onishi: #123 ϨϏϡʔ͠·ͨ͠
    hitode909: #123 ͋Γ͕ͱ͏͍͟͝·͢ ϦϦʔε͠·ͨ͠
    .BOBHFMJLFUBMLJOH

    View full-size slide

  41. hitode909: ϒϩάͰmarkdown࢖͍͍ͨ
    onishi: ..ɹ
    minechan: http://redmine/issues/123ɹ
    hitode909: #123 ΍Γ·͢ɹ
    hitode909: #123 ϨϏϡʔ͓ئ͍͠·͢
    onishi: #123 ϨϏϡʔ͠·ͨ͠
    hitode909: #123 ͋Γ͕ͱ͏͍͟͝·͢ ϦϦʔε͠·ͨ͠
    ʲ*TTVFొ࿥ʳ
    .BOBHFMJLFUBMLJOH

    View full-size slide

  42. hitode909: ϒϩάͰmarkdown࢖͍͍ͨ
    onishi: ..ɹ
    minechan: http://redmine/issues/123ɹ
    hitode909: #123 ΍Γ·͢ɹ
    hitode909: #123 ϨϏϡʔ͓ئ͍͠·͢
    onishi: #123 ϨϏϡʔ͠·ͨ͠
    hitode909: #123 ͋Γ͕ͱ͏͍͟͝·͢ ϦϦʔε͠·ͨ͠
    ʲਐߦதʳ
    .BOBHFMJLFUBMLJOH

    View full-size slide

  43. hitode909: ϒϩάͰmarkdown࢖͍͍ͨ
    onishi: ..ɹ
    minechan: http://redmine/issues/123ɹ
    hitode909: #123 ΍Γ·͢ɹ
    hitode909: #123 ϨϏϡʔ͓ئ͍͠·͢
    onishi: #123 ϨϏϡʔ͠·ͨ͠
    hitode909: #123 ͋Γ͕ͱ͏͍͟͝·͢ ϦϦʔε͠·ͨ͠
    ʲϨϏϡʔ଴ͪʳ
    .BOBHFMJLFUBMLJOH

    View full-size slide

  44. hitode909: ϒϩάͰmarkdown࢖͍͍ͨ
    onishi: ..ɹ
    minechan: http://redmine/issues/123ɹ
    hitode909: #123 ΍Γ·͢ɹ
    hitode909: #123 ϨϏϡʔ͓ئ͍͠·͢
    onishi: #123 ϨϏϡʔ͠·ͨ͠
    hitode909: #123 ͋Γ͕ͱ͏͍͟͝·͢ ϦϦʔε͠·ͨ͠
    ʲϦϦʔε଴ͪʳ
    .BOBHFMJLFUBMLJOH

    View full-size slide

  45. hitode909: ϒϩάͰmarkdown࢖͍͍ͨ
    onishi: ..ɹ
    minechan: http://redmine/issues/123ɹ
    hitode909: #123 ΍Γ·͢ɹ
    hitode909: #123 ϨϏϡʔ͓ئ͍͠·͢
    onishi: #123 ϨϏϡʔ͠·ͨ͠
    hitode909: #123 ͋Γ͕ͱ͏͍͟͝·͢ ϦϦʔε͠·ͨ͠
    ʲऴྃʳ
    .BOBHFMJLFUBMLJOH

    View full-size slide

  46. OJDL*446& $SFBUF
    JE 4IPX
    JEBTTJOUSBDLFSTUBUVT
    EBUF
    6QEBUF
    OPUFJE /PUF
    SFMPBE 3FMPBE
    4.&

    View full-size slide

  47. 3FENJOF$IBOͰ
    w*TTVFʹؔ͢Δجຊૢ࡞Λ*3$্Ͱ
    w೔ৗͷϓϩδΣΫτ؅ཧΛ؆୯ʹ
    w؅ཧʹ൥Θ͞Εͣɺຊ࣭తͳ࢓ࣄΛ
    HJUIVCDPNPOJTIJ3FENJOF$IBO

    View full-size slide

  48. ؓ࿩
    ࠷ۙͷ͸ͯͳ

    View full-size slide

  49. ()&$IBO
    ͝ظ଴Լ͍͞

    View full-size slide

  50. ਓࡐืू
    w͸ͯͳͰ͸શ৬छΛืू͍ͯ͠·͢ʂ
    w౦ژΦϑΟεͰ΋ΤϯδχΞ࠾༻ʂ
    wҰॹʹϒϩάΛ࡞Γ·͠ΐ͏ʂ
    www.hatena.ne.jp/company/staff

    View full-size slide

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

    View full-size slide