aboutsummaryrefslogtreecommitdiffstats
path: root/.extras/hooks/pre-commit
AgeCommit message (Collapse)AuthorFilesLines
2026-08-09docs: rename CLAUDE.md to AGENTS.md and update referencesDanilo M.1-1/+1
2026-08-08hooks: fix pre-commit sbolint never runningDanilo M.1-1/+16
The sbolint loop extracted build dirs with "cut -d/ -f1,2", which is correct for SBo's own <category>/<package>/ layout but yields a file path in this repo's flat <package>/ layout (e.g. nuclei/nuclei.info). The guard then tested nuclei/nuclei.info/slack-desc, which never exists, so sbolint was silently skipped on every package commit. Walk up from each changed file to the directory holding the .SlackBuild instead. Depth is no longer assumed, so this works for the current flat layout and for <category>/<package>/ after the planned migration.
2026-07-10Initial import: r8125, UrbanTerrorDanilo M.1-0/+84
SBo-official packages maintained by danix, split out of my-slackbuilds. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>