You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Note: This page is work in progress.

This workflow is modeled after Spark Contributing to Spark

There are many ways to contribute to Rya. We'll try to document them here.

 

To report a bug/propose work:

-create a JIRA ticket for the issue, using the Apache JIRA system: https://issues.apache.org/jira/browse/RYA (new users need to create a user account)

To contribute code:

-find/file the JIRA ticket for that topic
-fork the code from the Github Apache repository https://github.com/apache/incubator-rya
-clone the fork, create a new branch, push commits to the branch
-create a pull request and add it to the JIRA ticket

-a committer will look at it and integrate it in the code /or not

Commit Process for Committers:

Step 0: Clone and Update your local copy of Apache Rya-Incubator repository

Step 1: Check out a new branch that starts from develop and reference the Jira Ticket Number.

Step 2: Pull in the changes from the GitHub Pull Request and test the changes.

Step 3: Merge the changes back into develop, and push changes back to Apache.

 

The Example below demonstrates merging in a pull request from GitHub into the Apache Rya-Incubator repository. This specific Pull Request used for this example is here

Step 0.1: Clone the Apache Rya-Incubator repository

git clone https://git-wip-us.apache.org/repos/asf/incubator-rya.git incubator-rya-apache

Step 0.2: Update your repository

git checkout develop
git pull

Step 1: Check out a new branch that starts from develop and reference the Jira Ticket Number.

git checkout -b RYA-3 develop

Step 2: Pull in the changes from the GitHub Pull Request and test the changes.  Note that in the example, the GitHub Pull Request is from the amihalik GitHub repo, and from the mihalik/RYA-3 branch.

git pull git@github.com:amihalik/incubator-rya.git mihalik/RYA-3

Step 2.1: Test the changes

mvn clean install -Pindexing

Step 2.2: Test the License Requirements

mvn apache-rat:check -Pindexing

Step 3: Merge the changes back into develop, and push changes back to Apache.

git checkout develop
git merge RYA-3
git push origin develop

Note that this will automatically close the Pull Request in GitHub. You will have to manually close the issue in Jira.


  • No labels