The Dissect module tying all other Dissect modules together. It provides a programming API and command line tools which allow easy access to various data sources inside disk images or file collections (a.k.a. targets).
GNU Affero General Public License v3.0
38
stars
42
forks
source link
Add custom build step to pre-generate plugin registry #656
We used to have this in the setup.py era, but it has been lost with the transition to pyproject.toml.
Generating the plugin registry is easily the slowest part about the startup of dissect.target tools. Having a pre-generated plugin registry would lower this dramatically.
It should:
Generate a plugin registry when building a wheel
Delete the plugin registry (or don't generate it) when performing an editable install
This generally means you are actively developing on dissect.target so the dynamic generation is preferred
Only dynamic plugin paths (environment, argument) should be dynamically checked during runtime
The latter point will require some small tweaks to the initialisation of the plugin system.
We used to have this in the
setup.py
era, but it has been lost with the transition topyproject.toml
.Generating the plugin registry is easily the slowest part about the startup of
dissect.target
tools. Having a pre-generated plugin registry would lower this dramatically.It should:
dissect.target
so the dynamic generation is preferredOnly dynamic plugin paths (environment, argument) should be dynamically checked during runtime
The latter point will require some small tweaks to the initialisation of the plugin system.