Restore catalog generator code - #5085
Merged
snarthan merged 4 commits intoAug 28, 2026
Merged
Conversation
Implement catalog operations (generate, add, delete, validate) with: - Python backend: parser, I/O, mutator, validator, CLI dispatcher - Ansible role with operation-specific tasks - JSON schema for validation - INI-like input format with [defaults] section - Upsert semantics and automatic orphan cleanup - Multi-layer validation and logging - Comprehensive documentation Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
…H integration - Add functional layer parsing to catalog parser - Support type=functional_layer sections in input files - Implement functional layer validation rules: * Catalog must have at least one functional layer * Each functional layer must have components * Each functional layer must have exactly one base_os group * All group references must exist - Update catalog_io to store functional layers in catalog JSON - Enhance mutator to merge functional layers on add/delete operations - Integrate CATALOG_FILE_PATH environment variable: * Prioritize CATALOG_FILE_PATH as default for all catalog operations * Support command-line overrides (-i, -o, -c flags) * Update role defaults and tasks to use CATALOG_FILE_PATH - All validation tests pass successfully Generated with Devin Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
- Change 'repo_manager' tag to 'repomanager' (no underscores allowed) - Complies with ansible-lint meta-no-tags rule - Tags must contain lowercase letters and digits only Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
snarthan
approved these changes
Aug 28, 2026
priti-parate
approved these changes
Aug 28, 2026
snarthan
merged commit Aug 28, 2026
547e2cb
into
dell:issue-4849-omnia-modernization
14 checks passed
This file contains hidden or 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
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.
Catalog generation code, restoring
previous PR #5083