aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
AgeCommit message (Collapse)AuthorFilesLines
36 hoursTrack Typora as a real package, drop OPT_JSONHEADmasterDanilo M.1-4/+2
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>
37 hoursTrack TyporaDanilo M.1-2/+4
Typora ships no git repo and no per-platform feed beyond its changelog: the Sparkle dev_update.xml carries the macOS dev channel and reports a different version, and /releases/all scrapes an unrelated number, so the stanza reads the version headings on /releases/linux. It is an Electron app unpacked under /opt, so it is neither a package, an AppImage nor a flatpak and none of the existing installed-version sources see it. Add an OPT_JSON map reading the version out of a JSON file, keyed by stanza name. Typora is currently its only entry; /opt was checked for others before adding a generic scanner. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
37 hoursAdd CLAUDE.mdDanilo M.1-0/+136
Document the parts that are not discoverable from a single file: the two alias maps and why they are separate per direction, the three installed version sources, and the verification commands (there is no test suite). Records the parsing traps that each produced silently wrong output, so they are not reintroduced: package filenames cannot be split by counting dashes, installed versions carry build metadata upstream lacks, and read with a tab IFS collapses empty fields. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>