Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Eclipse Titan
Wiki page for Eclipse Titan [1]
Contents
Simplified contributor workflow( to be applied when agreed previously)
Prerequisites
Working git setup
Registration with GitHub (don’t forget to add your ssh public key!)
Registration with Eclipse (in the registration form, you will have to indicate your GitHub Id) and signed CLA
Create your own Fork on GitHub
Log in to GitHub
Find the titan repository you want to contribute to , e.g. "eclipse/titan.misc"
Click on “Fork” button on the top right
You should be redirected to <username>/titan.misc repository;
Clone your GitHub repo and make the changes
Clone the repo
git clone <username>@github.com:/<username>/titan.core.git
or
git clone https://github.com/<username>/titan.misc
Modify the files and compile
Important!! Test your changes
For every new change tests should be added; the test code should also be committed together with the code changes
Later in the PullRequest please include a statement about the successful execution of the tests.
Add and commit the changes
Use “git add” to add changed files to the commit:
git add -A
When committing the changes to the local repo don’t forget to use the “-s” (sign-off) flag
git commit -s -m “CommitMessage”
Push the changes using the following command:
git push
Create a Pull Request on GitHub
Select the eclipse/titan.misc repo
Click on “New Pull Request”
Click on “compare across forks”
Set Your fork repo as
Head repo (2)
Create Pull Request
The request will be merged by one of the committers of the project.
Delete the forked repo
In order to start with a clean and synchronized state next time we suggest to delete the forked repo after the PullRequest has been merged.