Bug reports are submited through GitHub Issues.
- Use a clear and descriptive title
- Describe the steps to reproduce the bug
- Attach the logs
- Describe the expected behaviour
- Be as specific as possible
- Specify which version of DRLM you're using
- Specify which OS you're using (both the server and the client)
If you want to fix a bug, you have to follow this steps:
Fork DRLM
First of all you need to Fork DRLM with your GitHub account
Clone your fork of DRLM
Now you need to clone your DRLM fork:
git clone https://github.com/<username>/drlm && cd drlmInitialize Git Flow
Now you need to initialize Git Flow on your local repository:
git flow initNote: When Git Flow asks for the production releases branch, type
masterCreate the new branch
First you need to After initializing Git Flow, you need to create the branch you are going to work with. The new version number is the same as the latest, but increasing by 1 the last number:
git flow hotfix start <new.version.number>For example, assuming latest version is 2.2.1:
git flow hotfix start 2.2.2Fix the bug
When commiting the changes, add a descriptive title and a brief description of what you have changed
Make the Pull Request
When all you work is ready, you need to create the Pull Request. First you'll need to publish the branch:
git flow hotfix publishAfter publishing the branch, go to the Brain Updaters DRLM repository and make a new Pull Request from your
feature/<feature-name>branch of your fork to thedevelopbranch. Don't worry, we'll change your Pull Request to the correct branch. You might need to clickcompare between forks.Note: in case you face merge conficts, you'll need to Update your fork and resolve the conficts locally. Note: in case you commit changes after executing
git flow hotfix publish, you'll need to executegit pushin order to upload your latest changes to the Pull RequestCleanup
After the Pull Request is merged, remember to remove the branch in your local repository and in the GitHub.
To delete the local branch, you need to execute:
git checkout develop && git branch -d feature/<feature-name>To delete the remote branch, you need to go to your fork page (
https://github.com/<your-username>/drlm), click inbranches, next to the commits number, find your branch and delete it.Or do it directly through the command line:
git push --delete feature/<feature-name>
Suggestions are submited through GitHub Issues.
- Use a clear and descriptive title
- Explain with detail the feature/enhancements
- Explain why the feature/enhancements would benefit the DRLM users
If you want to add new functionality, you have to follow this steps:
Fork DRLM
First of all you need to Fork DRLM with your GitHub account
Clone your fork of DRLM
Now you need to clone your DRLM fork:
git clone https://github.com/<username>/drlm && cd drlmInitialize Git Flow
Now you need to initialize Git Flow on your local repository:
git flow initNote: When Git Flow asks for the production releases branch, type
masterCreate the new branch
After initializing Git Flow, you need to create the branch you are going to work with:
git flow feature start <feature-name>Example:
git flow feature start web-uiProgram the functionality
When commiting the changes, add a descriptive title and a brief description of what you have changed
Make the Pull Request
When all you work is ready, you need to create the Pull Request. First you'll need to publish the branch:
git flow feature publishAfter publishing the branch, go to the Brain Updaters DRLM repository and make a new Pull Request from your
feature/<feature-name>branch of your fork to thedevelopbranch. You might need to clickcompare between forks.Note: in case you face merge conficts, you'll need to Update your fork and resolve the conficts locally. Note: in case you commit changes after executing
git flow feature publish, you'll need to executegit pushin order to upload your latest changes to the Pull RequestCleanup
After the Pull Request is merged, remember to remove the branch in your local repository and in the GitHub.
To delete the local branch, you need to execute:
git checkout develop && git branch -d feature/<feature-name>To delete the remote branch, you need to go to your fork page (
https://github.com/<your-username>/drlm), click inbranches, next to the commits number, find your branch and delete it.Or do it directly through the command line:
git push --delete feature/<feature-name>
DRLM follows a Git Flow workflow.
DRLM uses Semantic Versioning
If you have already forked DRLM and you want to update your fork to match the upstream repository, you have to follow this steps:
Add the upstream as a Git remote
Inside your repository, you need to add the upstream repository as a remote:
git remote add upstream https://github.com/brainupdaters/drlmFetch the latest changes
Now you need to download the latest changes from the upstream repository
git fetch upstreamMerge the changes
Finally, you need to merge the upstream changes to your repository. Keep in mind that the merge is specific depending on the branch you are:
git merge upstream/<current-branch>For example, assuming you are in the develop branch:
git merge upstream/develop