Files
podman/pkg
samc24 d6ea4b4139 Improved hooks monitoring
...to work for specific edge cases with a simpler solution.
Re-reads hooks directories after any changes are detected by the watchers.
Added monitoring test for adding a different invalid hook to primary directory.
Some issues with prior code:
- ReadDir would stop when it encounters an invalid hook, rather than registering an error but continuing to read the valid hook.
- Wouldn’t account for Rename and Chmod events.
- After doing a mv of the hooks file instead of rm, it would still think the hooks file is in the directory, but it has been moved to another location.
- If a hook file was renamed, it would register the renamed file as a separate hook and not delete the original, so it would then execute the hook twice - once for the renamed file, and once for the original name which it did not delete.

Signed-off-by: samc24 <sam.chaturvedi24@gmail.com>
2019-07-25 09:52:45 -04:00
..
2019-04-01 11:10:54 +02:00
2019-07-21 14:22:39 -05:00
2019-07-21 14:22:39 -05:00
2019-07-23 15:43:40 -04:00
2019-07-21 14:22:39 -05:00
2019-07-25 09:52:45 -04:00
2019-06-03 15:54:53 -04:00
2018-03-27 21:55:33 +00:00
2019-07-11 09:13:06 -05:00
2019-07-21 14:22:39 -05:00
2019-07-21 14:22:39 -05:00
2019-07-21 14:22:39 -05:00
2019-07-03 15:41:33 -05:00
2019-07-03 15:41:33 -05:00
2019-07-22 15:44:04 -05:00