diff options
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 37 |
1 files changed, 35 insertions, 2 deletions
@@ -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' ``` |
