Host [tanin] on Gitea Arch registry (9 pkgs, public)

- publish-tanin-repo.sh: upload built packages to the Gitea Arch registry
- distro/tanin.pacman.conf: the [tanin] pacman.conf snippet
- manifest: [tanin] is LIVE at git.openbureau.ch/api/packages/karim/arch/tanin

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 19:19:08 +02:00
parent 9451e04f1c
commit ce7e63b016
7 changed files with 46 additions and 8 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# Upload the built [tanin] packages to the Gitea Arch registry.
# Run after build-tanin-repo.sh / finish-tanin-repo.sh produced the .pkg.tar.zst.
# Needs a Gitea token with the `write:package` scope:
# TANIN_PKG_TOKEN=xxxx ./publish-tanin-repo.sh (or it will prompt)
# Gitea builds the repo DB server-side; nothing else to upload.
set -uo pipefail
OUT="${TANIN_REPO_DIR:-$HOME/projects/tanin-repo}"
OWNER="${TANIN_OWNER:-karim}"
DISTRO="${TANIN_DISTRO:-tanin}"
BASE="https://git.openbureau.ch/api/packages/$OWNER/arch/$DISTRO"
TOK="${TANIN_PKG_TOKEN:-}"
[ -z "$TOK" ] && { read -rsp "Gitea token (write:package): " TOK; echo; }
[ -z "$TOK" ] && { echo "no token"; exit 1; }
shopt -s nullglob
n=0
for f in "$OUT"/*.pkg.tar.zst; do
case "$f" in *-debug-*) continue;; esac # skip debug symbol packages
code=$(curl -s -o /dev/null -w '%{http_code}' --user "$OWNER:$TOK" \
--upload-file "$f" "$BASE")
echo "$code $(basename "$f")"
[ "$code" = 201 ] && n=$((n+1))
done
echo "uploaded $n package(s) to $BASE"
echo "verify: curl -s $BASE/x86_64/tanin.db | gzip -dc | tar tf - | sed -n 's#/desc\$##p'"
+8 -5
View File
@@ -5,7 +5,7 @@ pkgver = 0.2.0-1
pkgarch = any
pkgbuild_sha256sum = 0034394998debf800f45a42786b415250875a99801c2403bf95d29d00aa2ffa9
packager = Unknown Packager
builddate = 1781886675
builddate = 1781888429
builddir = /home/karim/projects/taninux/packaging/taninux
startdir = /home/karim/projects/taninux/packaging/taninux
buildtool = makepkg
@@ -95,7 +95,7 @@ installed = ceres-solver-2.2.0-5-x86_64
installed = chatbox-bin-1.21.0-1-x86_64
installed = cifs-utils-7.5-1-x86_64
installed = clang-22.1.6-1-x86_64
installed = claude-code-2.1.177-1-x86_64
installed = claude-code-2.1.183-1-x86_64
installed = cliphist-1:0.7.0-2-x86_64
installed = clucene-2.3.3.4-17-x86_64
installed = cmake-4.3.4-1-x86_64
@@ -497,6 +497,7 @@ installed = libgedit-tepl-6.14.0-2-x86_64
installed = libgee-0.20.8-1-x86_64
installed = libgfortran-16.1.1+r12+g301eb08fa2c5-1-x86_64
installed = libgirepository-1.86.0-2-x86_64
installed = libgit2-1:1.9.4-1-x86_64
installed = libglvnd-1.7.0-3-x86_64
installed = libgnomekbd-1:3.28.1-2-x86_64
installed = libgomp-16.1.1+r12+g301eb08fa2c5-1-x86_64
@@ -599,7 +600,7 @@ installed = libraw1394-2.1.2-4-x86_64
installed = libre-trainsim-bin-0.8-1-x86_64
installed = libreoffice-fresh-26.2.4-2-x86_64
installed = librevenge-0.0.5-4-x86_64
installed = librewolf-bin-1:151.0.4_1-1-x86_64
installed = librewolf-bin-1:152.0.1_2-1-x86_64
installed = librsvg-2:2.62.3-1-x86_64
installed = librsync-1:2.3.4-2-x86_64
installed = libsamplerate-0.2.2-3-x86_64
@@ -716,6 +717,7 @@ installed = linux-zen-headers-7.0.12.zen1-1-x86_64
installed = litehtml0.9-0.9-2-x86_64
installed = littlenavmap-bin-3.0.18-1-x86_64
installed = lld-22.1.6-1-x86_64
installed = llhttp-9.3.1-1-x86_64
installed = llvm-22.1.6-1-x86_64
installed = llvm-libs-22.1.6-1-x86_64
installed = lm_sensors-1:3.6.2-1-x86_64
@@ -829,7 +831,7 @@ installed = pciutils-3.15.0-1-x86_64
installed = pcre-8.45-4-x86_64
installed = pcre2-10.47-1-x86_64
installed = pcsclite-2.5.1-1-x86_64
installed = pcsx2-git-2.7.419.r0.ge0566546c6-1-x86_64
installed = pcsx2-git-2.7.419.r2.gcd9530eec3-1-x86_64
installed = perl-5.42.2-1-x86_64
installed = perl-error-0.17030-3-any
installed = perl-mailtools-2.22-3-any
@@ -985,6 +987,7 @@ installed = rsync-3.4.4-1-x86_64
installed = rtkit-0.14-1-x86_64
installed = rubberband-4.0.0-2-x86_64
installed = run-parts-5.23.2-1-x86_64
installed = rust-1:1.96.0-1-x86_64
installed = rutabaga-ffi-0.1.75-1-x86_64
installed = sbc-2.2-1-x86_64
installed = scdoc-1.11.4-1-x86_64
@@ -1139,7 +1142,7 @@ installed = xdg-user-dirs-gtk-0.16-1-x86_64
installed = xdg-utils-1.2.1-2-any
installed = xdotool-4.20260303.1-1-x86_64
installed = xenia-canary-bin-02d2cb5-2-x86_64
installed = xenia-edge-bin-20260614125312.ce9fb29-1-x86_64
installed = xenia-edge-bin-20260619053108.8380ba1-1-x86_64
installed = xkeyboard-config-2.47-1-any
installed = xmlsec-1.3.11-1-x86_64
installed = xorg-fonts-encodings-1.1.0-2-any
Binary file not shown.
+1 -1
View File
@@ -6,7 +6,7 @@ xdata = pkgtype=pkg
pkgver = 0.2.0-1
pkgdesc = Central Linux management for Arch — GTK System Settings, Software Hub and TUI
url = https://taninux.kgva.ch
builddate = 1781886675
builddate = 1781888429
packager = Unknown Packager
size = 2745490
arch = any
Binary file not shown.