From: Erik P. <epe...@iv...> - 2024-03-09 09:04:56
|
On Tue, 2024-03-05 at 10:21 +0100, Philipp Klaus Krause wrote: > Am 05.03.24 um 07:00 schrieb Erik Petrich: > > Yes, it updates using rsync with the --size-only parameter. > > What is the reason for the --size-only? A normal rsync would trigger > if > times or sizes change. Does something not under our control change > the > times? > > Philipp I looked into the history hoping to find a comment when the option was introduced, but the --size-only has been there since Borut's initial check-in of both files that I've seen it used. Looking further, it seems that the default timestamp on files created during the svn checkout reflect the time they were checked out, rather than the time they were last committed. In that case, rsync would be trying to update all the web site files every day since there was a fresh checkout from svn every day. I think we can change how the timestamps are set on checkout, but I need to read more of the svn documentation to understand this better first. Erik |