Skip to content

feat(aur): add AUR packaging and CI auto-publish#1151

Open
eggfriedrice24 wants to merge 3 commits intopingdotgg:mainfrom
eggfriedrice24:feat/aur-packaging
Open

feat(aur): add AUR packaging and CI auto-publish#1151
eggfriedrice24 wants to merge 3 commits intopingdotgg:mainfrom
eggfriedrice24:feat/aur-packaging

Conversation

@eggfriedrice24
Copy link
Contributor

@eggfriedrice24 eggfriedrice24 commented Mar 16, 2026

Summary

  • AUR package files for t3code-bin: PKGBUILD template, launcher script, .desktop entry
  • CI job in the release workflow to auto-push updates to AUR on stable releases
  • Based on how visual-studio-code-bin, signal-desktop-bin, etc. do it

Why

Yeah there's an auto-updater built in, but on Arch nobody wants to go download an AppImage, chmod it, shove it somewhere, and manage updates outside pacman. Having it on the AUR means you just paru -S t3code-bin or yay -S t3code-bin and you're done — updates come through normal system upgrades, desktop entry and icons just work, it's what people expect.

How it works

When a stable v*.*.* tag is pushed, after the GitHub Release goes up, a new publish_aur job kicks in:

  1. Grabs the Linux AppImage build artifact
  2. Computes its sha256
  3. Generates the PKGBUILD from the template with the right version + checksum
  4. Pushes it to the AUR via KSXGitHub/github-actions-deploy-aur@v4

Fully hands-off after initial setup.

One-time setup needed from maintainers

  1. AUR account with an SSH public key registered
  2. Initial t3code-bin package created on aur.archlinux.org
  3. AUR_SSH_PRIVATE_KEY added as a secret in this repo's GitHub settings

Future

This gets Arch covered. Debian/Ubuntu .deb, Fedora .rpm, and eventually official Arch repos can come later as the project grows.

Test plan

  • Build locally with makepkg -si on Arch
  • Verify publish_aur job works on a test release
  • Confirm installed package launches from app menu and CLI

Note

Add AUR packaging and CI auto-publish for t3code-bin

  • Adds a PKGBUILD template for the t3code-bin AUR binary package, which fetches the AppImage from GitHub Releases, extracts it, and installs files into /opt/t3code-bin.
  • Adds a launcher script that reads optional flags from ~/.config/t3code-flags.conf before executing the app, and a desktop entry for desktop environment integration.
  • Adds a Publish AUR package job to the release workflow that computes the AppImage SHA256, populates the PKGBUILD template, and deploys to AUR on non-prerelease builds.

Macroscope summarized 9133f14.

@coderabbitai
Copy link

coderabbitai bot commented Mar 16, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 869d48e2-ba8e-448d-baed-6268a08d20fa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can generate a title for your PR based on the changes with custom instructions.

Set the reviews.auto_title_instructions setting to generate a title for your PR based on the changes in the PR with custom instructions.

@github-actions github-actions bot added size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant