Add HLKX package merge support#84
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces functionality to merge multiple HLKX packages into a single package. It adds the merge_hlkx_packages method in Ruby and the corresponding mergehlkxpackages PowerShell function, which handles merging and re-adding extracted drivers and supplemental files. Feedback recommends validating input and escaping single quotes in the Ruby method to prevent command injection, as well as ensuring that $PackageWriter is properly disposed of in the PowerShell script's finally block to avoid resource leaks.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Add a new mergehlkxpackages command that merges two or more HLKX packages into one using the HLK API. Also re-add drivers and supplemental files after the merge, since Merge() alone does not copy them. Signed-off-by: Elizabeth Ashurov <eashurov@redhat.com>
d2048f3 to
8d43db4
Compare
Add a new mergehlkxpackages command that merges two or more HLKX packages into one using the HLK API. Also re-add drivers and supplemental files after the merge, since Merge() alone does not copy them.