Open
Conversation
ktogo
suggested changes
Sep 11, 2018
Contributor
ktogo
left a comment
There was a problem hiding this comment.
PRは機能ごとに最小限の単位で切り出してください。
これには下記の利点があります:
- ✔️ PRの粒度を小さくすることでレビュアーがレビューしやすくなる
- ✔️ 1PR=1機能だと、機能ごとにMerge/Revertが可能になる
逆に1PRに複数機能を突っ込んでしまうと、下記のデメリットがあります:
- ❌ 全機能がPR通過するまでMergeされない
- ❌ なにか不具合があったときは機能すべてがRevertされる
なので、どんなケースでも原則としてPRは最小単位、1機能1PRにしましょう。
ktogo
suggested changes
Sep 12, 2018
Contributor
ktogo
left a comment
There was a problem hiding this comment.
まだ機能が混在してるので、最小単位にPRの分割をお願いします!
(どのプロジェクトにも共通することなので、原則いかなるPRも最小単位で作成お願いします!)
| WP_ROOT=/var/www/html | ||
| WP_URL=http://localhost | ||
| WP_VERSION=4.8.2 | ||
| WP_VERSION=4.9.8 |
Contributor
There was a problem hiding this comment.
ああごめん…書き方悪かったかな、
これもまた別PRでお願いします!
どっちも依存関係のない修正 (=別々の機能) なので、
こういうものは基本的に個別のPRにしましょう。
というのも、仮に18行目の修正をRevertしなきゃならなくなったとき、
こっちの修正も一緒にRevertされることになっちゃうからです。
Contributor
|
あ、あとPRのタイトルは「何を変えたか」ではなく「どう変更したか」にお願いします。 今回のケースなら
みたいな。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
coreを4.9.8にバージョンアップ
初期インストールプラグイン設定を追記