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

Setup regular checks to find out when results have changed #65

Open
nichtich opened this issue Jan 26, 2022 · 4 comments
Open

Setup regular checks to find out when results have changed #65

nichtich opened this issue Jan 26, 2022 · 4 comments

Comments

@nichtich
Copy link
Member

The full set of DDC notations from K10plus could be checked once a week.

@nichtich
Copy link
Member Author

See related issues #25 and #29.

@nichtich
Copy link
Member Author

nichtich commented Feb 2, 2022

Script coli-ana-enrich in directory k10plus contains a SQLite cache file. Basically it's one table with

  • notation
  • pica (PICA+ field, value ? if unknown)
  • complete (boolean, not supported yet)
  • timestamp

A cronjob could iterate weekly and update results. To keep a full changelog, a new row should be added when the result (pica) changed and the timestamp should be modified otherwise.

@stefandesu
Copy link
Member

As far as I understand, the SQLite file is supposed to be in version control, but I can't find the file. Or am I missing something?

@nichtich
Copy link
Member Author

nichtich commented Feb 3, 2022

No the SQLite file is not part of revision control but created (or reused) on running coli-ana-enrich. For all of K10plus its around 80 Bytes per row, so almost 100MB.

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