Packaging: what's left for you to set up (repositories, secrets, accounts) #77
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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-revueandhomebrew-revueexist, with the 0.42.0 manifests already in them. Each release updates them (release.yml'spackage-managersjob, taskrelease:publish:managers).WINGET_GITHUB_TOKEN: a classic GitHub token ofthat-richanwith onlypublic_repoand 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
linuxjob (the .deb/.rpm/Arch packages, the AppImage, publishing to the registries) and thepackage-managersjob (Scoop, Homebrew, winget). These run for the first time there.docs/getting-started.md(apt, dnf or pacman), and the AppImage.Pull requests waiting on reviewers
revue: init at 0.42.0). Answer review questions yourself, as their AI policy asks. When it's merged, revokeNIXPKGS_GITHUB_TOKENand remove it from.env.thatrichan.Revue0.42.0). The CLA is signed; Microsoft's validation and review come next.When you want them
CHOCOLATEY_API_KEY. Then the package can be added to the release.git,ghand language servers), which Canonical has to approve.revue-bin, step 3 of #74).Release-binary packages (
60e1783):nix-revueis created and seeded with 0.43.2 (tested:nix build git+https://forgejo.cleangame.dev/thatrichan/nix-revue). Each release updates itsflake.nixwithRELEASE_TOKEN, as for the Homebrew tap.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 secretAUR_SSH_KEY. The next release then creates and updatesrevue-bin(packaging/aur/PKGBUILD); until the secret is set it's skipped. Then addyay -S revue-bintodocs/getting-started.md.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.nixor NUR instead. Done instead:default.nix(andpackage.nix, shared with the flake).nix-env -if https://forgejo.cleangame.dev/thatrichan/revue/archive/main.tar.gzbuilds it from source (baf6abb).nix-revueis now also a NUR repository (default.nix,pkgs/revue-bin.nix), updated at each release byrelease:publish:managers(8e7e1b1). It was submitted to NUR in nix-community/NUR#1281.NIXPKGS_GITHUB_TOKENif nothing else uses it. It's also used for winget comments.