Remove legacy sync-books Makefile target #32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current Behavior
The Makefile has a
sync-bookstarget that hardcodes 12 git repository URLs, clones them to/tmp/hero_books_sources/, and the example TOML configs reference those/tmp/paths.This creates a fragile two-step manual process: run
make sync-books, then run hero_books with--configpointing to the/tmp/paths.Expected Behavior
hero_books already handles git cloning internally via
git_manager.rsand the auto_export pipeline. Thesync-bookstarget is legacy and should be removed.Changes Needed
sync-bookstarget fromMakefilehelptarget that references itexamples/ebooks_local/to use git URLs in thesourcefield instead of/tmp/paths (thesingle_book.tomlalready has the git URL pattern commented out)Context
The auto_export pipeline (git_manager + book_collections) is the correct approach — it clones repos, discovers
.ai/ebooks/*.tomlfiles, and processes everything automatically.