chore(release): add Linux packaging and stable install path#1827
chore(release): add Linux packaging and stable install path#1827InSelfControll wants to merge 2 commits intopingdotgg:mainfrom
Conversation
Add first-class Linux package outputs (.deb, .rpm, AppImage), enable updater for packaged Linux, set stable install root to /opt/t3code (keeps visible app name), add podman-based RPM helper, and update CI/docs for packaging. Made-with: Cursor
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 4 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9a7ff81. Configure here.
Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com>
ApprovabilityVerdict: Needs human review This PR adds Linux .deb and .rpm packaging alongside existing AppImage builds, modifies the CI/CD release pipeline, and changes auto-update behavior on Linux to allow updates for all packaged builds (not just AppImage). While primarily infrastructure changes, the introduction of new packaging formats, release pipeline modifications, and runtime behavior changes warrant human review. You can customize Macroscope's approvability policy. Learn more. |

"## Summary
Test plan
Build artifacts locally:
bun run dist:desktop:linuxand verifyrelease/*.debandrelease/*.rpmare producedSmoke test installation on Ubuntu:
sudo apt install ./release/*.deband verify app launchesCI will run release workflow and publish assets to GitHub Releases
Tested and works on Ubuntu 24.04
sudo dpkg -i ${pwd}t3code/release/T3-Code-0.0.15-amd64.deb""
Note
Medium Risk
Medium risk because it changes release/CI artifact generation and Linux install/update eligibility, where mistakes could break packaging or updater behavior for Linux users.
Overview
Linux desktop distribution is expanded beyond AppImage. The release workflow now builds and publishes Linux
AppImage,.deb, and.rpmartifacts (including installingrpmtooling in CI) and updates docs/scripts to reflect multi-target builds.New Debian packaging assets are introduced. Adds
DEBIAN/control,md5sums, and install/uninstall scripts to install under/opt/t3code, manage a/usr/bin/t3codelink viaupdate-alternatives, setchrome-sandboxpermissions based on user-namespace support, and conditionally install/remove an AppArmor profile.Desktop and marketing tweaks align with the new Linux packages. Linux auto-updates are no longer restricted to AppImage-only builds, README/download page add
.deb/.rpminstall options, and the marketing download page switches to regex-based asset matching to pick the right release files.Reviewed by Cursor Bugbot for commit 289d020. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add Linux .deb and .rpm packaging with stable install path and auto-update support
.deb, and.rpmartifacts in addition to the existing AppImage, with individual build scripts and a Podman-based RPM build path./usr/bin/t3codeviaupdate-alternatives, setchrome-sandboxpermissions, and manage an AppArmor profile.appImageparameter fromgetAutoUpdateDisabledReasonin updateState.ts so all packaged Linux builds (not just AppImage) are eligible for auto-updates..deband.rpmdownload cards.rpmtooling and publish.deband.rpmassets alongside AppImage..deb/.rpminstalls will now receive auto-update checks that were previously blocked.Macroscope summarized 289d020.