From 8ca7361dd3da968250dbc299beb690b258181c04 Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 23 Dec 2019 18:09:59 +1000 Subject: TODO++ --- apt-panopticon.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 1212ba1..8f8a363 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -760,6 +760,9 @@ local parseRelease = function(host) end -- TODO - if it's not Integrity and not reference, then just do a HEAD check and compare file times? +-- TODO - like we do with debs, pick just the smallest Packages.xz that has changed. +-- Though we are sorting Release by name, so we can do the diff with the one from results_old, so we'll need to sort by size to. +-- pkgmaster still needs to download all the changed Packages.xz files though. if APT.testing("Integrity") or (APT.options.referenceSite.value == host) then local dfile, e = io.open(outFile, "r") if nil == dfile then W("opening " .. outFile .. " file - " .. e) else -- cgit v1.1