Skip to content

RDKBACCL-2186: Update bundlegen code to support coversion of args wrt yocto4 and yocto5 - #131

Open
SsandhyaR wants to merge 1 commit into
rdkcentral:masterfrom
SsandhyaR:wrynose
Open

SsandhyaR wants to merge 1 commit into
rdkcentral:masterfrom
SsandhyaR:wrynose

Conversation

@SsandhyaR

Copy link
Copy Markdown
Contributor

Reason for change: modifying argument parsing to handle escaped and unescaped @ separators consistently
Test: generate the bundle , check the args alignment in config.json
Risks: None

… yocto4 and yocto5

Reason for change: modifying argument parsing to handle escaped and unescaped @ separators consistently
Test: generate the bundle , check the args alignment in config.json
Risks: None

Signed-off-by: ssiras826 <ssiras826@cable.comcast.com>
Copilot AI balanced review requested due to automatic review settings September 30, 2026 12:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The new parsing mishandles quoted whitespace, drops empty arguments, and lacks focused tests.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Updates OCI argument parsing for Yocto 4 and Yocto 5 separator formats.

Changes:

  • Supports escaped and unescaped @ separators.
  • Rebuilds the process argument list before adding DobbyInit.
File Description
bundlegen/​core/​bundle_processor.py Updates OCI process argument conversion.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +468 to +470
item = item.replace(r'\@', '@')
if '@' in item:
parts = item.split('@')
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.

2 participants