Skip to content

ENT-14692: Added file event types - #6409

Merged
larsewi merged 6 commits into
cfengine:masterfrom
victormlg:cf-reactor.AllFileEventTypes_2
Oct 28, 2026
Merged

larsewi merged 6 commits into
cfengine:masterfrom
victormlg:cf-reactor.AllFileEventTypes_2

Conversation

@victormlg

@victormlg victormlg commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Depends on: #6430
Merge together: cfengine/documentation#3810

Comment thread cf-reactor/file_watcher.c
{
assert(args != NULL && args->next != NULL);
const char *path = RlistScalarValue(args);
const long size_threshold = IntFromString(RlistScalarValue(args->next));
Comment thread cf-reactor/watcher.c Fixed
Comment thread cf-reactor/watcher.c Fixed
Comment thread cf-reactor/watcher.c Fixed
Comment thread cf-reactor/watcher.c Fixed
Comment thread cf-reactor/watcher.c Fixed
Comment thread cf-reactor/watcher.c Fixed
Comment thread cf-reactor/watcher.c Fixed
Comment thread cf-reactor/watcher.c Fixed
@victormlg
victormlg force-pushed the cf-reactor.AllFileEventTypes_2 branch 3 times, most recently from 4452b4a to 6515414 Compare October 23, 2026 10:29
@victormlg
victormlg marked this pull request as ready for review October 23, 2026 10:31
@victormlg
victormlg force-pushed the cf-reactor.AllFileEventTypes_2 branch from 6515414 to f6543a5 Compare October 23, 2026 10:43

@larsewi larsewi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀 Let's merge the dependency PR first and rebase

Added file_size_exceeds event type together with a test

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
Added file_created event type, together with a test

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
Added file_modified event type together with a test

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
Added file_content_modified event type together with a test

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
Added file_permissions_changed event type together with a test

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
Added file_owner_changed event type together with a test

Ticket: ENT-14692
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@victormlg
victormlg force-pushed the cf-reactor.AllFileEventTypes_2 branch from f6543a5 to aee2501 Compare October 27, 2026 12:59
@victormlg
victormlg requested a review from larsewi October 27, 2026 13:36
@victormlg

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins, please :)

@larsewi
larsewi merged commit b0f6da2 into cfengine:master Oct 28, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants