aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-03-31 00:14:42 +0200
committerDanilo M. <danix@danix.xyz>2026-03-31 00:14:42 +0200
commit545da995adb12f83d5a3a1aa5aa97d9945e69910 (patch)
tree78da06ad1e2e89b642e3613de87b80b61fac3ccf
parenteda518ec01fe97abe77b0be790ef5ab4cfe16439 (diff)
downloadmy-slackbuilds-545da995adb12f83d5a3a1aa5aa97d9945e69910.tar.gz
my-slackbuilds-545da995adb12f83d5a3a1aa5aa97d9945e69910.zip
nvchecker: add nvchecker.toml with qarma entry
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--CLAUDE.md37
-rw-r--r--nvchecker.toml5
2 files changed, 40 insertions, 2 deletions
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 <package-name> && sudo bash <package-name>.SlackBuild
# 5. Lint the built package
sbopkglint /tmp/<package-name>-*.t?z
-# 6. Commit (pre-commit hook runs sbolint automatically)
-git add <package-name>/
+# 6. Add an entry for the package in the repo-level nvchecker.toml
+
+# 7. Commit (pre-commit hook runs sbolint automatically)
+git add <package-name>/ nvchecker.toml
git commit -m'<package-name>: add version X.Y.Z'
```
diff --git a/nvchecker.toml b/nvchecker.toml
new file mode 100644
index 0000000..1447dfd
--- /dev/null
+++ b/nvchecker.toml
@@ -0,0 +1,5 @@
+[qarma]
+source = "github"
+github = "luebking/qarma"
+use_max_tag = true
+prefix = "v"