Skip to content

Developers guide

Joachim Metz edited this page Nov 25, 2015 · 6 revisions

Contributing

We love contributions! If you're contributing artifacts, please follow the Style Guide and make sure the tests pass:

$ python run_tests.py

If you're contributing python code, check with us on the mailing list first, especially if it's something big.

We use the github fork and pull review process to review all contributions. First, fork the artifact repository by following the github instructions. Then check out your personal fork:

git clone https://github.com/username/artifacts.git

Add an upstream remote so you can easily keep up to date with the main repository:

git remote add upstream https://github.com/ForensicArtifacts/artifacts.git

To update your local repo from the main:

git pull upstream master

Make your changes and once you're ready for review, commit them to your personal fork and then use the GitHub Web UI to create and send the pull request. We'll review and merge the change.

Adding new artifact labels

An artifact definition can contain one or more labels. For the validation these labels defined in artifacts/definitions.py in LABELS.

At the moment when a new label is added make sure to add the same label to lib/artifact_registry.py of the GRR project in ARTIFACT_LABELS.

Clone this wiki locally