buildfoundation / mainframer

Tool for remote builds. Sync project to remote machine, execute command, sync back.
Apache License 2.0
1.73k stars 162 forks source link

Add option to show which files were synced to debug sync process. #211

Open artem-zinnatullin opened 6 years ago

artem-zinnatullin commented 6 years ago

Currently it's pretty hard to understand what bottlenecks the sync process.

An option to show what files get synched might help reveal files that are getting synced unintentionally and slowing down sync process.

@ming13 wdyt?

artem-zinnatullin commented 6 years ago

rsync has two options that could potentially help in that:

arturdryomov commented 6 years ago

Gradle projects sync a lot of files, but I can see where you are going. I think there is a room for the --verbose flag which will pass it to rsync and ssh.

artem-zinnatullin commented 6 years ago

Main idea is to debug cases like:

mainframer make build

# And then run again

mainframer --debug-sync make build

So you could figure what files get regenerated and synced again even after "100%" incremental build.

Regarding ssh, I think that should be a separate flag