Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding a new dependency
Clone this wiki locally
There are several steps involved for getting a new dependency added to plaso.
Before you begin checklist
If the answer on any of the questions below is no the dependency is not suitable for plaso. In that case see: Alternatives
- Has the dependency a Apache License 2.0 compatible license?
Code licensed under a GPL, AGPL or BSD 4-clause cannot be integrated in a binary build, hence these licenses are deemed incompatible. Note that this could also apply to other source code licenses.
- Does the dependency support Linux, Mac OS X and Windows?
The automated testing relies on having the dependencies available. We deliberately limit the usage of pip (or equivalent) in the automated testing scripts, mainly because pip distributed builds change continuously. We want to have a more stable set of dependencies on dependencies and limit the amount of troubleshooting due breakage caused by a dependency.
Getting a dependency in l2tdevtools
Plaso uses l2tdevtools to limit the amount of manual effort required in maintaining dependencies.
If the build process of the dependency is similar enough what is currently supported then adding a new dependency should be relative straight forward by adding it to data/projects.ini. If not reach out to discuss how we can get support into l2tdevtools for the specific dependency.
Getting a dependency in GIFT COPR
Notes for maintainers: https://github.com/log2timeline/l2tdocs/blob/master/process/GIFT%20COPR.md
Getting a dependency in GIFT PPA
Notes for maintainers: https://github.com/log2timeline/l2tdocs/blob/master/process/GIFT%20PPA.md
Getting a dependency in l2tbinaries
Notes for maintainers: https://github.com/log2timeline/l2tdocs/blob/master/process/l2tbinaries.md
Dependencies are defined in multiple different configuration files and scripts in the plaso source tree. To keep them consistent plaso uses l2tdevtools update-dependencies.py to generate these configuration files and scripts based on dependencies.ini.
Update the following wiki pages:
- Licenses dependencies
- Dependencies Fedora Core
- Dependencies Mac OS X
- Dependencies Ubuntu
- Dependencies Windows