From e921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 3 Apr 2026 19:30:29 +0200 Subject: 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 --- AGENTS.md | 8 ++++++++ CLAUDE.md | 7 ++++++- llama.cpp-vulkan/llama.cpp-b8648.tar.gz | 1 - 3 files changed, 14 insertions(+), 2 deletions(-) delete mode 120000 llama.cpp-vulkan/llama.cpp-b8648.tar.gz 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 && 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 / nvchecker.toml git commit -m': 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 -- cgit v1.2.3