Skip to content

fix(templates): list remote templates from registry.toml instead of the repo's folders - #29

Merged
JheisonMB merged 1 commit into
developfrom
fix/template-list-from-registry
Oct 6, 2026
Merged

JheisonMB merged 1 commit into
developfrom
fix/template-list-from-registry

Conversation

@JheisonMB

Copy link
Copy Markdown
Collaborator

texforge template list offered every top-level directory of texforge-templates as a template; when the registry gained a scripts/ folder (texforge-templates #4) every installed texforge listed scripts under Available. That was patched registry-side (texforge-templates #5 moved the script to the root); this makes texforge read the registry's own manifest so the list cannot drift again.

  • list_remote fetches registry.toml (raw, main) and returns its [[templates]] names, sorted.
  • parse_registry_names is pure and covered: declared names sorted, invalid TOML errors, empty registry is empty.

Checked: clippy -D warnings, nextest 1097 passed, rust-quality.sh PASSED.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JeZdT4Zae1BxeLEoKd6kEs

@JheisonMB
JheisonMB merged commit 6bcc0c9 into develop Oct 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant