From 0358c2ebdb7e56694872ceac61f820f39fb2c17b Mon Sep 17 00:00:00 2001 From: Alex Denisov <1101.debian@gmail.com> Date: Mon, 17 Sep 2012 20:42:18 +0300 Subject: [PATCH 1/2] CONTRIBUTING.md copied from wiki pages --- CONTRIBUTING.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..487aa193 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,30 @@ +## Contribute to Gitlab + +If you want to contribute to Gitlab, follow this process: + +1. Fork the project +2. Create a feature branch +3. Code +4. Create a pull request + +We only accept pull requests if: + +* Your code has proper tests and all tests pass +* Your code can be merged w/o problems +* It wont broke existing functionality +* Its a quality code +* We like it :) + +## [You may need a developer VM](https://github.com/gitlabhq/developer-vm) + +## Running tests + +To run the specs for Gitlab, you need to run seeds for test db. + + cd gitlabhq + rake db:seed_fu RAILS_ENV=test + +Then you can run the test suite with rake: + + rake gitlab:test + From aeb87d8f1dc9de89e8ff9ff367c8d50e7dc817de Mon Sep 17 00:00:00 2001 From: Alex Denisov <1101.debian@gmail.com> Date: Mon, 17 Sep 2012 21:38:08 +0300 Subject: [PATCH 2/2] Gitlab => GitLab --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 487aa193..9041530d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ -## Contribute to Gitlab +## Contribute to GitLab -If you want to contribute to Gitlab, follow this process: +If you want to contribute to GitLab, follow this process: 1. Fork the project 2. Create a feature branch @@ -19,7 +19,7 @@ We only accept pull requests if: ## Running tests -To run the specs for Gitlab, you need to run seeds for test db. +To run the specs for GitLab, you need to run seeds for test db. cd gitlabhq rake db:seed_fu RAILS_ENV=test