We appreciate contributions from the community, helping to make this library better for everyone who uses it.
- Fork this repository
- Clone your fork to your local machine
- (Optional but helpful) Create a branch for your changes with
git checkout -b branchname
. Make your branchname short but descriptive, egadd_contribution_doc
- Make sure you've a JDK installed, along with Maven, and all the appropriate ENV Vars set
- Code Changes should be accompanied by documentation (if new features) and tests
- Run the JUnit tests with
mvn test
if appropriate - Once they all pass, you're gold!
- List changed files with
git status
- Add relevant changed files to your commit with
git add filename
- Start your commit with
git commit
- Write a good commit message. Good messages have a short title describing what changed, as well as a longer message summarising the changes with any context required. If fixing a lodged issue, mention this in the title
- Try to commit atomic bug fixes or features, or at least a related set of features
git push
to send your commands back to Github- Visit your repo on Github and click then
Pull Request
button - If required, fill in a PR request. Treat it like a commit message; A short title describing what changed, as well as a longer message summarising changes with any context required. If fixing a lodged issue, include this in the title
- Send the Pull Request
We highly encourage users to send PRs and updates that the community might find useful. However, you might want to use a personal release if you're waiting for fixes to be built into a release, to test complicated behaviour, or for company-specific changes.
One way of doing this is to take a copy of the source and install it locally by doing
mvn install
from the repository root.
You can then update the pom file for your target project so that you're checking out your build version:
<dependencies>
<dependency>
<groupId>com.saucelabs</groupId>
<artifactId>saucerest</artifactId>
<version>1.0.38-SNAPSHOT</version>
</dependency>
</dependencies>
Get the value of the VERSION from the version key in the saucerest-java pom file. ATM it's on line 6: <version>1.0.38-SNAPSHOT</version>
.
You may need to give it a custom version.