aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-08 21:55:43 +0200
committerDanilo M. <danix@danix.xyz>2026-08-08 21:55:43 +0200
commitd912ffb18952dd53d39e189e9259d4b4748e1f9f (patch)
tree195e0d51e1a029189a1c2a991a8c5a53f0847b2e /CLAUDE.md
parent8094c6725824d2dc836e390a655c0a0e9c0745f7 (diff)
downloaddanix-nvchecker-d912ffb18952dd53d39e189e9259d4b4748e1f9f.tar.gz
danix-nvchecker-d912ffb18952dd53d39e189e9259d4b4748e1f9f.zip
Track Typora as a real package, drop OPT_JSONHEADmaster
Typora now ships as the typora-bin Slackware package from my-slackbuilds, so its installed version comes from /var/log/packages like everything else. The OPT_JSON map existed solely to read /opt/Typora-linux-x64/resources/package.json and is removed along with its branch in installed_of(). Typora joins through both alias maps instead: ALIAS for the installed package name and REPO_ALIAS for the SlackBuild directory, both typora-bin. The stanza is marked # repo=my. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 01ed26d..bfb2487 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -72,10 +72,8 @@ the rest, and they are separate because the mappings differ per direction:
SlackBuild directory (`kitty` → `kitty-bin`). Adding one map for both breaks
the other direction.
-**Installed version** resolves through four sources in order: the `OPT_JSON`
-map (apps unpacked under `/opt` that are none of the below, currently Typora,
-declared as `<path>:<jq filter>`), `/var/log/packages`, the appimage-updater
-state file, then `flatpak list`.
+**Installed version** resolves through three sources in order:
+`/var/log/packages`, the appimage-updater state file, then `flatpak list`.
**Repo version** is the `VERSION=` line from
`<repo>/<category>/<pkg>/<pkg>.info`. Note the category level: `.info` files sit