Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
We store our measurements on a server, which makes backups and access to the files easier. However, indexing the files via SMB is slow. If the index were to be created periodically on the server, and the clients would access this index, all measurements would be available to everyone. This is a nice addition to the qviewkit-URL feature in Dokuwiki-Autodoc.
Implementation
Besides some minor bug fixes, this pull request adds a secondary cache location in the data directory. If the config enables loading from this location, and this cache is loadable, then it will be used instead of a local cache.
Also, a new entry point (
qkit-fid-index
) is introduced to allow creation of the index from the command line. This could be used in the future for other setup tasks.Discussion Questions
qkit.fid
) and must be discussed.qkit-fid-index
redirects its log directory to be within the datadirectory, such that the cache files become available. This is a bit hacky, but the simplest solution. Is this sufficient?qkit.fid.get_last
was missing. I think this is a bug. Were there use cases for this omission?