- A resource and a data source (
internal/provider/), - Examples (
examples/) and generated documentation (docs/), - Miscellaneous meta files.
See also CONTRIBUTING.md.
The sign-off is a simple line at the end of the explanation for the patch, which certifies that you wrote it or otherwise have the right to pass it on as an open-source patch.
The DCO requires a sign-off message in the following format appear on each commit in the pull request:
Signed-off-by: Sample Developer sample@example.comThe text can either be manually added to your commit body, or you can add either -s or --signoff to your usual git commit commands.
You can set up a prepare-commit-msg hook to automatically add the sign-off to every commit. This is optional but recommended.
Create .git/hooks/prepare-commit-msg with the following content and make it executable:
#!/bin/sh
name=$(git config user.name)
email=$(git config user.email)
if [ -z "${name}" ]; then
echo "empty git config user.name"
exit 1
fi
if [ -z "${email}" ]; then
echo "empty git config user.email"
exit 1
fi
git interpret-trailers --if-exists doNothing --trailer \
"Signed-off-by: ${name} <${email}>" \
--in-place "$1"chmod +x .git/hooks/prepare-commit-msg