Skip to content

Commit d5e9b32

Browse files
committed
Updated contributing.md file to conform with main ArangoDB contribution docs and included the CLA signing reference.
1 parent 2fc0d23 commit d5e9b32

File tree

1 file changed

+22
-27
lines changed

1 file changed

+22
-27
lines changed

CONTRIBUTING.md

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
11
# Contributing
22

3-
We welcome bug fixes and patches from 3rd party contributors.
3+
We welcome bug fixes and patches from 3rd party contributors. Please see the [Contributor Agreement](https://www.arangodb.com/documents/cla.pdf) for details.
44
Please follow these guidelines if you want to contribute to ArangoDB-PHP:
55

6-
## Getting started
76

8-
* Please make sure you have a GitHub account
9-
* Please look into the ArangoDB-PHP issue tracker on GitHub for similar/identical issues
10-
* For bugs: if the bug you found is not yet described in an existing issue, please file a new one. The new issue should include a clear description of the bug and how to reproduce it (including your environment)
11-
* For feature requests: please clearly describe the proposed feature, additional configuration options, and side effects
12-
* Please let us know if you plan to work an a ticket. This way we can make sure we avoid redundant work
7+
## Reporting Bugs
138

14-
* Create a fork of our repository. You can use GitHub to do this
15-
* Clone the fork to your development box and pull the latest changes from the ArangoDB-PHP repository. Please make sure to use the appropriate branch:
16-
* the "devel" branch is normally used for new features
17-
* bug fixes should be done in the "devel" first, before being applied to master or other branches
18-
* Make sure the ArangoDB version is the correct one to use with your client version. The client version follows the ArangoDB version. [More info on this, here.](https://github.com/arangodb/ArangoDB-PHP/wiki/Important-versioning-information-on-ArangoDB-PHP)
19-
* Make sure the unmodified clone works locally before making any code changes. You can do so by running the included test suite (phpunit --testsuite ArangoDB-PHP)
20-
* If you intend to do documentation changes, you also must install PHPDocumentor in the most recent version (Currently version 2).
9+
When reporting bugs, please use our issue tracker on GitHub.
10+
Please make sure to include the version number of ArangoDB and ArangoDB-PHP in your bug report, along with the platform you are using (e.g. `Linux OpenSuSE x86_64`, `PHP 5.4.15`).
11+
Please also include any special configuration.
12+
This will help us reproducing and finding bugs.
13+
14+
Please also take the time to check there are no similar/identical issues open yet.
2115

22-
## Making Changes
2316

24-
* Create a new branch in your fork
17+
18+
## Contributing features, documentation, tests
19+
20+
* Create a new branch in your fork, based on the devel branch
2521
* Develop and test your modifications there
2622
* Commit as you like, but preferably in logical chunks. Use meaningful commit messages and make sure you do not commit unnecessary files. It is normally a good idea to reference the issue number from the commit message so the issues will get updated automatically with comments
27-
* If the modifications change any documented behavior or add new features, document the changes. The documentation can be found in the 'docs' directory. To recreate the documentation locally, run 'phpdoc --force --title "ArangoDB PHP client API" -d ArangoDb/lib -t ArangoDb/docs'. This will re-create all documentation files in the docs directory in your repository. You can inspect the documentation in this folder using a text editor or a browser
23+
* Make sure the ArangoDB version is the correct one to use with your client version. The client version follows the ArangoDB version. [More info on this, here.](https://github.com/arangodb/ArangoDB-PHP/wiki/Important-versioning-information-on-ArangoDB-PHP)
24+
* Make sure the unmodified clone works locally before making any code changes. You can do so by running the included test suite (phpunit --testsuite ArangoDB-PHP)
25+
* If the modifications change any documented behavior or add new features, document the changes. The documentation can be found in the docs directory. To recreate the documentation locally, follow the steps in the next paragraph "Generating Documentation". This will re-create all documentation files in the docs directory in your repository. You can inspect the documentation in this folder using a browser. We recently agreed that future documentation should be written in American English (AE).
2826
* When done, run the complete test suite and make sure all tests pass
29-
* When finished, push the changes to your GitHub repository and send a pull request from your fork to the ArangoDB-PHP repository. Please make sure to select the appropriate branches there
30-
* You must use the Apache License for your changes
27+
* When finished, push the changes to your GitHub repository and send a pull request from your fork to the ArangoDB-PHP repository. Please make sure to select the appropriate branches there. This will most likely be **devel**.
28+
* You must use the Apache License for your changes and have signed our [CLA](https://www.arangodb.com/documents/cla.pdf). We cannot accept pull requests from contributors that did not sign the CLA.
29+
* Please let us know if you plan to work an a ticket. This way we can make sure we avoid redundant work
30+
31+
* For feature requests: please clearly describe the proposed feature, additional configuration options, and side effects
32+
3133

32-
## Documentation
34+
## Generating documentation
3335

3436
Documentation is generated with the apigen generator with the following parameters (beside the source and destination definition):
3537

@@ -44,13 +46,6 @@ php -f apigen.phar generate -s ./lib/triagens/ArangoDb -d ./docs --template-them
4446
```
4547

4648

47-
## Reporting Bugs
48-
49-
When reporting bugs, please use our issue tracker on GitHub.
50-
Please make sure to include the version number of ArangoDB and ArangoDB-PHP in your bug report, along with the platform you are using (e.g. `Linux OpenSuSE x86_64`, `PHP 5.4.15`).
51-
Please also include any special configuration.
52-
This will help us reproducing and finding bugs.
53-
5449
## Additional Resources
5550

5651
* [ArangoDB website](https://www.arangodb.com/)

0 commit comments

Comments
 (0)