Skip to content

Instantly share code, notes, and snippets.

@codefromthecrypt
Last active December 17, 2015 10:09
Show Gist options
  • Save codefromthecrypt/5592785 to your computer and use it in GitHub Desktop.
Save codefromthecrypt/5592785 to your computer and use it in GitHub Desktop.
How to get started in jclouds: the straw-man
1. send an email to subscribe to all lists out of the following:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
2. fork the jclouds org repos of interest (these are mirrors of https://git-wip-us.apache.org/repos/asf/incubator-REPO)
- https://github.com/jclouds/jclouds
- https://github.com/jclouds/jclouds-chef
- https://github.com/jclouds/jclouds-karaf
- https://github.com/jclouds/jclouds-cli
- https://github.com/jclouds/jclouds-labs
- https://github.com/jclouds/jclouds-labs-aws
- https://github.com/jclouds/jclouds-labs-google
- https://github.com/jclouds/jclouds-labs-openstack
3. note that issues are logged in jiras and referenced in your pull requests against ^^
- https://issues.apache.org/jira/browse/JCLOUDS
- if you need to be assigned to an issue, ask [email protected] to be added as a contributor
- https://issues.apache.org/jira/plugins/servlet/project-config/JCLOUDS/roles
- prefix commits with the issue id. ex. JCLOUDS-111. fix signature test for s3
- pull requests are checked by buildhive
- access is granted to collaborators in the org https://github.com/jclouds
- jobs are setup to execute maven goals: clean verify -e
- jobs notify [email protected]
- repositories are noted here: https://buildhive.cloudbees.com/view/My%20Repositories/job/jclouds/
- When a pull request has finished review, a committer can merge it by the following process.
1. note the commit ids you want from https://github.com/jclouds/jclouds/pull/XXX/commits
2. git clone https://git-wip-us.apache.org/repos/asf/incubator-jclouds.git
3. cd incubator-jclouds
4. git fetch https://github.com/USERNAME/jclouds.git BRANCH_FROM_PR
5. git cherry-pick COMMIT1 COMMIT2
6. mvn clean install
7. git push origin master
- if it needs to go into a feature branch like 1.6.x
1. git checkout -t -b 1.6.x origin/1.6.x
2. git cherry-pick COMMIT1 COMMIT2
3. git push origin 1.6.x
4. snapshots are published to https://repository.apache.org/content/groups/snapshots/ by cloudbees: https://jclouds.ci.cloudbees.com
- cloudbees access can be granted by sending an email to [email protected]
- branches 1.5.x 1.6.x and 1.7.x are deployed, including source and javadoc jars
- maven configuration is typically: -U clean deploy -e -Pdoc -Psrc
- failures notify [email protected]
- if the build breaks due to rat, add an Execute Shell post-step of: cat target/rat.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment