Allow alternative inotify events to be speclfied #1

Closed
opened 2023-10-13 13:33:52 +00:00 by BlakeRain · 0 comments
Owner

We should allow alternative inotify events than the current set of CREATE, DELETE, and MODIFY. These alternative events should be able to be specified in both the copyset or an individual target:

[[copysets]]
name = "Matching Create Only"
source = "..."
target = "..."
# Override the event for all targets in this set to only use the CREATE event.
events = ["CREATE"]

[[copysets.targets]]
# Override this specific target to use both the CREATE and DELETE events.
events = ["CREATE", "DELETE"]
source = "..."
target = "..."
We should allow alternative inotify events than the current set of `CREATE`, `DELETE`, and `MODIFY`. These alternative events should be able to be specified in both the copyset or an individual target: ```toml [[copysets]] name = "Matching Create Only" source = "..." target = "..." # Override the event for all targets in this set to only use the CREATE event. events = ["CREATE"] [[copysets.targets]] # Override this specific target to use both the CREATE and DELETE events. events = ["CREATE", "DELETE"] source = "..." target = "..." ```
BlakeRain added the
enhancement
label 2023-10-13 13:33:52 +00:00
BlakeRain added this to the v1.1 milestone 2023-10-13 13:34:19 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: BlakeRain/container-copier#1
No description provided.