From 545da995adb12f83d5a3a1aa5aa97d9945e69910 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 31 Mar 2026 00:14:42 +0200 Subject: nvchecker: add nvchecker.toml with qarma entry Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'CLAUDE.md') diff --git a/CLAUDE.md b/CLAUDE.md index 783e176..a566ccb 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,6 +20,12 @@ Each package lives in its own top-level directory named after the package: No category subdirectories — all packages are at the repo root. +Version tracking is handled by a single repo-level file: + +``` +nvchecker.toml # nvchecker config listing all packages +``` + --- ## SlackBuild Scripting Guidelines @@ -51,6 +57,31 @@ PRGNAM, VERSION, HOMEPAGE, DOWNLOAD, MD5SUM (or SHA256SUM), REQUIRES, MAINTAINER --- +## Version Tracking: nvchecker + +A single `nvchecker.toml` at the repo root tracks upstream versions for all packages. Each package defines its own source type (GitHub releases, PyPI, etc.). + +Example entry for a GitHub-hosted package: + +```toml +[package-name] +source = "github" +github = "owner/repo" +use_max_tag = true +``` + +To check for new upstream versions: + +```bash +nvchecker -c nvchecker.toml +``` + +When a new version is detected, update `VERSION` in both `.SlackBuild` and `.info`, then run `sbofixinfo` to refresh checksums. + +**Every new package added to this repo must have a corresponding entry in `nvchecker.toml`.** + +--- + ## Tooling: sbo-maintainer-tools Source: https://slackware.uk/~urchlay/repos/sbo-maintainer-tools @@ -97,8 +128,10 @@ cd && sudo bash .SlackBuild # 5. Lint the built package sbopkglint /tmp/-*.t?z -# 6. Commit (pre-commit hook runs sbolint automatically) -git add / +# 6. Add an entry for the package in the repo-level nvchecker.toml + +# 7. Commit (pre-commit hook runs sbolint automatically) +git add / nvchecker.toml git commit -m': add version X.Y.Z' ``` -- cgit v1.2.3