Add check for obsolete keys in profiles (#9955)

* feat: Add check for obsolete keys in filament profiles and improve error handling

* feat: Enhance error handling in machine profile checks and filament name consistency

* feat: Add option to check for obsolete keys in profile validation

* feat: Clarify help message for obsolete keys check in filament profiles
This commit is contained in:
Jack_up 2025-06-20 15:38:02 +02:00 committed by GitHub
parent 8aec3f69e5
commit 5c42b396e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 150 additions and 51 deletions

View file

@ -401,11 +401,15 @@ In addition to the Orca validator, you should run the `orca_extra_profile_check.
python ./orca_extra_profile_check.py
```
You can also enable or disable specific checks:
- `--help`: displays help information
- `--vendor` (optional): checks only the specified vendor. If omitted, all vendors are checked.
- `--check-filaments` (enabled by default): checks `compatible_printers` fields in filament profiles
- `--check-materials`: checks default material names in machine profiles
- `--check-obsolete-keys`: checks for obsolete keys in profiles
#### Sample usage with all checks enabled