Skip to content

Conversation

nxtum
Copy link
Contributor

@nxtum nxtum commented Aug 8, 2025

First version of interface parsing for the PSG

@nxtum nxtum requested a review from MFransen69 August 8, 2025 09:42
@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/ThunderTools/191/rdkcentral/ThunderTools

  • Commit: f5c82c4

Report detail: gist'

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces the first version of interface parsing for the Plugin Skeleton Generator (PSG), implementing a complete refactoring from a legacy system to a modern, parsing-based approach.

Key changes include:

  • Implementation of C++ interface header parsing with support for classes, methods, namespaces, and JSON-RPC tags
  • Complete refactoring of the file generation system with improved code organization and modular architecture
  • Addition of YAML configuration support alongside interactive mode for plugin generation

Reviewed Changes

Copilot reviewed 39 out of 45 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
PluginSkeletonGenerator/parser/Parser.py Core interface parser with C++ header analysis capabilities
PluginSkeletonGenerator/utils/Indenter.py Advanced code indentation system supporting multiple file types and C++ constructs
PluginSkeletonGenerator/data/FileData.py Refactored data handling classes for template generation
PluginSkeletonGenerator/core/PluginBlueprint.py Central plugin configuration and interface management
PluginSkeletonGenerator/menu/Menu.py New menu system with YAML config support
PluginSkeletonGenerator/utils/FileUtils.py Simplified file operations utility
PluginSkeletonGenerator/utils/CodeGenUtils.py Interface name conversion utilities
PluginSkeletonGenerator/generators/PluginRepositoryGenerator.py Template-based file generation system
Multiple template files Updated templates with improved indentation markers

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

3 participants