Skip to content

build: reuse published packages and support signed releases - #111

Merged
ReenigneArcher merged 5 commits into
masterfrom
codex/incremental-signed-repositories
Nov 29, 2026
Merged

ReenigneArcher merged 5 commits into
masterfrom
codex/incremental-signed-repositories

Conversation

@ReenigneArcher

@ReenigneArcher ReenigneArcher commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Description

The scheduled workflow previously forced every package to rebuild from an empty output directory. Each Arch and
Manjaro channel now loads its own published snapshot, reuses verified archives for unchanged recipes, and builds
new or changed recipes in dependency order. The workflow resolves .SRCINFO runtime, build, and test dependencies
plus the build environment against each distribution’s package databases. A version change anywhere in that resolved
dependency tree invalidates that channel’s snapshot. Maintainers can select rebuild_all for other changes.
The runtime checks still run in a fresh matching container before release.

Publishing continues to use the existing stable and beta release tags. The release job can sign package archives
and Pacman indexes when signing credentials are configured.

The workflow resolves the latest stable pacman-repo-builder release once per run. All channels use the resolved tag for the binary and helpers.
Manjaro builds from that tag if it cannot run the release binary.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Testing

  • Passed actionlint and git diff --check for this workflow change.
  • Verified that the release binary starts and can patch makepkg on Arch and Manjaro.
  • Used the release binary in Arch to verify archive reuse with an unchanged toolchain context, rebuilding after a
    context change, and package and database signatures.
  • Resolved the stable and beta Sunshine dependency trees against both Arch and Manjaro Stable databases. A fixture
    confirmed that a new architecture-specific dependency changes the context and that another architecture is ignored.
  • The production Sunshine builds on Arch and Manjaro and live release uploads were outside the local test run.

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Tests have been added or updated for new or modified functionality, including regression tests for bug fixes

AI Usage

See our AI usage policy.

  • AI tools were used while preparing this PR

Codex implemented the workflow changes, ran validation, and prepared this description.

Comment thread .github/workflows/build-repo.yml Resolved
@sonarqubecloud

Copy link
Copy Markdown

@ReenigneArcher
ReenigneArcher merged commit 0a19020 into master Nov 29, 2026
17 checks passed
@ReenigneArcher
ReenigneArcher deleted the codex/incremental-signed-repositories branch November 29, 2026 02:43
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.

1 participant