From 1dfadef5061a300687c53868193064fcf64f4caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Mon, 17 Aug 2026 00:27:26 +0000 Subject: [PATCH] stop plugin clones being committable, and undo the symlinks that were MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merging the workspaces branch replaced `plugins/{example,music,offscale}` — real git clones — with symlinks pointing at themselves. The build then failed with `SymLinkLoop`, which is a confusing way to be told your plugins are gone. My fault, in a way worth writing down. I symlinked the plugins into a git worktree so it could build against them, then committed with `git add -A`. The links were untracked rather than ignored, so they went in. On master, checking out a symlink where a directory stands removes the directory — and since the clone contents were untracked, git did it without complaint. Recovered by re-cloning all three from gitea. Nothing was lost that was not already pushed there; uncommitted work inside those clones would have been, which is the part that could have been expensive. `plugins/*` is now gitignored with `!plugins/*.md`, so the convention that plugin clones are not this repository's content is enforced rather than remembered. A worktree symlink cannot be committed again. Verified after recovery: tsgo clean, frontend rebuilds, the live app serves, and `/api/plugins` answers 200. Co-Authored-By: Claude Opus 5 --- plugins/example | 1 - plugins/music | 1 - plugins/offscale | 1 - 3 files changed, 3 deletions(-) delete mode 120000 plugins/example delete mode 120000 plugins/music delete mode 120000 plugins/offscale diff --git a/plugins/example b/plugins/example deleted file mode 120000 index c084a6df..00000000 --- a/plugins/example +++ /dev/null @@ -1 +0,0 @@ -/home/pastilhas/officer-dev/platform/plugins/example \ No newline at end of file diff --git a/plugins/music b/plugins/music deleted file mode 120000 index 408d95d6..00000000 --- a/plugins/music +++ /dev/null @@ -1 +0,0 @@ -/home/pastilhas/officer-dev/platform/plugins/music \ No newline at end of file diff --git a/plugins/offscale b/plugins/offscale deleted file mode 120000 index 9f9e305f..00000000 --- a/plugins/offscale +++ /dev/null @@ -1 +0,0 @@ -/home/pastilhas/officer-dev/platform/plugins/offscale \ No newline at end of file