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

Only process changed entries #10

Open
bootsa opened this issue Apr 4, 2022 · 1 comment
Open

Only process changed entries #10

bootsa opened this issue Apr 4, 2022 · 1 comment
Assignees

Comments

@bootsa
Copy link
Collaborator

bootsa commented Apr 4, 2022

Currently the postprocessing script (re)generates all the entries in entries.json when it is changed - which might not even affect the ouput, for instance an entry's updated last modified timestamp triggered by an edit in an a property that isn't used by the processor. Only changes to the output are saved through git.

This is a waste of processing and as the corpus grows will quickly become unmaitainable.

It might be possible to skip processing entries that haven't changed based on their last modified date stamp... but what happens when an associated entry (an author entity) is changed that doesn't specifically get reflected in the main entry's last modified datestamp (for instance a change to an author's given or family name properties)?

@bootsa bootsa self-assigned this Apr 4, 2022
@bootsa
Copy link
Collaborator Author

bootsa commented Apr 4, 2022

Maybe #6 will help with this.

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

1 participant