Implement filesystem watcher and enhance reporting features #1
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.
Sumary:
This pull request introduces several key improvements to IntegrityZ, focusing on enhanced real-time monitoring, webhook integration, consolidated change reporting, expanded configuration options, and improved documentation and build workflow. The most significant changes are grouped below.
Feature Enhancements
inotify/kqueue), and HTTP webhook integration for instant notifications. These features are now documented in theREADME.mdand supported in configuration and code. [1] [2] [3] [4] [5] [6]src/config.zig. [1] [2] [3] [4] [5]Change Detection and Reporting
src/checker.zigto consolidate multiple file changes (content, size, permissions, modification time) into a single change record with detailed descriptions, resulting in clearer and more informative JSON reports.README.mdto include timestamps, checksums, and consolidated change records for better integration and clarity.Testing and Documentation
src/checker.zigto verify consolidated change detection, including cases for single, multiple, and no changes.README.mdto cover new features, improved usage instructions, configuration examples, and available make targets. Also documented the test suite and coverage. [1] [2] [3] [4] [5] [6]Build System Improvements
build-releasetarget to theMakefilefor optimized release builds, updated help instructions, and clarified usage in the documentation. [1] [2] [3] [4] [5]Codebase Structure
src/watcher.zigin the test suite inbuild.zig, reflecting the new real-time monitoring module.These changes collectively enhance IntegrityZ’s usability, configurability, and integration capabilities, while improving clarity and maintainability.