aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-03 19:30:29 +0200
committerDanilo M. <danix@danix.xyz>2026-04-03 19:30:29 +0200
commite921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24 (patch)
treeb0296219e4a257f5ba5a48ebcf8ab449b0e21e9b
parent4c8d250f644314c55b1f34d411a61ffd1f70e86f (diff)
downloadmy-slackbuilds-e921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24.tar.gz
my-slackbuilds-e921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24.zip
repo: document symlink removal before staging; remove committed symlink
sbodl creates symlinks to downloaded source archives that must never be committed to git. Added the `find . -type l -delete` step to both CLAUDE.md and AGENTS.md, and removed the previously committed symlink. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--AGENTS.md8
-rw-r--r--CLAUDE.md7
l---------llama.cpp-vulkan/llama.cpp-b8648.tar.gz1
3 files changed, 14 insertions, 2 deletions
diff --git a/AGENTS.md b/AGENTS.md
index b03c109..5a5b688 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -174,6 +174,14 @@ When adding or updating a package, verify the entry exists and is correct.
**Use the commit skill for all commits.** Do not run `git commit` manually.
+**Remove symlinks before staging.** `sbodl` creates symlinks in the package
+directory pointing to downloaded source archives. These must never be committed
+to git. Before any `git add`, run from the repo root:
+
+```bash
+find . -type l -delete
+```
+
Commit conventions:
- One commit per package add or update.
- Message format:
diff --git a/CLAUDE.md b/CLAUDE.md
index e98c934..43a446d 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -140,7 +140,12 @@ cd <package-name> && sbopkglint
# 6. Add an entry for the package in the repo-level nvchecker.toml
-# 7. Commit (pre-commit hook runs sbolint automatically)
+# 7. Remove symlinks created by sbodl before staging
+# sbodl creates symlinks in the package directory pointing to downloaded sources.
+# These must never be committed to git.
+find . -type l -delete
+
+# 8. 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/llama.cpp-vulkan/llama.cpp-b8648.tar.gz b/llama.cpp-vulkan/llama.cpp-b8648.tar.gz
deleted file mode 120000
index e09bb68..0000000
--- a/llama.cpp-vulkan/llama.cpp-b8648.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/home/danix/sbodl-cache/llama.cpp-b8648.tar.gz \ No newline at end of file