Skip to content
Snippets Groups Projects
After you've reviewed these contribution guidelines, you'll be all set to contribute to this project.
CONTRIBUTING.md 3.74 KiB

Contribution guidelines for DuMux

DuMux and DUNE are community projects and we are happy about all forms of external contributions. Here are many easy things that you can do, like

  • read the documentation and tell us where and how it should be improved,
  • try to install DuMux on your platform and report bugs if it doesn’t work,
  • fix bugs and open merge requests or send us patches.

If you decide to contribute code please read this contribution guide.

Style guide

When contributing code to DuMux please follow the style guide. Your work will enjoy much smoother sailing if you stick to it with your changes. DuMux is a pretty large project, and a consistent way of doing things really helps a lot when trying to find your way around the code.

Contributing

You should get your changes to us in the following way:

  • Get an account for our GitLab instance (you might need to contact us if you can't create projects at first login).
  • Fork the core module that you want to contribute to, just as you would do on GitHub.
  • Push your changes to your fork on some branch.
  • Open a merge request using the branch you pushed your changes to as the source branch and the master of the DuMux repository as the target branch. GitLab will usually ask you about opening a merge request if you browse it right after pushing to some branch.
  • Follow the discussion on the merge request to see what improvements should be done to the branch before merging.
  • If you have developer status you don't need to do a fork and you can create branches directly.

If you have any questions or complaints about this workflow of contributing to DuMux, please ask on the DuMux mailing list.