| Age | Commit message (Collapse) | Author |
|
Title extraction ($SED pattern + quote sanitization) was duplicated
in generate, atomfeed, gemfeed, notes, and template modules. Now
centralized with unit tests for heading extraction and empty files.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
The 'Hello world' log line was leftover debug output that appeared
on every generation run.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
The "safe overwrite" pattern (diff -q tmp dest, then rm or mv) was
duplicated in template, gemfeed (2x), and notes modules. Extracted
into a shared helper with unit tests covering all three cases (no
dest, identical dest, differing dest).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
Add mtime-based skip logic to avoid regenerating unchanged files:
- generate::fromgmi skips .gmi files where all outputs are newer
- template::_generate_file skips templates when output is fresh
- Diff-before-overwrite in templates, gemfeed, and notes indexes
to preserve mtimes and prevent cascading cache invalidation
- Global dependency check (.lastgen sentinel) for header/footer/CSS
- Job throttling via wait -n capped at nproc cores
- Add --force flag and FORCE_REBUILD env var to bypass skip logic
- Fix misleading atom feed "empty cache" log message
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
|
|
|
|
difficult to fix
|
|
|