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

0ac642c69b7f699a69e3ae3372244dc6?s=47 shibayu36
August 07, 2017

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

0ac642c69b7f699a69e3ae3372244dc6?s=128

shibayu36

August 07, 2017
Tweet

Transcript

  1. 8.
  2. 24.

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

    # ͜͜Ͱvalidate΋͢Δ my ($title, $desc) = validate( title => $req->param('title'), desc => $req->param('desc'), ); # titleͱdescriptionΛ౉͢ Logic::Blog->create(...) }
  3. 33.

    # /feature1ͰΞΫηεͰ͖ΔΤϯυϙΠϯτ sub feature1 { my ($req, $res) = @_;

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

    # /feature1_renewalͰΞΫηεͰ͖ΔΤϯυϙΠϯτ sub feature1_renewal { my ($req, $res) = @_;

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

    • sub feature1_renewal -> sub feature1 • feature1_renewal.html -> feature1.html

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