diff options
| author | onefang | 2019-12-23 13:01:05 +1000 |
|---|---|---|
| committer | onefang | 2019-12-23 13:01:05 +1000 |
| commit | 5e8b0adf2a39debac8354fd98ca7d5b729580ff7 (patch) | |
| tree | 73b9c3666a89bbf52adb714c712209a09d48deb0 /apt-panopticon-update-data.lua | |
| parent | Move the declaration of the APT.tests table to where APT.protocols is. (diff) | |
| download | apt-panopticon-5e8b0adf2a39debac8354fd98ca7d5b729580ff7.zip apt-panopticon-5e8b0adf2a39debac8354fd98ca7d5b729580ff7.tar.gz apt-panopticon-5e8b0adf2a39debac8354fd98ca7d5b729580ff7.tar.bz2 apt-panopticon-5e8b0adf2a39debac8354fd98ca7d5b729580ff7.tar.xz | |
Major refactor, especially of the downloading and processing code.
Make the code more readable, less scattered.
Use a coroutine to multitask better.
Plugable functions for parsing the download results, and figuring out
what to download next.
Track timeouts at a finer level.
Dig for IPs in the forked apt-panopticons, not all at once at the
beginning.
Various cleanups and tweaks.
Diffstat (limited to '')
| -rwxr-xr-x | apt-panopticon-update-data.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-panopticon-update-data.lua b/apt-panopticon-update-data.lua index 98c909a..8adad4d 100755 --- a/apt-panopticon-update-data.lua +++ b/apt-panopticon-update-data.lua | |||
| @@ -3,7 +3,9 @@ | |||
| 3 | local APT = require 'apt-panopticommon' | 3 | local APT = require 'apt-panopticommon' |
| 4 | local D = APT.D | 4 | local D = APT.D |
| 5 | local I = APT.I | 5 | local I = APT.I |
| 6 | local T = APT.T | ||
| 6 | local W = APT.W | 7 | local W = APT.W |
| 8 | local E = APT.E | ||
| 7 | local C = APT.C | 9 | local C = APT.C |
| 8 | local arg, sendArgs = APT.parseArgs({...}) | 10 | local arg, sendArgs = APT.parseArgs({...}) |
| 9 | 11 | ||
