forked from yiisoft/yii2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/internals-ja - reviewed [ci skip]
- Loading branch information
Showing
6 changed files
with
49 additions
and
64 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
Yii 2 寄稿者のための Git ワークフロー | ||
===================================== | ||
|
||
Yii の開発に寄稿したい、ですって? すばらしい! けれども、あなたの修正案が速やかに採用されるチャンスを増やすためには、 | ||
以下のステップを踏むようにしてください (最初の二つのステップは最初に寄稿するときにだけ必要になります)。 | ||
あなたが git と github については初めてだという場合は、最初に [github help](http://help.github.com/) や [try git](https://try.github.com) を精査したり、 | ||
[git internal data model](http://nfarina.com/post/9868516270/git-is-simpler) についていくらか学習したりする必要があるかもしれません。 | ||
Yii の開発に寄稿したい、ですって? すばらしい! | ||
けれども、あなたの修正案が速やかに採用されるチャンスを増やすためには、以下のステップを踏むようにしてください (最初の二つのステップは最初に寄稿するときにだけ必要になります)。 | ||
あなたが git と github については初めてだという場合は、最初に [github help](http://help.github.com/) や [try git](https://try.github.com) を精査したり、[git internal data model](http://nfarina.com/post/9868516270/git-is-simpler) についていくらか学習したりする必要があるかもしれません。 | ||
|
||
### 1. github で Yii リポジトリを [Fork](http://help.github.com/fork-a-repo/) し、あなたのフォークをあなたの開発環境にクローンする | ||
|
||
``` | ||
git clone [email protected]:YOUR-GITHUB-USERNAME/yii2.git | ||
``` | ||
|
||
Linux において、GitHub で GIT を設定するのに問題が生じたり、"Permission Denied (publickey)" のようなエラーが発生したりする場合は、 | ||
[setup your GIT installation to work with GitHub](http://help.github.com/linux-set-up-git/) に従ってください。 | ||
Linux において、GitHub で GIT を設定するのに問題が生じたり、"Permission Denied (publickey)" のようなエラーが発生したりする場合は、[setup your GIT installation to work with GitHub](http://help.github.com/linux-set-up-git/) に従ってください。 | ||
|
||
### 2. メインの Yii リポジトリを "upstream" という名前でリモートとして追加する | ||
|
||
Yii をクローンしたディレクトリ、通常は "yii2" に入ります。そして、以下のコマンドを打ち込みます: | ||
Yii をクローンしたディレクトリ、通常は "yii2" に入って、以下のコマンドを打ち込みます。 | ||
|
||
``` | ||
git remote add upstream git://github.com/yiisoft/yii2.git | ||
``` | ||
|
||
### 3. あなたが取り組んでいる問題が、修正するために著しい努力を要求するものである場合は、それに対する課題(issue)が作成されていることを確認する | ||
### 3. あなたが取り組んでいる問題が、修正するために著しい努力を要求するものである場合は、それに対する課題 (issue) が作成されていることを確認する | ||
|
||
全ての新機能とバグ修正は、議論とドキュメントのための単一の参照ポイントを提供するために、それに結びつく課題を持つべきです。 | ||
全ての新機能とバグ修正は、議論とドキュメントのための単一の参照ポイントを提供するために、それに結びつく課題 (issue) を持つべきです。 | ||
数分間時間を取って、既存の課題リストに目を通し、あなたが寄稿しようとしている問題に合致するものが無いかどうか調べてください。 | ||
もし課題リストにすでに挙っているのを見つけた場合は、その課題にコメントを残して、あなたがその項目について取り組もうとしていることを示してください。 | ||
あなたが取り組もうとしている問題に合致する既存の課題が見つからなかった場合は、新しい課題を作成してください。単純な修正であれば、直接にプルリクエストをしてください。 | ||
あなたが取り組もうとしている問題に合致する既存の課題が見つからなかった場合は、新しい課題を作成してください。 | ||
単純な修正であれば、直接にプルリクエストをしてください。 | ||
こうすることで、開発チームはあなたの提案をレビューし、将来にわたって適切なフィードバックを提供することが可能になります。 | ||
|
||
> 小さな変更や、ドキュメントの問題、または単純な修正については、課題を作成する必要はありません。それらについては、プルリクエストだけで十分です。 | ||
> 小さな変更や、ドキュメントの問題、または単純な修正については、課題を作成する必要はありません。 | ||
それらについては、プルリクエストだけで十分です。 | ||
|
||
### 4. メインの Yii ブランチから最新のコードをフェッチする | ||
|
||
|
@@ -59,8 +59,8 @@ git checkout -b 999-name-of-your-branch-goes-here | |
|
||
動くことを確認してくださいね :) | ||
|
||
ユニットテストは常に歓迎されます。テストされ、十分にカバーされたコードは、あなたの寄稿をチェックするタスクを非常に単純化してくれます。 | ||
ユニットテストの失敗を中身とする課題を立てることも許容されています。 | ||
単体テストは常に歓迎されます。テストされ、十分にカバーされたコードは、あなたの寄稿をチェックするタスクを非常に単純化してくれます。 | ||
単体テストの失敗を中身とする課題を立てることも許容されています。 | ||
|
||
### 7. CHANGELOG を更新する | ||
|
||
|
@@ -143,8 +143,7 @@ git push origin --delete 999-name-of-your-branch-goes-here | |
### 注意: | ||
|
||
退行 (regression) を早期に発見するために、github 上の Yii コードベースへのマージは、すべて [Travis CI](http://travis-ci.org) に取り上げられて、自動化されたテストにかけられます。 | ||
コアチームとしては、このサービスに過大な負担をかけたくないために、 | ||
以下の場合にはマージの説明に [`[ci skip]`](http://about.travis-ci.org/docs/user/how-to-skip-a-build/) が含まれるようにしてください。 | ||
コアチームとしては、このサービスに過大な負担をかけたくないために、以下の場合にはマージの説明に [`[ci skip]`](http://about.travis-ci.org/docs/user/how-to-skip-a-build/) が含まれるようにしてください。 | ||
すなわち、プルリクエストが、 | ||
|
||
* javascript、css または画像ファイルだけに影響する場合 | ||
|
Oops, something went wrong.