2.5 KiB
Packaging
This directory contains package-manager drafts for TNT. They are intentionally kept out of the root install path and should be reviewed before submission to any public registry.
Current targets
arch/- AUR-ready draft fortnt-chat.homebrew/- Homebrew tap formula draft and maintainer notes.debian/- Ubuntu PPA / Debian packaging notes and draft metadata.
Package installs include both tnt and tntctl. tnt is the server process;
tntctl is a thin wrapper around the documented SSH exec interface.
CI governance
Package recipes are validated in stages:
- PR fast gate:
make release-checkverifies package metadata stays aligned withTNT_VERSION. - Extended CI: package syntax and Debian source-tree assembly run on
mainandrelease/**pushes, nightly, and manual workflow dispatch. - Release gate: the workflow builds an explicit release source archive, verifies
it, and includes it in
checksums.txt. - Publishing gate: after final source checksums are pinned, run
SOURCE_TARBALL=... make package-publish-check.
All package-manager submissions remain manual. CI must not push to AUR, open or merge Homebrew tap updates, upload Debian/PPA packages, publish container images, or deploy production servers.
Release checklist
-
Confirm
TNT_VERSIONininclude/common.hand the manpage version match. Also update package versions in Arch, Homebrew, and Debian drafts. -
Create a GitHub release tag such as
vX.Y.Z. -
Let the release workflow build the explicit release source archive and draft release assets.
-
Replace placeholder checksums in package drafts.
-
Verify package contents in an isolated directory:
make release-check -
Assemble a Debian/PPA source tree when preparing Ubuntu packaging:
make debian-source-packageUse
scripts/package_debian_source.sh --buildon a Debian/Ubuntu system withdpkg-buildpackageinstalled to build the unsigned source package. -
Before submitting package recipes, download the explicit release source archive, replace checksum placeholders, and run:
SOURCE_TARBALL=dist/tnt-chat-vX.Y.Z-source.tar.gz make package-publish-check -
Submit packages manually:
- Arch: upload
PKGBUILDand generated.SRCINFOto AUR. - Homebrew: open a PR to the project tap, or later Homebrew core if eligible.
- Ubuntu: build Debian source packages and upload to a Launchpad PPA.
- Arch: upload
Do not connect these packaging drafts to automatic production deployment.