sigal icon indicating copy to clipboard operation
sigal copied to clipboard

mode for updating a single (sub-)album

Open dsschult opened this issue 1 year ago • 1 comments

As background, I'm investigating speedups such that I can run sigal in an interactive mode whenever updates are made to a large gallery, instead of as a background task every hour. Currently, running sigal takes several minutes, a large portion of which is reading and writing files that have not changed.

Since I know beforehand which files have changed (usually a single file or directory), it would be significantly faster to only process that one album and ignore all others. Something like the inverse of the ignore_directories setting, except keeping the existing output for everything that is ignored.

Before trying to implement something like this myself, do you have any thoughts or preferences?

dsschult avatar Jan 12 '24 23:01 dsschult

Yes indeed, something like ignore_dirs in the collection phase should be doable.

saimn avatar Jan 18 '24 18:01 saimn