Please take a moment to read this document in order to make the contribution process easy and effective.
use the issues tracker for:
A bug is either a demonstrable problem that is caused in Magma failing to provide the expected feature or indicate missing, unclear, or misleading documentation. Good bug reports are extremely helpful - thank you! A Guidelines for bug reports:
-
Use the GitHub issue search — check if the issue has already been reported.
-
Check if the issue has been fixed — try to reproduce it using the
master
branch in the repository. -
Isolate and report the problem — ideally create a reduced test case.
Please try to be as detailed as possible in your report. Include information about your Operating System, as well as your java -version
. Please provide steps to reproduce the issue as well as the outcome you were expecting! All these details will help developers to fix any potential bugs.
Feature requests are welcome and should be discussed on issue tracker. But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the community of the merits of this feature. Please provide as much detail and context as possible.
Good pull requests - patches, improvements, new features - are a fantastic help. They should remain focused in scope and avoid containing unrelated commits.
IMPORTANT: By submitting a patch, you agree that your work will be licensed under the license used by the project.
If you have any large pull request in mind (e.g. implementing features, refactoring code, etc), please ask first otherwise you risk spending a lot of time working on something that the project's developers might not want to merge into the project.
Please adhere to the coding conventions in the project (indentation, accurate comments, etc.).
-
Fork the project.
-
You can use GitHub Desktop/GitKraken or clone using the terminal
git clone https://github.com/YOUR_GITHUB_USER/Magma.git
- Next you are gonna want to clone the submodule
git submodule update --init --recursive
-
Next open Intellij and import the project.
- Wait for the project to be synced
-
Now open the gradle tab and open the Magma Tasks and run the
forgegradle/setup task
.- This may take a few minutes go get a drink or make food.
-
Once it has finished the setup task reimport gradle using the refresh button on the gradle tab
-
Next import the build.gradle from the Magma/projects folder
-
Once imported refresh the gradle once more.
Only edit the code in the Projects/Magma Folder and the main SRC folder.
- First open the Edit Configurations and click the add button for application.
- Copy these Settings
- Finally click the run button
- First make sure you ran the genMagmaPatchs before running the
Magma/Tasks/launch4j/launch4j
- Your build should be in the
build/distributions