As a contributor, here are the guidelines we would like you to follow:
If you find a bug in the source code, you can file new issues by selecting a Bug Report
template on our Issues submition page.
Even better, you can submit a Pull Request with a fix.
You can request a new feature or testing scenario by submitting an issue to our GitHub Repository. If you would like to implement a new feature, please consider the size of the change in order to determine the right steps to proceed:
You can file new issues by selecting a Scenario Request
template on our Issues submition page.
Before you submit your Pull Request (PR) consider the following guidelines:
-
Search GitHub for an open or closed PR that relates to your submission. You don't want to duplicate existing efforts.
-
Be sure that an issue describes the problem you're fixing, or documents the design for the feature you'd like to add. Discussing the design upfront helps to ensure that we're ready to accept your work.
-
Fork the https://github.com/input-output-hk/didcomm-v2-mediator-test-suite/ repo.
-
In your forked repository, make your changes in a new git branch:
git checkout -b my-fix-branch main
-
Create your patch, including appropriate test cases.
-
Ensure that all tests and CI checks pass.
-
Commit your changes using a descriptive commit message.
git commit --all
Note: the optional commit
-a
command line option will automatically "add" and "rm" edited files. -
Push your branch to GitHub:
git push origin my-fix-branch
-
In GitHub, send a pull request to
input-output-hk/didcomm-v2-mediator-test-suite:main
.
That's it! Thank you for your contribution!
After your pull request is merged, you can safely delete your branch and pull the changes from the main (upstream) repository:
-
Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
git push origin --delete my-fix-branch
-
Check out the main branch:
git checkout main -f
-
Delete the local branch:
git branch -D my-fix-branch
-
Update your local
main
with the latest upstream version:git pull --ff upstream main