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

新機能作成時に開発ブランチに細かくmergeしていく戦略/merge-strategy-for...

shibayu36
August 07, 2017

 新機能作成時に開発ブランチに細かくmergeしていく戦略/merge-strategy-for-new-feature

shibayu36

August 07, 2017
Tweet

More Decks by shibayu36

Other Decks in Programming

Transcript

  1. sub endpoint { my ($req, $res) = @_; # λΠτϧͱઆ໌จΛrequest͔Β

    # ͜͜Ͱvalidate΋͢Δ my ($title, $desc) = validate( title => $req->param('title'), desc => $req->param('desc'), ); # titleͱdescriptionΛ౉͢ Logic::Blog->create(...) }
  2. # /feature1ͰΞΫηεͰ͖ΔΤϯυϙΠϯτ sub feature1 { my ($req, $res) = @_;

    # ։ൃ؀ڥͰͷΈONʹͳΔϑϥά # TODO(feature1_release): ϦϦʔεલʹফ͢ if (!$ENV{CAN_SHOW_NEW_FEATURE}) { return $res->not_found; } ... }
  3. # /feature1_renewalͰΞΫηεͰ͖ΔΤϯυϙΠϯτ sub feature1_renewal { my ($req, $res) = @_;

    # ։ൃ؀ڥͰͷΈONʹͳΔϑϥά # TODO(feature1_release): ϦϦʔεલʹফ͢ if (!$ENV{CAN_SHOW_NEW_FEATURE}) { return $res->not_found; } ... }
  4. • sub feature1_renewal -> sub feature1 • feature1_renewal.html -> feature1.html

    • lessͱ͔΋ҰؾʹҠಈ • ࠷ޙ͚ͩͪΐͬͱେมͰ͸͋Δ