forked from eclipse-paho/paho.mqtt.java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update doc to match the master branch
- Loading branch information
Ian Craggs
committed
Jan 3, 2019
1 parent
c4892ac
commit f9171cd
Showing
3 changed files
with
196 additions
and
76 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Community Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
As members of the Eclipse community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting code reviews, pull requests, patches, and other activities. | ||
|
||
## Our Standards | ||
|
||
We are committed to making participation in the Eclipse community a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion or analogous grounds. | ||
|
||
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct. | ||
|
||
## Our Responsibilities | ||
|
||
Eclipse Foundation staff have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project leaders, committers and contributors who do not follow the Code of Conduct may be removed from the project. | ||
|
||
## Scope | ||
|
||
This code of conduct applies within Eclipse project spaces, or in public spaces when an individual is representing the project or the Eclipse community. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by emailing the Eclipse Management Organization: [email protected]. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the Contributor Covenant (http://contributor-covenant.org), version 1.1.0, available at http://contributor-covenant.org/version/1/1/0/ | ||
|
||
The Eclipse Code Of Conduct can also be viewed [here](https://eclipse.org/org/documents/Community_Code_of_Conduct.php). |
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 |
---|---|---|
@@ -1,66 +1,66 @@ | ||
# Contributing to Paho | ||
|
||
Thanks for your interest in this project! | ||
|
||
You can contribute bugfixes and new features by sending pull requests through GitHub. | ||
|
||
## Legal | ||
|
||
In order for your contribution to be accepted, it must comply with the Eclipse Foundation IP policy. | ||
|
||
Please read the [Eclipse Foundation policy on accepting contributions via Git](http://wiki.eclipse.org/Development_Resources/Contributing_via_Git). | ||
|
||
1. Sign the [Eclipse CLA](http://www.eclipse.org/legal/CLA.php) | ||
1. Register for an Eclipse Foundation User ID. You can register [here](https://dev.eclipse.org/site_login/createaccount.php). | ||
2. Log into the [Projects Portal](https://projects.eclipse.org/), and click on the '[Eclipse CLA](https://projects.eclipse.org/user/sign/cla)' link. | ||
2. Go to your [account settings](https://dev.eclipse.org/site_login/myaccount.php#open_tab_accountsettings) and add your GitHub username to your account. | ||
3. Make sure that you _sign-off_ your Git commits in the following format: | ||
``` Signed-off-by: John Smith <johnsmith@nowhere.com> ``` This is usually at the bottom of the commit message. You can automate this by adding the '-s' flag when you make the commits. e.g. ```git commit -s -m "Adding a cool feature"``` | ||
4. Ensure that the email address that you make your commits with is the same one you used to sign up to the Eclipse Foundation website with. | ||
|
||
## Contributing a change | ||
|
||
1. [Fork the repository on GitHub](https://github.com/eclipse/paho.mqtt.java/fork) | ||
2. Clone the forked repository onto your computer: ``` git clone https://github.com/<your username>/paho.mqtt.java.git ``` | ||
3. Create a new branch from the latest ```develop``` branch with ```git checkout -b YOUR_BRANCH_NAME origin/develop``` | ||
4. Make your changes | ||
5. If developing a new feature, make sure to include JUnit tests. | ||
6. Ensure that all new and existing tests pass. | ||
7. Commit the changes into the branch: ``` git commit -s ``` Make sure that your commit message is meaningful and describes your changes correctly. | ||
8. If you have a lot of commits for the change, squash them into a single / few commits. | ||
9. Push the changes in your branch to your forked repository. | ||
10. Finally, go to [https://github.com/eclipse/paho.mqtt.java](https://github.com/eclipse/paho.mqtt.java) and create a pull request from your "YOUR_BRANCH_NAME" branch to the ```develop``` one to request review and merge of the commits in your pushed branch. | ||
|
||
|
||
What happens next depends on the content of the patch. If it is 100% authored | ||
by the contributor and is less than 1000 lines (and meets the needs of the | ||
project), then it can be pulled into the main repository. If not, more steps | ||
are required. These are detailed in the | ||
[legal process poster](http://www.eclipse.org/legal/EclipseLegalProcessPoster.pdf). | ||
|
||
|
||
|
||
## Developer resources: | ||
|
||
|
||
Information regarding source code management, builds, coding standards, and more. | ||
|
||
- [https://projects.eclipse.org/projects/iot.paho/developer](https://projects.eclipse.org/projects/iot.paho/developer) | ||
|
||
Contact: | ||
-------- | ||
|
||
Contact the project developers via the project's development | ||
[mailing list](https://dev.eclipse.org/mailman/listinfo/paho-dev). | ||
|
||
Search for bugs: | ||
---------------- | ||
|
||
This project uses GitHub Issues here: [github.com/eclipse/paho.mqtt.java/issues](https://github.com/eclipse/paho.mqtt.java/issues) to track ongoing development and issues. | ||
|
||
Create a new bug: | ||
----------------- | ||
|
||
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome! | ||
|
||
- [Create new Paho bug](https://github.com/eclipse/paho.mqtt.java/issues/new) | ||
# Contributing to Paho | ||
|
||
Thanks for your interest in this project! | ||
|
||
You can contribute bugfixes and new features by sending pull requests through GitHub. | ||
|
||
## Legal | ||
|
||
In order for your contribution to be accepted, it must comply with the Eclipse Foundation IP policy. | ||
|
||
Please read the [Eclipse Foundation policy on accepting contributions via Git](http://wiki.eclipse.org/Development_Resources/Contributing_via_Git). | ||
|
||
1. Sign the [Eclipse ECA](http://www.eclipse.org/legal/ECA.php) | ||
1. Register for an Eclipse Foundation User ID. You can register [here](https://dev.eclipse.org/site_login/createaccount.php). | ||
2. Log into the [Eclipse projects forge](https://www.eclipse.org/contribute/cla), and click on 'Eclipse Contributor Agreement'. | ||
2. Go to your [account settings](https://dev.eclipse.org/site_login/myaccount.php#open_tab_accountsettings) and add your GitHub username to your account. | ||
3. Make sure that you _sign-off_ your Git commits in the following format: | ||
``` Signed-off-by: Alex Smith <alexsmith@nowhere.com> ``` This is usually at the bottom of the commit message. You can automate this by adding the '-s' flag when you make the commits. e.g. ```git commit -s -m "Adding a cool feature"``` | ||
4. Ensure that the email address that you make your commits with is the same one you used to sign up to the Eclipse Foundation website with. | ||
|
||
## Contributing a change | ||
|
||
1. [Fork the repository on GitHub](https://github.com/eclipse/paho.mqtt.java/fork) | ||
2. Clone the forked repository onto your computer: ``` git clone https://github.com/<your username>/paho.mqtt.java.git ``` | ||
3. Create a new branch from the latest ```develop``` branch with ```git checkout -b YOUR_BRANCH_NAME origin/develop``` | ||
4. Make your changes | ||
5. If developing a new feature, make sure to include JUnit tests. | ||
6. Ensure that all new and existing tests pass. | ||
7. Commit the changes into the branch: ``` git commit -s ``` Make sure that your commit message is meaningful and describes your changes correctly. | ||
8. If you have a lot of commits for the change, squash them into a single / few commits. | ||
9. Push the changes in your branch to your forked repository. | ||
10. Finally, go to [https://github.com/eclipse/paho.mqtt.java](https://github.com/eclipse/paho.mqtt.java) and create a pull request from your "YOUR_BRANCH_NAME" branch to the ```develop``` one to request review and merge of the commits in your pushed branch. | ||
|
||
|
||
What happens next depends on the content of the patch. If it is 100% authored | ||
by the contributor and is less than 1000 lines (and meets the needs of the | ||
project), then it can be pulled into the main repository. If not, more steps | ||
are required. These are detailed in the | ||
[legal process poster](http://www.eclipse.org/legal/EclipseLegalProcessPoster.pdf). | ||
|
||
|
||
|
||
## Developer resources: | ||
|
||
|
||
Information regarding source code management, builds, coding standards, and more. | ||
|
||
- [https://projects.eclipse.org/projects/iot.paho/developer](https://projects.eclipse.org/projects/iot.paho/developer) | ||
|
||
Contact: | ||
-------- | ||
|
||
Contact the project developers via the project's development | ||
[mailing list](https://dev.eclipse.org/mailman/listinfo/paho-dev). | ||
|
||
Search for bugs: | ||
---------------- | ||
|
||
This project uses GitHub Issues here: [github.com/eclipse/paho.mqtt.java/issues](https://github.com/eclipse/paho.mqtt.java/issues) to track ongoing development and issues. | ||
|
||
Create a new bug: | ||
----------------- | ||
|
||
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome! | ||
|
||
- [Create new Paho bug](https://github.com/eclipse/paho.mqtt.java/issues/new) |
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