But this is a bit restrictive as it depends on users modifying it, or submitting PR's to update it. It would be helpful to allow the user to supply their own custom registry whose contents would hopefully make it into the global registry at some point.
Users should be able to supply their own registry.yaml in the standard user configuration directory:
.
$HOME/.config/packratt/registry.yaml
The _dirs variables in directories.py should have a user_config_dir which automatically provides the above location.
This feature should change the registry loading functionality to check and load a registry in the above location if it exists.
Currently, there is a single global registry.yaml which lives in:
But this is a bit restrictive as it depends on users modifying it, or submitting PR's to update it. It would be helpful to allow the user to supply their own custom registry whose contents would hopefully make it into the global registry at some point.
Users should be able to supply their own registry.yaml in the standard user configuration directory: .
The
_dirs
variables in directories.py should have auser_config_dir
which automatically provides the above location.This feature should change the registry loading functionality to check and load a registry in the above location if it exists.