Packaging: what's left for you to set up (repositories, secrets, accounts) #77

Open
opened 2026-11-12 14:20:14 +01:00 by thatrichan · 2 comments
Owner

@thatrichan, here's what's left from the packaging work (#74, #75, #76). It needs your accounts or settings, so I couldn't do it.

Before the next release

  • Create two empty public repositories: done. scoop-revue and homebrew-revue exist, with the 0.42.0 manifests already in them. Each release updates them (release.yml's package-managers job, task release:publish:managers).
  • Add the repository secret WINGET_GITHUB_TOKEN: a classic GitHub token of that-richan with only public_repo and a long expiry (https://github.com/settings/tokens/new). Komac uses it to open each release's winget update. Without it, winget isn't updated.

After the next release

  • Check the release run: the linux job (the .deb/.rpm/Arch packages, the AppImage, publishing to the registries) and the package-managers job (Scoop, Homebrew, winget). These run for the first time there.
  • Try one install command from docs/getting-started.md (apt, dnf or pacman), and the AppImage.

Pull requests waiting on reviewers

When you want them

  • Chocolatey: an account at https://community.chocolatey.org, with its API key as the repository secret CHOCOLATEY_API_KEY. Then the package can be added to the release.
  • Snap: an account at https://snapcraft.io. Revue needs "classic" confinement (it runs git, gh and language servers), which Canonical has to approve.
  • AUR: registration is paused. When it reopens, an account plus an SSH key (revue-bin, step 3 of #74).
  • Flathub: not started. It's a PR to Flathub with a build that works inside the Flatpak sandbox, the biggest of the rest.
@thatrichan, here's what's left from the packaging work (#74, #75, #76). It needs your accounts or settings, so I couldn't do it. ## Before the next release - [x] ~~Create two empty public repositories~~: done. [`scoop-revue`](https://forgejo.cleangame.dev/thatrichan/scoop-revue) and [`homebrew-revue`](https://forgejo.cleangame.dev/thatrichan/homebrew-revue) exist, with the 0.42.0 manifests already in them. Each release updates them (release.yml's `package-managers` job, task `release:publish:managers`). - [ ] **Add the repository secret `WINGET_GITHUB_TOKEN`**: a classic GitHub token of `that-richan` with only `public_repo` and a long expiry (https://github.com/settings/tokens/new). Komac uses it to open each release's winget update. Without it, winget isn't updated. ## After the next release - [ ] Check the release run: the `linux` job (the .deb/.rpm/Arch packages, the AppImage, publishing to the registries) and the `package-managers` job (Scoop, Homebrew, winget). These run for the first time there. - [ ] Try one install command from `docs/getting-started.md` (apt, dnf or pacman), and the AppImage. ## Pull requests waiting on reviewers - [ ] **nixpkgs:** https://github.com/NixOS/nixpkgs/pull/587188 (`revue: init at 0.42.0`). Answer review questions yourself, as their AI policy asks. When it's merged, revoke `NIXPKGS_GITHUB_TOKEN` and remove it from `.env`. - [ ] **winget:** https://github.com/microsoft/winget-pkgs/pull/478503 (`thatrichan.Revue` 0.42.0). The CLA is signed; Microsoft's validation and review come next. ## When you want them - [ ] **Chocolatey:** an account at https://community.chocolatey.org, with its API key as the repository secret `CHOCOLATEY_API_KEY`. Then the package can be added to the release. - [ ] **Snap:** an account at https://snapcraft.io. Revue needs "classic" confinement (it runs `git`, `gh` and language servers), which Canonical has to approve. - [ ] **AUR:** registration is paused. When it reopens, an account plus an SSH key (`revue-bin`, step 3 of #74). - [ ] **Flathub:** not started. It's a PR to Flathub with a build that works inside the Flatpak sandbox, the biggest of the rest.
Author
Owner

Release-binary packages (60e1783):

  • Nix: done. nix-revue is created and seeded with 0.43.2 (tested: nix build git+https://forgejo.cleangame.dev/thatrichan/nix-revue). Each release updates its flake.nix with RELEASE_TOKEN, as for the Homebrew tap.
  • AUR revue-bin: ready, waiting on you. When registration reopens: make the account, add the SSH public key to it, and put the private key in the repository secret AUR_SSH_KEY. The next release then creates and updates revue-bin (packaging/aur/PKGBUILD); until the secret is set it's skipped. Then add yay -S revue-bin to docs/getting-started.md.
Release-binary packages (60e1783): - **Nix:** done. [`nix-revue`](https://forgejo.cleangame.dev/thatrichan/nix-revue) is created and seeded with 0.43.2 (tested: `nix build git+https://forgejo.cleangame.dev/thatrichan/nix-revue`). Each release updates its `flake.nix` with `RELEASE_TOKEN`, as for the Homebrew tap. - **AUR `revue-bin`:** ready, waiting on you. When registration reopens: make the account, add the SSH public key to it, and put the private key in the repository secret **`AUR_SSH_KEY`**. The next release then creates and updates `revue-bin` (`packaging/aur/PKGBUILD`); until the secret is set it's skipped. Then add `yay -S revue-bin` to `docs/getting-started.md`.
Author
Owner

nixpkgs: the reviewer closed NixOS/nixpkgs#587188. A brand-new program with no users yet doesn't meet nixpkgs' guidelines, and they suggested a default.nix or NUR instead. Done instead:

  • Revue's repository has a default.nix (and package.nix, shared with the flake). nix-env -if https://forgejo.cleangame.dev/thatrichan/revue/archive/main.tar.gz builds it from source (baf6abb).
  • nix-revue is now also a NUR repository (default.nix, pkgs/revue-bin.nix), updated at each release by release:publish:managers (8e7e1b1). It was submitted to NUR in nix-community/NUR#1281.
  • Still yours: once NUR#1281 is merged, revoke NIXPKGS_GITHUB_TOKEN if nothing else uses it. It's also used for winget comments.
**nixpkgs:** the reviewer closed NixOS/nixpkgs#587188. A brand-new program with no users yet doesn't meet nixpkgs' guidelines, and they suggested a `default.nix` or NUR instead. Done instead: - Revue's repository has a `default.nix` (and `package.nix`, shared with the flake). `nix-env -if https://forgejo.cleangame.dev/thatrichan/revue/archive/main.tar.gz` builds it from source (baf6abb). - `nix-revue` is now also a NUR repository (`default.nix`, `pkgs/revue-bin.nix`), updated at each release by `release:publish:managers` (8e7e1b1). It was submitted to NUR in nix-community/NUR#1281. - Still yours: once NUR#1281 is merged, revoke `NIXPKGS_GITHUB_TOKEN` if nothing else uses it. It's also used for winget comments.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thatrichan/revue#77
No description provided.