-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
89 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 運営ドキュメント | ||
|
||
**このリポジトリはtransfer repositoryの機能により、そのまま公開されます。オープンソースソフトウェア開発と同様のルールで開発してください。** | ||
|
||
## インストール方法 | ||
|
||
```bash | ||
$ git clone git@github.com:catatsuy/isucon9-qualify.git ~/go/src/github.com/isucon/isucon9-qualify | ||
``` | ||
|
||
## マージ方針 | ||
|
||
* 機能はディレクトリ毎に分かれているので、各ディレクトリの主担当者がディレクトリ内のファイルをいじる分にはmasterに直pushしてよい | ||
* とにかくコードがないと何も進まないし、あとで変更もできるため | ||
* PRを作ってもよいがレビューなしにmergeしてもよい | ||
* もちろんレビューを求めてもよい | ||
* 主担当ではないものや他の人に影響を与える変更は必ずPRを作り、他の人に確認を取ること | ||
|
||
## 参考実装移植について | ||
|
||
* 実装は`webapp`ディレクトリ以下に各言語名でディレクトリを作って、その中で実装 | ||
* 基本はマージ方針に従って開発して欲しいですが、PRは作ってください | ||
* GoがマスターなのでGoの実装に従って実装してください | ||
* バージョンは基本的に実装開始時の最新版を使う | ||
* 同じ挙動にするために無理な実装をする必要がある場合は相談してください | ||
* Goは異常系を全部記述する必要がありますが、他の言語だとそもそも記述しないで曖昧にすることが多いと思います | ||
* 他の言語への移植が厳しそうな実装は避けているつもりですが、完全に把握しているわけではないので相談してください | ||
* 各言語で自然な実装にすることを心がけてください | ||
* 今回パスワードのハッシュ化にbcryptを使用していますが、PHPではデフォルトのため `password_hash` `password_verify` に置き換えるだけで利用可能です | ||
* `secureRandomStr`という関数をGoでは作っていますが、Rubyなら`SecureRandom.hex`を呼ぶだけでいいはずです | ||
* ライブラリ選定は過去のISUCONの実装も参考にしつつ、各言語で一般的なものを極力選んでください | ||
* 初期実装やベンチマーカーの挙動で気になることがあれば教えてください | ||
* 例年実装移植中に問題が見つかります |