t3code icon indicating copy to clipboard operation
t3code copied to clipboard

Publish an RPM for the desktop app so Fedora and RHEL users can install with dnf

Open NicoLeo13 opened this issue 1 month ago • 1 comments

What I want

A Fedora/RHEL install path for the T3 Code desktop app.

Why

T3 Code publishes Linux desktop builds, and the README install table covers Windows (winget, scoop), macOS (Homebrew), Debian/Ubuntu (.deb), and Arch Linux (AUR). Fedora and the other RHEL-family distributions are not listed, and the published .deb cannot be installed with dnf.

The practical effect on Fedora: a user has to download the AppImage from GitHub Releases, make it executable, and wire up a desktop entry and an icon by hand before the app shows up in the application menu. That is manual work for a distribution that is already a first-class target of the Linux build.

What I tried

  1. Downloaded T3-Code-0.1.1-x86_64.AppImage from the latest release, verified its sha512 against the published latest-linux.yml, moved it to ~/.local/opt/t3code/, symlinked ~/.local/bin/t3-code, and installed the .desktop file and hicolor icons that the AppImage ships. The app then launched and appeared in the application menu.
  2. Looked for a Fedora-native path: there is no .rpm asset on any release, no Copr or Flatpak package, and flatpak search t3 returns no match. dnf cannot install the .deb that is published.

Proposed change

Publish an RPM alongside the existing Linux artifacts, and add a Fedora/RHEL row to the README install table.

The Linux desktop build already emits both AppImage and deb from a single electron-builder invocation, and the linux block already sets the category, maintainer, and synopsis that an RPM needs, so this is a target-list change rather than new packaging machinery:

  • add rpm to the Linux target list in scripts/build-desktop-artifact.ts
  • install rpm on the Linux release runner, because electron-builder needs rpmbuild to produce the package
  • attach release-assets/*.rpm to the release
  • document sudo dnf install ./T3-Code-*.rpm

Why an RPM and not only documenting the AppImage

The AppImage already runs on Fedora, so documenting it would be the smaller change. An RPM is what makes dnf aware of the package, so dnf upgrade can move the installed desktop app forward with the rest of the system instead of leaving a stale AppImage behind.

Notes

  • No product behavior changes: the desktop app, its update channel, and the CLI are untouched.
  • The AUR packaging under packaging/aur is the existing precedent for repackaging the official Linux artifact, and it documents the same gap for Arch.

NicoLeo13 avatar Oct 21 '26 15:10 NicoLeo13

Thanks for the detailed write-up. This is a duplicate of https://git.cafe/pingdotgg/t3code/issues/21306, which Julius closed as not planned on 2026-10-18: adding more Linux package formats to release CI was declined (see also https://git.cafe/pingdotgg/t3code/pulls/5139, https://git.cafe/pingdotgg/t3code/pulls/4071, https://git.cafe/pingdotgg/t3code/issues/2114), and the .deb and AppImage builds stay the official Linux assets. Your AppImage setup steps in "What I tried" are the supported path on Fedora today.

If you want to keep the idea visible for the future, discussion #14810 ("Ship an .rpm for Fedora/RHEL alongside the .deb") is the place to add your use case and vote. Closing this issue as a duplicate of that decision.

juliusmarminge avatar Oct 21 '26 15:10 juliusmarminge