Skip to content

Add source and binary AUR release lanes - #27

Merged
dskvr merged 2 commits into
masterfrom
feature/26-aur-source-package
Sep 4, 2026
Merged

dskvr merged 2 commits into
masterfrom
feature/26-aur-source-package

Conversation

@dskvr

@dskvr dskvr commented Sep 4, 2026

Copy link
Copy Markdown
Member

Closes #26.

Summary

  • preserve the existing release-binary loopwire-bin AUR package
  • add a separate stable loopwire recipe that compiles the immutable tagged source archive
  • validate and publish either recipe through one package-scoped local helper
  • add an environment-protected, manual-only AUR publication workflow and an Arch source-package CI build
  • install the complete runtime, desktop entry, icon, and MIT license; document both package channels

Architecture layers

  • Platform integration / packaging
  • CI and release operations
  • User and developer documentation

Live AUR evidence

  • loopwire 0.1.0-1: source-built package, AUR commit 269ea744a18f478670540325f37afff227e49ac0
  • loopwire-bin 0.1.0-2: existing binary package updated in place, AUR commit 591709fbf29bdc7858a70a1cff110679057beaa3
  • both remote Git heads and public package-detail pages were verified after push

Validation

  • pnpm verify:aur:source -- --version 0.1.0 --source-archive /tmp/loopwire-v0.1.0-source.tar.gz
    • compiled the Tauri application from tagged source
    • built loopwire-0.1.0-1-x86_64.pkg.tar.zst
    • verified runtime commands, desktop entry, icon, and license
    • namcap reported warnings only, with no errors
  • pnpm verify:aur
  • pnpm verify:requirements
  • pnpm verify:docs
  • pnpm verify:scripts
  • pnpm verify:workflows
  • pnpm verify:tauri — 22 Rust tests passed
  • pnpm typecheck
  • pnpm test — core 81, audio-host 123, desktop 91 tests passed
  • pnpm build
  • pnpm verify:site
  • security re-review found no remaining blocker after default-branch, immutable-action/container, shell-quoting, and pinned-host-key fixes

Docs

Updated install, support matrix, release process, GitHub Actions setup, packaging README, and unreleased notes.

Known gaps

  • Packages were built but not installed into a fresh Arch VM.
  • The aggregate native deb/RPM packaging gate was attempted but stalled in an existing Ubuntu container at apt-get update; AUR-specific builds and deterministic repository gates completed independently.
  • No new backend-support claim is made by this packaging change.

Keep the published loopwire-bin package for release artifacts while adding an
unsuffixed loopwire recipe that compiles immutable tagged source. A single
validated publisher now updates either package base without conflating them,
and manual Actions publication is isolated behind the protected aur environment.

Constraint: AUR requires prebuilt deliverables to retain the -bin suffix
Constraint: Secret-bearing workflow code must execute only from the protected default branch
Rejected: Rename loopwire-bin to loopwire | would mislabel prebuilt artifacts and discard an existing package base
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep loopwire, loopwire-bin, and any future loopwire-git as separate AUR repositories
Tested: Full makepkg source build for v0.1.0, binary package smoke, namcap, requirements, docs, scripts, workflow gates
Not-tested: Installation into a clean Arch Linux guest; native deb/RPM matrix stalled on an external Ubuntu mirror
Related: #26
Resolve the release version on the trusted GitHub runner before entering the
unprivileged Arch container. The read-only bind mount can then remain ownership
isolated while the package verifier receives an explicit stable version.

Constraint: Git rejects repository discovery across the root-owned bind mount for the container build user
Rejected: Mark the mounted checkout globally safe | weakens the ownership boundary unnecessarily
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Resolve trusted Git metadata outside the unprivileged package-build container
Tested: Workflow YAML parse, workflow contract verifier, explicit-version source package verifier interface
Not-tested: GitHub-hosted rerun before commit
Related: #26
@dskvr
dskvr merged commit 5cfbabb into master Sep 4, 2026
3 checks passed
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 source-built loopwire AUR package

1 participant