...
Master
should become the development branch for the next release (current sprint).master
. This way master
can be used to develop functionality of the next release. All release fixes get merged to release branch and then to master
.master
branch (or release branch if one exists - in this case changes get merged to release branch and then to master
branch). Changes get merged to master
branch of the project Git via patch validation process described here - How to Contributeat Contribution ways.master
(or release) branch....
+------------+ +---------------+ +-----------------+
...
+-----------------+
To start:
You will need to update a local master sometimes (to merge to your development branches sometimes). How to do it:
Add remote for Apache Ignite mirror (you need to do it once)
git remote add upstream https://github.com/apache/ignite.git
Each time when you want to update your local master do next:
git checkout master
git pull upstream
...
In additional to contributors configuration, commiters need to have one more remote - for working with Apache Git repo. It can be added like this:
...
git fetch upstream pull/<id>/head:pull-<id>-head
git merge --squash pull-<id>-head
git commit --author=“<saved_author>" -s -m “<comment> - Fixes #<id>.”
Now, you will have one commit at master with all changes from pull-request. Changes can be reviewed again. If you accept all changes and want to push it, do next:
git push apache master
You can start by cloning the Ignite GIT repo.
Info | ||
---|---|---|
| ||
git clone https: //git-wip-us .apache.org /repos/asf/incubator-ignite |
We use git as our version control system. To streamline the process of giving proper credit to the contributors when committing patches, we encourage contributors to submit patches generated using "git format-patch"
command. This has many benefits:
...
Info | ||||
---|---|---|---|---|
| ||||
Note: All TC test builds can be triggered manually via "Ignite/ -> Run All for patch" (by 'Jira number'). A comment will be added to the jira with all new triggered builds. |
Contributor patches have to be applied by next command.
...