unison icon indicating copy to clipboard operation
unison copied to clipboard

Show progress when using copythreshold (GUI feature request)

Open evert-mouw opened this issue 3 years ago • 2 comments

I'm using copythreshold and copyprog(rest) to invoke rsync for new files. (I'm not even sure if this is still advised; maybe the in-build transfer is up to speed nowadays?) I profit from the bandwidth control provided by rsync, but a disadvantage of using the copythreshold option is that the GUI doesn't show the progress in the "Status" column.

Maybe it would be possible to show the progress, e.g. by intercepting the output of rsync --progress ? This is a minor feature request, and please disregard this if the build-in transfer speed is nowadays on par with rsync (in that case the documentation might be updated).

Screenshot_2021-06-21

evert-mouw avatar Jun 21 '21 10:06 evert-mouw

I added "discuss" because I think it's a good question if this external rsync mechanism should still exist. I'd rather remove that than fix up how it works, if there's no good reason to keep it. Perhaps you could experiment with not using it?

gdt avatar Jun 23 '21 14:06 gdt

Sorry for not replying earlier. Maybe next week I can test it over a gigabit LAN connection. Unfortunately my normal 2nd location has a very unstable internet connection, which makes it unsuitable for testing.

evert-mouw avatar Jun 30 '21 12:06 evert-mouw

Could you test performance? The null hypothesis is now that external rsync is not useful, and I'm more inclined to remove it that to make it work better.

(Please post results in plain text.)

gdt avatar Mar 19 '23 14:03 gdt

Performance reports to unison-users are still wanted.

Especially with deprecation of external rsync, this has been moved to https://github.com/bcpierce00/unison/wiki/Feature-Requests

gdt avatar Mar 22 '23 14:03 gdt