aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mirror-checker.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-05Disable the currently unwritten DNS-RR test.onefang1-1/+1
2019-11-05Add roundRobin as an option.onefang1-0/+6
2019-11-04End early if the host keeps timing out, and random sleep for retries.onefang1-3/+14
Otherwise it could take hours trying a timing out host over and over.
2019-11-04Reduce the check exes wait time.onefang1-2/+2
2019-10-01Oops, remove left overs.onefang1-1/+0
2019-10-01Fork original mirror HEAD check to.onefang1-2/+11
30 minutes to 3 minutes. B-)
2019-10-01TODO++onefang1-0/+1
2019-10-01Reduce default verbosity to critical messages only.onefang1-1/+1
2019-10-01Add the name of the test to any log messages about that test.onefang1-13/+18
And the original host as well.
2019-10-01Check original host name as well as IP in redirected locations.onefang1-1/+1
2019-09-30If only the protocol changed, just log and return.onefang1-2/+4
The other protocol will be tested later.
2019-09-30Oops, should have been part of te last commit.onefang1-2/+3
2019-09-30Check the original domain name as well as everything else.onefang1-2/+4
2019-09-30Remove excess space at end of mirror base URLs from mirror_list.txt.onefang1-0/+8
2019-09-30Remove some left overs.onefang1-5/+0
2019-09-29Rejig the redirects a little.onefang1-26/+26
2019-09-29checkRedirects -> checkHostonefang1-8/+8
2019-09-29checkPaths -> checkFilesonefang1-4/+4
2019-09-29checkURL -> checkHEADonefang1-11/+11
2019-09-26More documentation.onefang1-1/+1
Briefly describe the tests. Document the options. Theory of operation. --help now says to read the README.md.
2019-09-26Whitespace fix.onefang1-1/+1
2019-09-07Various changes to the URL checker.onefang1-12/+25
Don't test protocols on hosts that don't support them. Don't test HTTPS on the deb.devuan.org IPs, they are all mirrors that shouldn't have the deb.devuan.org cert. Actually test HTTPS, coz LuaSocket doesn't actually support it, but doesn't tell you and silently converts them to HTTP. Use LuaSec for that. Neaten up the post checking.
2019-09-07Use the saved mirrors list and the split packages lists.onefang1-9/+13
2019-09-07Split the checked packages to Debain and Devuan based ones.onefang1-2/+9
2019-09-07Save and load the mirror list between threads.onefang1-1/+11
2019-09-07Switch printTable to dumpTable.onefang1-15/+19
2019-09-07Parse more of mirror_list.txtonefang1-3/+17
Don't bother checking mirrors where Active is not yes. Split up the protocols, so we can check later which ones are supported.
2019-09-06Typo--onefang1-1/+1
2019-09-06Add a no fork option, though it's not actually implemented yet.onefang1-0/+4
2019-09-06TODO++onefang1-0/+2
2019-09-06Don't check CNAMES, just use them to get more IPs.onefang1-8/+3
2019-06-28Remove some excess uses of defaultURL from the calls to url.parse().onefang1-2/+2
2019-06-28Check redirections on individual files.onefang1-28/+70
2019-06-28Anotner message line up.onefang1-1/+1
Missed this one in the last commit.
2019-06-28Line up some of the messages better.onefang1-8/+8
2019-06-27Merge checkHost() and forkIP() into checkRedirect()onefang1-31/+16
2019-06-26Changes in how the DNS entries are scanned.onefang1-10/+14
Fork more of the tests basically.
2019-06-26Log file failure should exit, and another tweak.onefang1-4/+4
2019-06-26Change how the / at the end of the path is handled.onefang1-9/+5
2019-06-26Retry some of the HTTTP header downloads on certain errors, and report others.onefang1-4/+23
2019-06-26Various changes to the download function.onefang1-12/+18
Use flock to prevent duplicating downloads that are already in progress. Change the command checker to include the flock command. Add a timeout to the wget call. Use --cut-dirs in wget to smooth out the extra path some mirrors have. Remove the IP from the wget lof file names.
2019-06-26Move the check for a slash at the end of the BaseURL.onefang1-6/+8
2019-06-26Slightly more meaningfull output for the commmand checker.onefang1-1/+1
2019-06-26Sort DNS records in reverse order.onefang1-1/+1
2019-06-26Comment tweak.onefang1-1/+1
2019-06-26Add a check for non existing repos.onefang1-0/+15
2019-06-25More fixes of the logging.onefang1-5/+9
Typo-- Use the base host name for the log file name, not the host/path. Actually check the open file return code. Close the log file at the end, though not really needed, coz Lua will close it at GC time.
2019-06-25Modify printTable to look more like an actual table definition.onefang1-8/+9
2019-06-25Make logging work.onefang1-8/+8
I really should test things better before comitting them
2019-06-25Downgrade the version number, it's not even alpha yet.onefang1-1/+1
I'll need to actually output emails and web pages to get to alpha. Probaly should write the rest of the documentation to.