Skip to content

Conversation

@ryotamoriyama
Copy link

coreを4.9.8にバージョンアップ
初期インストールプラグイン設定を追記

Copy link
Contributor

@ktogo ktogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Contributor

@ktogo ktogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PRは機能ごとに最小限の単位で切り出してください。

これには下記の利点があります:

  • ✔️ PRの粒度を小さくすることでレビュアーがレビューしやすくなる
  • ✔️ 1PR=1機能だと、機能ごとにMerge/Revertが可能になる

逆に1PRに複数機能を突っ込んでしまうと、下記のデメリットがあります:

  • ❌ 全機能がPR通過するまでMergeされない
  • ❌ なにか不具合があったときは機能すべてがRevertされる

なので、どんなケースでも原則としてPRは最小単位、1機能1PRにしましょう。

Copy link
Contributor

@ktogo ktogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

まだ機能が混在してるので、最小単位にPRの分割をお願いします!

(どのプロジェクトにも共通することなので、原則いかなるPRも最小単位で作成お願いします!)

WP_ROOT=/var/www/html
WP_URL=http://localhost
WP_VERSION=4.8.2
WP_VERSION=4.9.8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ああごめん…書き方悪かったかな、
これもまた別PRでお願いします!

どっちも依存関係のない修正 (=別々の機能) なので、
こういうものは基本的に個別のPRにしましょう。

というのも、仮に18行目の修正をRevertしなきゃならなくなったとき、
こっちの修正も一緒にRevertされることになっちゃうからです。

@ktogo
Copy link
Contributor

ktogo commented Sep 12, 2018

あ、あとPRのタイトルは「何を変えたか」ではなく「どう変更したか」にお願いします。

今回のケースなら

  • Wordpressのデフォルトバージョンを4.9.8に更新
  • Query MonitorとYoastをデフォルトでインストール

みたいな。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants