-
Notifications
You must be signed in to change notification settings - Fork 3
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
Structured Change Detection for Mutation Events and Schema Compliance #55
Comments
@scottmmorris can you expand on the relevant items in the |
There's been some further discussion of this with Specifically, we'd be able to significantly reduce the complexity of Currently, It would also allow us to solve MatrixAI/Polykey#260 (single digit modification is not detected by isomorphic-git's |
Interesting usage of Relies on shelling out to the git command. Obviously pre-edit and post-edit change events is more efficient, but interesting to compare. |
Linear marked this as stale so I'm reopening. |
Specification
Whilst considering vault schemas, it became apparent that it would be extremely beneficial to implement some kind of filesystem event-watching API integrated into the EFS, such that we can track changes before and after they're made directly to the files in the EFS. That is, before and after changes are made to files, we can generate an accumulating list of these changes. Then, we can provide hooks for these pre-edit and post-edit changes.
This would allow us to solve 3 problems in one:
The latter 2 problems are currently being solved by a hacky, post-edit solution through recursive scans over the EFS (see the top-level comment from @scottmmorris here).
Additional context
Some further discussion of pre-edit and post-edit from the vaults refactoring MR:
Tasks
The text was updated successfully, but these errors were encountered: