This repository was archived by the owner on Feb 6, 2026. It is now read-only.
feat: Linux distribution via APT, RPM, and Snap#96
Merged
Conversation
Configure GoReleaser to generate Linux packages for direct download. Users can install via: # Debian/Ubuntu sudo dpkg -i cfl_<version>_linux_amd64.deb # Fedora/RHEL sudo rpm -i cfl-<version>.x86_64.rpm Part of #95 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add snapcraft.yaml for publishing to the Snapcraft Store. Configuration: - Strict confinement (no classic approval needed) - Interfaces: home, network, personal-files (~/.config/cfl) - Builds from source with Go 1.24 - Architectures: amd64, arm64 Users will install via: snap install cfl Prerequisites for publishing: - Snapcraft Store account - Register 'cfl' snap name - Add SNAPCRAFT_STORE_CREDENTIALS secret Part of #95 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add two new jobs to the release workflow: 1. snap: Builds and publishes to Snapcraft Store - Requires SNAPCRAFT_STORE_CREDENTIALS secret 2. linux-packages: Triggers the org-level linux-packages repo - Dispatches package-release event with version info - Requires LINUX_PACKAGES_DISPATCH_TOKEN secret - linux-packages repo will update APT/RPM repositories Both jobs run in parallel after goreleaser completes. Part of #95 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The 'cfl' snap name was already taken on the Snapcraft Store. Registered as 'ocli-confluence' instead. Users install with: snap install ocli-confluence Command is still 'cfl' via alias. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Group installation methods by macOS, Windows, Linux - Add Snap, APT, and RPM instructions for Linux - Note that Homebrew tap and APT/RPM repos are third-party (not official) - Add direct .deb/.rpm download examples - Move "Go install" to "From Source" section Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Linux distribution support via APT (.deb), RPM (.rpm), and Snap packages.
.deband.rpmpackages via GoReleaser for direct downloadsnapcraft.yamlwith strict confinement for Snapcraft Store publishinglinux-packagesrepoWhat's included
.deband.rpmgeneration to GoReleaserWhat's NOT included (separate work)
The
open-cli-collective/linux-packagesrepo needs to be created separately. It will:apt install cflanddnf install cflfor usersrepository_dispatchevent added in this PRPrerequisites before merging
These secrets need to be configured:
SNAPCRAFT_STORE_CREDENTIALSLINUX_PACKAGES_DISPATCH_TOKENSnap setup steps:
cflsnap namesnapcraft export-login --snaps=cfl --acls=package_upload exported.txtSNAPCRAFT_STORE_CREDENTIALSsecretTest plan
.goreleaser.ymlsyntax withgoreleaser checksnapcraft.yamlsyntax withsnapcraft lintCloses #95
🤖 Generated with Claude Code