This page addresses the guidelines for the following actions below:
- How to clone the repository on your local machine
- How to make a good Pull Request (PR)
- How to post an issue in the issue tracker
Please use the following commands to clone the repository on your local machine:
Start by forking the repository
git clone https://github.com/<github-username>/media-signing-framework.gitgit switch -c <branch-name>Run pre-commit.sh before committing.
git add -u && ./pre-commit.shgit commitFollow the conventional commit messages style to write this message.
It is recommended to run the check tests before pushing your branch. This requires libcheck installed; See tests/ for more details.
./tests/run_check_tests.shIt is further recommended to run the example applications on the available test files. This requires GStreamer and GLib; See examples/ for more details.
./test_apps.shIt is also recommended to run valgrind on the check tests.
CK_FORK=no valgrind --leak-check=full build/tests/check/unittest_common
CK_FORK=no valgrind --leak-check=full build/tests/check/unittest_signer
CK_FORK=no valgrind --leak-check=full build/tests/check/unittest_validatorgit push origin <branch-name>Please consider the following guidelines before making a Pull Request:
- Make sure that the code builds perfectly fine and tests pass on your local system.
- It is recommended to run valgrind on the tests, and/or the example applications.
- Follow the conventional commits message style in the commit messages.
- The PR will have to meet the code standard already available in the repository.
- Explanatory comments related to code functions are required. Please write code comments for a better understanding of the code for other developers.
Please supply the following information in the issue:
- The repository version (git tag) where the issue has been found
- If this relates to signing, validation or both
- Error(s) showed during building or running the code