quantum-espresso/CONTRIBUTING.md

36 lines
2.3 KiB
Markdown
Raw Normal View History

2018-07-19 15:06:33 +08:00
# How to contribute
2019-12-10 21:09:07 +08:00
You can contribute to this project in by:
2018-02-05 18:36:36 +08:00
2019-12-10 21:09:07 +08:00
* [implementing new features or improving existing ones;](#development)
2018-07-19 15:06:33 +08:00
* [subscribing and partecipating to the users mailing list;](https://lists.quantum-espresso.org/mailman/listinfo/users)
2019-12-10 22:41:50 +08:00
* [reporting bugs and proposing changes in the Issue section of the gitlab repository;](https://gitlab.com/QEF/q-e/blob/develop/CONTRIBUTING.md#creating-issues)
2019-12-10 22:47:40 +08:00
* [preparing new tests for the test suite](https://gitlab.com/QEF/q-e/wikis/Quantum-Espresso-test-suite)
2018-02-05 18:36:36 +08:00
2018-07-19 15:06:33 +08:00
## Development
2019-12-10 21:09:07 +08:00
If you want to contribute serious and non-trivial stuff ( or even simple and trivial stuff ) you have to *fork* this repository; keep it updated;
2018-07-19 15:06:33 +08:00
when your contribution is ready, submit a merge request to the development branch of this repository.
2019-12-10 21:09:07 +08:00
After some basic tests ran by gitlab CI and after approval, your changes will be merged into the development branch.
2018-02-05 18:36:36 +08:00
2019-12-10 21:09:07 +08:00
A basic guide on how to work with `git` can be found [here](https://docs.gitlab.com/ce/gitlab-basics/README.html). A more thorough introduction to `git` is provided by [proGit](https://git-scm.com/book/en/v2) online e-book.
2018-02-05 18:36:36 +08:00
2018-07-19 15:06:33 +08:00
2019-12-10 21:09:07 +08:00
#### Suggested workflow
2018-07-19 15:06:33 +08:00
- register on [gitlab](https://gitlab.com/users/sign_in);
2018-02-07 21:09:37 +08:00
- [fork the QEF/q-e project](https://docs.gitlab.com/ce/gitlab-basics/fork-project.html);
- [create a local copy of __your__ repository on your workstation(s)](https://docs.gitlab.com/ce/gitlab-basics/command-line-commands.html#clone-your-project);
2018-07-19 15:06:33 +08:00
- [once your contribution is ready push it into __your__ repository](https://docs.gitlab.com/ce/gitlab-basics/start-using-git.html#send-changes-to-gitlab-com);
2018-02-07 21:09:37 +08:00
- [create a merge request to the `develop` branch of QEF/q-e](https://docs.gitlab.com/ce/gitlab-basics/add-merge-request.html#how-to-create-a-merge-request)
2019-12-04 00:26:07 +08:00
- for more details and suggestions you can have a look to the wiki pages
2018-02-05 18:36:36 +08:00
2018-07-19 15:06:33 +08:00
## Development tools
[Here](dev-tools/) you can find several tools that will assist you while contributing to the QE source code.
2018-02-07 21:09:37 +08:00
## Creating Issues
2018-02-05 18:36:36 +08:00
2019-12-10 21:09:07 +08:00
You can report bugs and propose new developments by posting an [issue]( https://gitlab.com/QEF/q-e/issues) in the Issue section of this repository.
Partecipation to the issue discussions are also a welcome contribution.
When reporting bugs, please allow to reproduce the problem by providing input and output files.