Skip to content
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 106 commits into from
Jul 24, 2024
Merged

Dev #30

merged 106 commits into from
Jul 24, 2024

Conversation

northgreen
Copy link
Owner

No description provided.

northgreen and others added 30 commits January 30, 2024 15:19
# Conflicts:
#	.github/windows/winpack.ps1
#	.github/workflows/pack.yaml
#	LICENSE
#	build/lib/__main__.py
#	build/lib/depends/logger.py
northgreen and others added 28 commits June 29, 2024 17:09
# 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.
@northgreen northgreen merged commit b6e78e2 into main Jul 24, 2024
2 of 11 checks passed
@northgreen northgreen self-assigned this Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant