Sharg 1.1.2-rc.1
The argument parser for bio-c++ tools.
|
First of all, thanks for wanting to contribute to the SeqAn's Sharg-parser! Community is important to us and we strive to maintain a great culture and atmosphere. Please have a look at our Code of Conduct.
The following is a guide that helps stream-line the process of adding changes. If you haven't contributed to Sharg/SeqAn before, don't worry about getting something wrong, that's absolutely OK. However, following this guide closely will reduce work for all of us and increases the chance of your changes being merged quickly.
The overall workflow of contributing changes to this repository is:
Go to https://github.com/seqan/sharg-parser/issues and check if someone else has already reported the same issue. If not, create a new issue and follow the template.
We usually reply quickly to issues; if there is no reply within a week (and it's not prime vacation season in Europe) feel free to reply to the issue and explicitly mention @seqan/core
.
If you have never used the Fork & Pull Model, have a look at this guide.
When creating commits to your branch and before requesting a pull, please ensure the following:
Commit message prefixes:
E.g. [FEATURE] add support for FOO
or [FIX] divide by zero in alignment
.
Alternatively, if your changes are so small that they would fit into one commit, don't worry about any of the above, just state "Please squash commits" in the PR and we will take care of the rest.
When you are done with committing changes to your branch and you have tested your changes, open a pull request. We have continuous integration in place that should inform you of test failures. Please try to resolve any breakage that your pull request introduces.
Here is a guide for setting up unit tests locally.
If there are test failures that you don't understand, clearly indicate that you have seen the errors, but cannot resolve them – then the first reviewer will have a look at them. Otherwise the PR will be treated as still being work-in-progress.
After opening a PR it goes through the review process. This is a two-step process, first a regular member of the team needs to approve your changes, then one of the SeqAn core members needs to approve and merge it. If you are a collaborator of the project and know the SeqAn team member most suitable for the review, you can request a review yourself. Otherwise, wait for a reviewer to be assigned to the PR. Do not request reviews from a core member at this point. Always only request review from one person at a time.
If you have not contributed to SeqAn before, you will likely receive a lot of comments on the style of your code. This is not a sign that we don't appreciate your contribution, but we have high code quality standards and everything must conform to our style guide. In the future we hope to automate this step. After you have received the first review, go through all comments and clarify any suggestions and requests. When you are confident that you know how to address all comments, implement the changes and update your PR.
Now re-request a review from the previous reviewer either by clicking "re-request review" or by writing "please review again" as a comment. This step is important, otherwise your PR is treated as still being work-in-progress! The reviewer will go through their first review and mark all previous comments as resolved if they think you resolved them (please do not mark another person's comments as resolved). They will then add a second review or approve your changes. Repeat the last steps until you get approval.
Once your changes are approved by one reviewer, request a second review from a core member (or wait for assignment). They will go through everything briefly again and make sure that nothing escaped the first reviewer's notice. Ultimately, they will approve your changes and merge your branch.
We try to review all PRs as soon as possible. If you don't get a response within a week, ping the requested reviewer politely. Working with git and understanding the review process can be challenging at first. Please don't interpret our insistence on certain changes as a rejection of your contribution – we try to do our best in maintaining high quality software and extensive reviews are a part of this process. If at any time you feel unable to resolve a comment, just ask the reviewer for guidance. We can also push changes to your branch to fix things, but we will only do so if you ask us to.