summaryrefslogtreecommitdiff
path: root/lib/gemfeed.source.sh
AgeCommit message (Collapse)Author
2026-03-01Extract generate::extract_title helper to eliminate duplicationPaul Buetow
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>
2026-03-01Extract generate::safe_overwrite helper to eliminate DRY violationPaul Buetow
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>
2026-02-15Improve --generate performance with incremental builds (62s -> 2s)Paul Buetow
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>
2024-08-24nicer ToC for HTMLPaul Buetow
2023-03-15initial templating supportPaul Buetow
2022-11-23bugfixPaul Buetow
2022-11-19add DRAFT featurePaul Buetow
2022-08-28then there are no notes and no feeds dont process themPaul Buetow
2022-08-16fix for macOS1.1.0Paul Buetow
2022-07-03add cache to speed up atom feed generationPaul Buetow
2022-05-29strip out the git auto commit feature - as it was partly broken and ↵Paul Buetow
difficult to fix
2022-01-30dont add word count to gemfeed anymore - only print it out when generatedPaul Buetow
2022-01-23change subtitlePaul Buetow
2022-01-01remove confusing draft featurePaul Buetow
2021-07-06remove word count from main index for clarityPaul Buetow
2021-06-19new default css style - dont display img descriptions above the image anymorePaul Buetow
2021-05-29add word count to gemfeedPaul Buetow
2021-05-25rename packages to lib1.0.0Paul Buetow