Skip to content

ptl bronze for EMT and Ubuntu#436

Open
samueltaripin wants to merge 7 commits intomainfrom
ptl_bronze
Open

ptl bronze for EMT and Ubuntu#436
samueltaripin wants to merge 7 commits intomainfrom
ptl_bronze

Conversation

@samueltaripin
Copy link
Contributor

@samueltaripin samueltaripin commented Feb 23, 2026

Merge Checklist

All boxes should be checked before merging the PR

  • [ /] The changes in the PR have been built and tested
  • [/ ] Documentation has been updated to reflect the changes (or no doc update needed)
  • [/ ] Ready to merge

Description

Any Newly Introduced Dependencies

How Has This Been Tested?

@samueltaripin samueltaripin changed the title ptl bronze and rename allow package ptl bronze for EMT and Ubuntu Feb 26, 2026
@samueltaripin samueltaripin marked this pull request as ready for review February 26, 2026 06:24
@samueltaripin samueltaripin requested a review from a team as a code owner February 26, 2026 06:24
Copilot AI review requested due to automatic review settings February 26, 2026 06:24
Copy link
Contributor

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 updates OS Image Composer’s template and RPM package-resolution capabilities to support wildcard package patterns and repo-priority–based candidate selection, while also updating several PTL-related Ubuntu/EMT templates to include additional packages and repository pinning updates.

Changes:

  • Add glob/wildcard support for RPM package filtering and requested package expansion, with additional resolver test coverage.
  • Introduce repository-priority–aware selection for multi-candidate RPM dependency resolution.
  • Update the image template JSON schema and example templates to use allowPackages and permit glob patterns in package lists.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
internal/ospackage/rpmutils/resolver_test.go Adds unit tests for glob matching in package filters and wildcard request expansion.
internal/ospackage/rpmutils/resolver.go Implements glob matching in package filtering and expands MatchRequested to support wildcards with de-duping.
internal/ospackage/rpmutils/helper_test.go Extends tests for wildcard matching and adds repo-priority scenarios for multi-candidate resolution.
internal/ospackage/rpmutils/helper.go Adds repo-priority selection logic plus wildcard request matching helpers and wildcard expansion.
internal/config/validate/validate_test.go Adds schema-validation tests for wildcard packages and malformed allowPackages entries.
internal/config/schema/os-image-template.schema.json Permits glob patterns in systemConfig.packages and allowPackages, and renames schema key to allowPackages.
internal/config/config.go Renames YAML tag to allowPackages for PackageRepository.AllowPackages.
image-templates/ubuntu24-x86_64-minimal-ptl.yml Adds a small set of additional packages to the PTL Ubuntu 24 template.
image-templates/ubuntu24-x86_64-minimal-ptl-dls.yml Adds the same additional packages to the PTL Ubuntu 24 DLS template.
image-templates/rcd10-x86_64-dlstreamer.yml Updates repo pinning key name to allowPackages.
image-templates/emt3-x86_64-ptl-emf-rt-raw.yml Expands repo allowlist/packages, adds disk layout changes, and uses wildcard allowPackages entries.
image-templates/emt3-x86_64-ptl-emf-raw.yml Similar EMT PTL template expansion with repo priority and wildcard allowPackages entries.

@samueltaripin samueltaripin requested a review from a team as a code owner February 26, 2026 14:44
samueltaripin and others added 2 commits February 27, 2026 14:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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