-
Notifications
You must be signed in to change notification settings - Fork 15
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
Filesystem monitoring and reactive updates #27
Comments
In simple case when A is replaced with B by path P (it can be newer version of semantically same resource or completely irrelevant new resource) we can default to porting A's tags to B and highlighting this resource in resources screen, so user would notice some resources have automatic tags and she could check if tags on those resources are correct. |
Background filesystem monitoring should have on/off switch and also respect battery-saving settings (turn off when battery saving mode is enabled). |
When filesystem monitoring would be useful:
|
Related issues: |
Ideally, we should react to changes in filesystem.
E.g. if some path P maps to id A, after an external app modified P it needs to be updated to id B.
This change also must be propagated to the tags storage since id changed.
But there are some unclear moments like if an external app, in fact, moved original file untouched to another path S and put new content to the original path P. In this case, id A is still in our collection, it just was moved from P to S, so we shouldn't change tags storage regarding A but only bind A to new path S in the resources index and bind P to new resource B.
There might be other corner cases. This feature requires to be discussed before approaching.
The text was updated successfully, but these errors were encountered: