Skip to content

Commit 4c7baca

Browse files
committed
Added contributor guidelines and history file
1 parent a690f14 commit 4c7baca

File tree

2 files changed

+75
-0
lines changed

2 files changed

+75
-0
lines changed

CONTRIBUTING.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
## About to create a new Github Issue?
2+
3+
We appreciate that. But before you do, please learn our basic rules:
4+
5+
* This is not a support or discussion forum. If you have a question, please ask it on [The Cukes Google Group](http://groups.google.com/group/cukes).
6+
* Do you have a feature request? Then don't expect it to be implemented unless you or someone else sends a [pull request](https://help.github.com/articles/using-pull-requests).
7+
* Reporting a bug? We need to know what compiler, operating system and architecture (32 or 64 bit) you are using, including versions of all libraries. Bugs with [pull requests](https://help.github.com/articles/using-pull-requests) get fixed quicker. Some bugs may never be fixed.
8+
* You have to tell us how to reproduce a bug. Bonus point for a [pull request](https://help.github.com/articles/using-pull-requests) with a failing test that reproduces the bug.
9+
* Want to paste some code or output? Put \`\`\` on a line above and below your code/output. See [GFM](https://help.github.com/articles/github-flavored-markdown)'s *Fenced Code Blocks* for details.
10+
* We love [pull requests](https://help.github.com/articles/using-pull-requests), but if you don't have a test to go with it we probably won't merge it.
11+
12+
## Contributing
13+
14+
Before you can contribute, you have to be able to build the source and run tests.
15+
16+
### The Github Process
17+
18+
The process for using git/github is similar to the [Github-Flow](http://scottchacon.com/2011/08/31/github-flow.html)
19+
20+
* **Anything** in the master branch is good enough to release
21+
* Working on nontrivial features
22+
+ Create a descriptively named branch off of master
23+
+ Commit to that branch locally and regularly
24+
+ Push your work to the same named branch on the server
25+
+ Regularly rebase this branch from master to keep it up to date
26+
* Open a pull request
27+
+ When you need feedback or help
28+
+ You think the branch is ready for merging (you can use the [hub](https://github.com/defunkt/hub#git-pull-request) command-line tool)
29+
* For any nontrivial change, even if you have the rights to merge the pull request yourself, wait before someone else has reviewed and agreed on the change
30+
31+
Here is an [Example](https://github.com/cucumber/bool/pull/12) of this process in action
32+
33+
#### Tips for good commits
34+
35+
1. Read up on [Github Flavored Markdown](https://help.github.com/articles/github-flavored-markdown)
36+
+ Especially links and syntax highlighting. GFM can be used in tickets as well as commit messages (e.g. put "#4" somewhere in a commit message to link ticket 4 to that commit
37+
2. Close tickets with commits if you can
38+
+ Add "Closes #5, #9" somewhere in the commit message to both link and close. See [Issues 2.0 the Next Generation](https://github.com/blog/831-issues-2-0-the-next-generation) for details.
39+
+ Use [this script](https://gist.github.com/aslakhellesoy/4754009) to compile and view GFM locally
40+
3. Tag issues so we can do better triage and assignment.
41+
+ People tend to gravitate towards areas of expertise and tags makes it easier to give a ticket to the right person.
42+
4. Update HISTORY.md
43+
+ When you fix a bug or add a feature
44+
+ Add release dates
45+
5. Subscribe to ticket feeds so you stay in the loop and get a chance to provide feedback on tickets
46+
6. The code standard is the existing code
47+
+ Use the same indentation, spacing, line ending, ASCII for source code, UTF-8 everywhere else
48+
7. Use git diff (or git diff --cached if you have staged) before every commit
49+
+ This helps you avoid committing changes you didn't mean to
50+

HISTORY.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## In Git
2+
3+
### New Features
4+
5+
* Replaced USING_CONTEXT with ScenarioScope<T> ([27256e9](https://github.com/cucumber/cucumber-cpp/commit/27256e932c75e9d4d57d4839042317e6a04cfe46) Paolo Ambrosio)
6+
* Changed include name from core.hpp to defs.hpp ([5bbac06](https://github.com/cucumber/cucumber-cpp/commit/5bbac062e19dcf9de2761f4ded115aa7212c14d7) Paolo Ambrosio)
7+
* Project rename from CukeBins to Cucumber-Cpp ([efecfd0](https://github.com/cucumber/cucumber-cpp/commit/efecfd0813efa1b6d406c2fd0cd03d8a84bed3ff) Paolo Ambrosio)
8+
9+
### Bugfixes
10+
11+
* Fixed socket server bug in VS2012 forcing Boost 1.51 ([#57](https://github.com/cucumber/cucumber-cpp/pull/57) Jared Szechy, [e41a9b7](https://github.com/cucumber/cucumber-cpp/commit/e681c5028a756d8f711574a86e84ca8b98333d5c) Paolo Ambrosio)
12+
* Fixed crashes on some architectures ([#52](https://github.com/cucumber/cucumber-cpp/pull/52) Sabst)
13+
* Fixed AFTER hook ordering issue ([#43](https://github.com/cucumber/cucumber-cpp/pull/43) Greg Williams)
14+
* Added default empty constructor to work with less permissive gcc 4.6 settings ([#38](https://github.com/cucumber/cucumber-cpp/pull/38) Hugo Ferreira)
15+
16+
17+
## [0.2](https://github.com/cucumber/cucumber-cpp/compare/v0.1...v0.2) (25 June 2011)
18+
19+
TODO
20+
21+
22+
## [0.1](https://github.com/cucumber/cucumber-cpp/commits/v0.1) (03 May 2010)
23+
24+
* Initial implementation
25+

0 commit comments

Comments
 (0)