[Bug 286107] ports-mgmt/pkg: improvement request: only install files whose checksum have changed
Date: Thu, 15 May 2025 22:35:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286107 Mark Millard <marklmi26-fbsd@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #4 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to p5B2EA84B3 from comment #3) How is pkg supposed to check for file by file differences without downloading the new .pkg file that contains the information? (You seem to be objecting to such downloads.) You seem to effectively be requesting that such information be stored in a separate, smaller file to initially download such information about the package contents instead and then only download the full .pkg file if at least one file changed? (Or some variation on that theme.) Or are you requesting file-by-file downloads after the initial informational file, no prebuilt .pkg file? (This has other tradeoffs.) So far, your notes to not seem to make a coherent overall request unless I ignore some of it and pick a subset. It is one thing to locally not rewrite specific files that have unchanged content/permissions/etc. (with extra time doing checksumming and comparisons and the like to determine if writing/updating anything is appropriate, file by file). It is another thing to avoid downloading anything for any file that did not change. Your new criteria seem less likely to be implemented than the original description. (Your original submittal read to me like you were looking for a somewhat-rsync-like updating of files from the files in a .pkg file. But that, of itself, would not avoid downloads of .pkg files, for example.) -- You are receiving this mail because: You are the assignee for the bug.