Contributing to IDE Modules
All IDE modules are located in the DirigibleLabs GitHub organization. Sample repositories, used for showing how to create Eclipse Dirigible modules, starts with the sample-
prefix.
Prerequisites
- Make sure you have permissions to commit in
DirigibleLabs
. - PR are also accepted.
Commit Change to DirigibleLabs Organization
-
Go to DirigibleLabs and copy the url to the IDE project you will contribute to.
-
Start Eclipse Dirigible.
Info
You can find more information on how to do that by following:
- Getting Started section.
- Setup section.
-
Go to the
Git
perspective and click onClone Project
button.- Enter the
URL
of the IDE project and clickClone
. - The project will appear under the git project list.
- Enter the
-
Go to the
Workspace
perspective and make your changes.- To be 100% sure all changes are saved and applied, right click on the project and select
Publish
. Now you can test the changes locally. - After the changes are tested you can submit them.
- To be 100% sure all changes are saved and applied, right click on the project and select
-
Open the
Git
perspective, click on the project and select theStage
tab.- Select the changed files and use the down arrow button to stage them.
- Enter
Commit Message
. - Enter your
Username
,Email
,Password
and clickCommit and Push
.
GitHub Personal Access Token (PAT)
In case your profile has
two-factor authentication
, for thePassword
field use your GitHubPersonal Access Token (PAT)
.- Creating a personal access token - GitHub Docs.
- Select all scopes.
- Copy and save your token, because after you navigate off the page, you will not be able to see the token again.
- Go to the IDE project github page and make sure your changes were committed.
Commit Change to Eclipse Dirigible Repository
-
Fork the Eclipse Dirigible git repository into your account.
- Pull the forked project locally.
Note
If you have done this before and now have to push new changes, make sure to checkout the
master
branch, fetch all changes from the original repository in GitHub and pull them locally.- Checkout to a new branch by giving it either a topic name or a name starting with
fix-
followed by the issue number.
-
Execute
mvn clean install -P content
in the ide module root directory.- You can also execute this for the whole project but that will pull the changes from all modules.
- Execute
mvn clean install
in the same module. - You should see your changes that you already committed in the
DirigibleLabs
project.
-
Add, commit and push only the files that you have changed.
- When committing, never forget to sign off you commit using the
-s
argument. - You can use the
git status
command, to see all changed files. - Create a PR to the
master
branch.
- When committing, never forget to sign off you commit using the