-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev #30
Merged
Merged
Dev #30
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # .github/windows/winpack.ps1 # .github/workflows/pack.yaml # LICENSE # build/lib/__main__.py # build/lib/depends/logger.py
# Conflicts: # ictye-live-dm/src/ictye_live_dm/GUI_main.py
- Implement new ConfigTree class for managing configuration hierarchies. - Refactor ConfigKey class to support default values and options. - Add utility functions for obtaining default values of various types. - Update ConfigRegistrar to utilize the new ConfigTree and ConfigKey features. - Modify GUI_main to handle configuration items as ConfigKey or ConfigTree. - Resolve conflicts in GUI_main.py during merge from origin/dev. BREAKING CHANGE: The configuration management system has been overhauled, introducing new classes and changing the behavior of existing ones. Update your code to use ConfigTree and the refactored ConfigKey.
- Add a new method `has_option` in the config_registrar.ConfigKey class.- Refactor GUI_main to improve item widget handling and data setting. - Resolve conflicts and adjust the layout in the main.ui file. - Update Ui_MainWindow to reflect layout and widget changes. - The configuration editor now correctly handles editable items and displays options as comboboxes where appropriate. BREAKING CHANGE: The configuration handling has been modified, which might affect users depending on the previous implementation.
…ling - Implement new merge method in ConfigKey to combine configurations. - Refactor set method to improve type checking and value assignment. - Add get_type method to retrieve the type of the stored value. - Modify ConfigTree constructor to support new argument 'allow'.- Simplify list and dict construction within ConfigTree. - Remove unused code and resolve conflicts in GUI_main and Ildm.yaml.
…dling - Add a new to_list method in ConfigTree to convert tree structure to a list.- Refactor to_dict method to improve the conversion of tree content to a dictionary. - Extend merge method to handle the combination of two configuration trees. - Add debugging statements and TODO comments for future development. - Remove outdated TODO comments and clean up the code structure.
…figTree Implement new tests to ensure proper functionality and edge case handling for ConfigKey and ConfigTree classes. This includes testing initialization,value setting, type conversion, option handling, and merge capabilities. Additionally, refactor some code in config_registrar.py for better clarity and fix a bug where None was an invalid value for ConfigKey.
…figTree Implement new tests to ensure proper functionality and edge case handling for ConfigKey and ConfigTree classes. This includes testing initialization,value setting, type conversion, option handling, and merge capabilities. Additionally, refactor some code in config_registrar.py for better clarity and fix a bug where None was an invalid value for ConfigKey.
Introduce a new ConfigSchema class to perform validation of configuration trees against predefined schemas. This enhancement allows for stricter validation of configuration data, ensuring that it adheres to the expected structure and types. The schema validation system is designed to be extendable, allowing for custom schema classes to be defined for more complex validation logic.
Introduce a new ConfigSchema class to perform validation of configuration trees against predefined schemas. This enhancement allows for stricter validation of configuration data, ensuring that it adheres to the expected structure and types. The schema validation system is designed to be extendable, allowing for custom schema classes to be defined for more complex validation logic.
Introduce a new ConfigSchema class to perform validation of configuration trees against predefined schemas. This enhancement allows for stricter validation of configuration data, ensuring that it adheres to the expected structure and types. The schema validation system is designed to be extendable, allowing for custom schema classes to be defined for more complex validation logic.
- Reduce the size of the icon image in the README to improve page loading times. - Correct the spelling error in the Python module name for starting the ictye-live-dm project to ensure users can successfully execute the startup command.
- Reduce the size of the icon image in the README to improve page loading times. - Correct the spelling error in the Python module name for starting the ictye-live-dm project to ensure users can successfully execute the startup command.
- Reduce the size of the icon image in the README to improve page loading times. - Correct the spelling error in the Python module name for starting the ictye-live-dm project to ensure users can successfully execute the startup command. feat(config-registrar): add schema validation for configuration trees Introduce a new ConfigSchema class to perform validation of configuration trees against predefined schemas. This enhancement allows for stricter validation of configuration data, ensuring that it adheres to the expected structure and types. The schema validation system is designed to be extendable, allowing for custom schema classes to be defined for more complex validation logic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.