Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
When reporting a bug please include:
- Your operating system name and version.
- Any details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.
The best way to send feedback is to file an issue on GitHub.
If you are proposing a feature:
- Explain in detail how it would work.
- Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a community-driven, open-source project, and that code contributions are welcome. :)
Your development-system should have the following contents installed:
- A
git
client - The
make
utility - An Docker-compatible container-manager (for Entrprise Linux systems,
this can be satisfied with the installation of the
podman
andpodman-docker
RPMs)
Note: For some distributions, the git
and make
tools are part of a
"development" package-group
To set up the scap-formula
content for local modifications:
-
Fork the scap-formula repository (look for the
Fork
button). -
Clone your fork locally:
git clone https://github.com/<GITHUB_USERID>/scap-formula.git && cd scap-formula
-
Add the main (plus3it) project as a remote:
git remote add upstream https://github.com/plus3it/scap-formula.git
-
Ensure all remotes'/branches' contents are fully up-to-date:
git fetch --all --tags -p
-
Create a branch for local development:
git checkout upstream/master -b <NAME_OF_YOUR_BUGFIX_OR_FEATURE>
-
Make desired modifications (most frequently, this will be adding, modifying or removing content builder-options from the
scripts/build_ssg_content.sh
file) -
When desired modifications have been completed, build the content updates:
- In the root of your local repository, execute the
make
command - If the
make
command fails, executingbash ./scripts/build_in_docker.sh
from the root of your local repository can be substituted
This will result in output similar to the linked log-file
- In the root of your local repository, execute the
-
If the preceding step succeeds, submit a PR containing both your content-modifications and the fruits of the build-actions