github-pages-gallery
github-pages-gallery copied to clipboard
thumbsup index doesn't persist; rebuilds entire gallery
Hi. I'm having an issue where any time I make any kind of edit at all (for example a trivial edit to config.json or custom.css), the workflow triggers and then thumbsup seems to detect all the photos as newly added:
2025-08-26T03:49:11.528Z thumbsup:info Indexing folder [started]
2025-08-26T03:49:11.667Z thumbsup:info Differences between disk and index {
unchanged: 0,
added: 1217,
modified: 0,
deleted: 0,
skipped: 0,
total: 1217
}
A bit later in the log I see each photo is marked as having had its title changed, which is not actually the case:
2025-08-26T03:49:17.379Z thumbsup:info media/thumbs/PXL_20250815_180302390.jpg [title changed]
2025-08-26T03:49:17.415Z thumbsup:info Processing media (67/3651) [title changed]
2025-08-26T03:49:17.415Z thumbsup:info Finished [title changed]
2025-08-26T03:49:17.415Z thumbsup:info media/small/PXL_20250815_180302390.jpg [title changed]
2025-08-26T03:49:17.422Z thumbsup:info Processing media (68/3651) [title changed]
2025-08-26T03:49:17.423Z thumbsup:info Finished [title changed]
2025-08-26T03:49:17.423Z thumbsup:info media/large/PXL_20250815_180302390.jpg [title changed]
2025-08-26T03:49:17.503Z thumbsup:info Processing media (69/3651) [title changed]
2025-08-26T03:49:17.503Z thumbsup:info Finished [title changed]
This causes the entire gallery to be rebuilt every time, which is slow. My presumption is that the intended behaviour is for the index to detect that the photos are unchanged and thus skip generation.
What could I be missing here?