> On 30 Aug 2025, at 3:09 am, Joshua Root <[email protected]> wrote:
>
> On 29/8/2025 23:45, Ryan Carsten Schmidt wrote:
>> Can we speed it up and reduce local disk space usage by not unpacking the
>> tarball at sync time? Maybe we could keep the portindexes and _resources
>> folder on disk but leave everything else in the tarball until it's asked
>> for, e.g. untar the port's directory into the work directory when the user
>> asks to install that port.
> Possible, but would require additional privileges for many operations the
> first time they run on an updated port (e.g. port info) or would cause them
> to report paths that may not exist (e.g. port file).
>
> Maybe we could somehow extract only updated files?
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.
>
> - Josh