Commit graph

5 commits

Author SHA1 Message Date
Claude
b1fc97a024
Bump CLI to v0.3.1, add banner fetch to --version
- CLI_VERSION → 0.3.1, CLI_RELEASE_DATE → 10 May 2026
- Replace click.version_option with custom callback that prints version
  + release date, then fetches docs/banner/v{VERSION}.txt from GitHub
  and prints it; falls back to a "no online information" message on 404
  or network error
- Add versioning rule to CLAUDE.md

https://claude.ai/code/session_015XtsgTMi8UtmgxEgb5Qt2c
2026-05-16 15:05:34 +00:00
Claude
d595f38dfd
fix: coerce category codes to str to handle YAML-parsed integers
YAML parses bare numeric codes (e.g. `code: 01`) as int, causing
TypeError in CATEGORY_CODE_RE.match() which expects str/bytes.

https://claude.ai/code/session_01N1msEmfHK7UWa6mNS8LPGu
2026-05-10 15:53:24 +00:00
Claude
69677b31ca
Fix SSL cert verification in PyInstaller binaries via certifi
PyInstaller-bundled Python cannot find system CA certs on Linux/macOS.
Use certifi's bundled CA bundle for all GitHub API requests.

https://claude.ai/code/session_01MqEqGhP1guGx5VuFsLaws2
2026-05-08 17:05:38 +00:00
Claude
24670a66dd
Rebuild mdcms as proper CLI tool (v0.3)
- Replace interactive TUI with click-based subcommands:
  register, delete, view, build
- build accepts NAME (registry), --path, or CWD for GitHub Actions use
- Switch to PyYAML for frontmatter and nav.yml parsing
- Add pyproject.toml with click + PyYAML deps and mdcms entry point
- Add v0.3 version marker to app/config.yml and app/index.html
- Registry moves to ~/.config/mdcms/sites.json (XDG-compliant)
- Project root is now the directory containing index.html (no website/ subdir)
- register auto-downloads template from GitHub if no site found

https://claude.ai/code/session_01MqEqGhP1guGx5VuFsLaws2
2026-05-08 16:05:04 +00:00
9aa3610df4 v0.2.2 migrated to GitHub 2026-04-20 00:02:43 +07:00