Exclude/include patterns and size filters not transmitted over wire to server #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
In
src/shared/config.c, theconfig_send()function (lines 94-134) transmits the config over the wire, but it does NOT send:exclude_patternsandexclude_countinclude_patternsandinclude_countmax_sizeandmin_sizeshow_progress,dry_run,ssh_port,transport,ssh_destinationThe corresponding
config_receive()also doesn't receive them. While patterns and size filters are primarily client-side concerns (they filter files before scanning), the server is unaware of which patterns were used, which could be useful for logging or future features.Location
src/shared/config.c:94-134Suggested Fix
Consider whether these fields need to be transmitted. If not needed on the server side, add a comment explaining why they are intentionally excluded. If they should be transmitted for logging/debugging, add serialization for them.
For now, at minimum document why patterns are not sent to the server (they are only used for client-side scanning).
Severity
Low
Category
Quality