You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+22-27Lines changed: 22 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,35 +1,37 @@
1
1
# Contributing
2
2
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.
4
4
Please follow these guidelines if you want to contribute to ArangoDB-PHP:
5
5
6
-
## Getting started
7
6
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
13
8
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.
21
15
22
-
## Making Changes
23
16
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
25
21
* Develop and test your modifications there
26
22
* 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).
28
26
* 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
+
31
33
32
-
## Documentation
34
+
## Generating documentation
33
35
34
36
Documentation is generated with the apigen generator with the following parameters (beside the source and destination definition):
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`).
0 commit comments