A configuration management tool for WheelOS.
Project description
whl-conf
whl-conf is a command-line tool for managing configuration sets (configs), particularly suited for autonomous driving applications. It provides a robust, manifest-driven workflow for activating, versioning, and modifying configurations safely.
Global Options
--conf-dir <path>: Specifies the root directory of the configuration repository. All operations, such as creating configs and managing links, are performed relative to this directory. The default is/apollo.
Command Descriptions
-
list: Displays all available configuration sets. -
info <config_name>: Shows detailed information about the specified configuration set. -
create <new_config_name>: Creates a new configuration set based on the specified template. -
delete <config_name>: Deletes the specified configuration set. -
activate <config_name> [--dry-run]: Activates the specified configuration set, creating symlinks for all managed files. Use--dry-runto preview the activation without making changes. -
add <path(s)> [--dry-run]: Adds one or more files/directories to the active configuration. This copies the source files into the active config's directory (creating a snapshot) and then creates symlinks pointing to these new copies. This operation is transactional and forcefully overwrites any existing files at the destination. Use--dry-runto preview the actions. -
remove <path(s)> [--dry-run]: Removes one or more files/directories from the active configuration. This is the mirror operation toadd. It deletes both the system symlinks and the corresponding file snapshots from within the active config's directory. Use--dry-runto preview the actions. -
diff <config1_name> <config2_name>: Compares the contents of two configuration sets and shows the differences. -
rename <old_name> <new_name>: Renames the specified configuration set. -
pull [--name <name>]: Pulls a configuration set from a remote source and saves it locally. Optionally, specify a local name using--name.
Quick Start
Install the tool
pip install whl-conf
Commands
-
List all configuration sets
whl-conf list -
Show details of a specific config
whl-conf info <config_name>
-
Create a new config set from a template
whl-conf create <template_name> <new_config_name>
-
Delete a specified config
whl-conf delete <config_name>
-
Activate a specified config set
whl-conf activate <config_name>
-
Add a new model file to the active config
whl-conf add modules/perception/models/new_model.pb
-
Add multiple files and directories to the active config
whl-conf add modules/control/conf/new_params.pb.txt data/calibration/new_camera/
-
Remove a file from the active config
whl-conf remove modules/perception/models/new_model.pb
-
Compare two config sets
whl-conf diff <config1_name> <config2_name>
-
Rename a config set
whl-conf rename <old_name> <new_name>
-
Pull a config set from a remote source
whl-conf pull [--name <name>]
For more detailed information and additional options, you can run:
whl-conf --help
whl-conf <command> --help
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whl_conf-0.0.6.tar.gz.
File metadata
- Download URL: whl_conf-0.0.6.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a305bc17727cfc4e13d45ebfe4a375f7436c9479f6cc3568695b090ad2f683f
|
|
| MD5 |
7ab41444b12e66d182465691e26be043
|
|
| BLAKE2b-256 |
2314a233a857fc8bb0258b6509206f3677218880331cca2b3e02bd87b3741a39
|
File details
Details for the file whl_conf-0.0.6-py3-none-any.whl.
File metadata
- Download URL: whl_conf-0.0.6-py3-none-any.whl
- Upload date:
- Size: 32.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ca233303318556ac25d7772fc4feb9a9576422f4c65eca09a5d1a1213d43fc
|
|
| MD5 |
a3884a6b905366ad41dc2a808925fb5c
|
|
| BLAKE2b-256 |
8c5f5cf4c9cffbad97c86e97a26ffd39f99a26abcb52f4741ada9a3b9b82c9e6
|