Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mode for updating a single (sub-)album #508

Open
dsschult opened this issue Jan 12, 2024 · 1 comment
Open

mode for updating a single (sub-)album #508

dsschult opened this issue Jan 12, 2024 · 1 comment

Comments

@dsschult
Copy link
Contributor

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?

@saimn
Copy link
Owner

saimn commented Jan 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants