pr-1041/jeffhostetler/builtin-fsmonitor-part2-v2
tagged this
07 Oct 13:52
Here is V2 of Part 2 of my Builtin FSMonitor series. This version has been rebased onto "next" because it collided with a change "repo-settings.c" from "ab/repo-settings-cleanup". And the third commit was updated to resolve those conflicts. It also requires "jh/builtin-fsmonitor-part1" which is now in "next". Part 2 contains: Client-side code to connect to a (yet to be developed) FSMonitor daemon over Simple IPC (using Named Pipes or Unix Domain Sockets). Updated config settings to allow the client to decide whether to use Simple IPC or the existing FSMonitor Hook API. This includes retiring the existing "core_fsmonitor" global variable that had confusing double-duty. Part 2 essentially enables client-side code to talk to different types of providers of FS change data. Processing of that data is unchanged. A builtin FSMonitor daemon will be added in a later patch series. Jeff Hostetler (5): fsmonitor: enhance existing comments fsmonitor-ipc: create client routines for git-fsmonitor--daemon fsmonitor: config settings are repository-specific fsmonitor: use IPC to query the builtin FSMonitor daemon fsmonitor: update fsmonitor config documentation Documentation/config/core.txt | 56 ++++++--- Documentation/git-update-index.txt | 27 +++-- Documentation/githooks.txt | 3 +- Makefile | 2 + builtin/update-index.c | 19 +++- cache.h | 1 - config.c | 14 --- config.h | 1 - environment.c | 1 - fsmonitor-ipc.c | 176 +++++++++++++++++++++++++++++ fsmonitor-ipc.h | 48 ++++++++ fsmonitor-settings.c | 97 ++++++++++++++++ fsmonitor-settings.h | 21 ++++ fsmonitor.c | 130 +++++++++++++++------ fsmonitor.h | 18 ++- repo-settings.c | 2 + repository.h | 3 + t/README | 4 +- 18 files changed, 538 insertions(+), 85 deletions(-) create mode 100644 fsmonitor-ipc.c create mode 100644 fsmonitor-ipc.h create mode 100644 fsmonitor-settings.c create mode 100644 fsmonitor-settings.h base-commit: 6e70778dc91e2139466c15ff15a02a22a2ada2d1 Submitted-As: https://lore.kernel.org/git/pull.1041.v2.git.1633614772.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.1041.git.1631822063.gitgitgadget@gmail.com
Assets 2
-
2021-10-07T13:52:52Z -
2021-10-07T13:52:52Z - Loading