On 30/8/2025 19:17, Chris Jones wrote:
On 30 Aug 2025, at 3:50 am, Joshua Root <[email protected]> wrote:
On 30/8/2025 12:39, Chris Jones wrote:
Perhaps untar the portfiles first into a temporary location and then use rsync
with the appropriate flags to only copy updated files into the primary location.
I think untarring the files is the slow part.
Oh. I was under the impression the problem was with the portindex step, because
the way things are currently done you replace every file so each time you do it
the whole port tree has to be reindexed. But then as I don’t use this method, I
prefer a git clone, I have never seen this, so it would perhaps be good if
someone could confirm exactly what step in port sync/selfupdate is causing the
problem here.
Normally the PortIndex is synced from rsync as well, but even if it's
updated locally, Portfiles that don't have an mtime newer than the
existing PortIndex are skipped as usual.
- Josh