Skip to content

Add target to build sprm only - #1207

Open
bchuo wants to merge 1 commit into
project-dalec:mainfrom
bchuo:BrianC/srpm-build-target
Open

Add target to build sprm only#1207
bchuo wants to merge 1 commit into
project-dalec:mainfrom
bchuo:BrianC/srpm-build-target

Conversation

@bchuo

@bchuo bchuo commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #1202

Special notes for your reviewer:

Signed-off-by: Brian Chuo <brianchuo@microsoft.com>
Copilot AI balanced review requested due to automatic review settings August 18, 2026 18:55
@bchuo
bchuo deployed to deploy-docs August 18, 2026 18:55 — with GitHub Actions Active
@netlify

netlify Bot commented Aug 18, 2026

Copy link
Copy Markdown

Deploy Preview for dalec ready!

Name Link
🔨 Latest commit e8cfb61
🔍 Latest deploy log https://app.netlify.com/projects/dalec/deploys/6a84aa98cf780e00085f0e91
😎 Deploy Preview https://deploy-preview-1207--dalec.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds <distro>/srpm targets to build and optionally sign source RPMs without executing binary build stages, addressing #1202.

Changes:

  • Adds shared rpmbuild -bs support and RPM distro routing.
  • Preserves preprocessing, macros, platform handling, and signing.
  • Adds unit, integration, signing, and target-list coverage.

Reviewed changes

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

Show a summary per file
File Description
website/assets/includes/targets.txt Documents new SRPM targets.
test/source_package_test.go Tests SRPM output and skipped build steps.
test/signing_test.go Tests source-only package signing.
test/linux_target_test.go Registers SRPM integration coverage.
targets/linux/rpm/distro/pkg.go Implements SRPM construction and handling.
targets/linux/rpm/distro/distro.go Registers the /srpm route.
packaging/linux/rpm/rpmbuild.go Adds the source-only rpmbuild operation.
packaging/linux/rpm/rpmbuild_test.go Verifies generated rpmbuild commands.

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

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.

Add a target that builds only the source RPM

2 participants