diff options
| author | onefang | 2021-11-18 22:13:12 +1000 |
|---|---|---|
| committer | onefang | 2021-11-18 22:13:12 +1000 |
| commit | 08b99a0d030ef7f7c8bb6808ff0aa8adad2c51e8 (patch) | |
| tree | a78fbda246c1bc35cfa3189b281bc83219fdc795 /apt-panopticommon.lua | |
| parent | FDQN -> FQDN (diff) | |
| download | apt-panopticon-08b99a0d030ef7f7c8bb6808ff0aa8adad2c51e8.zip apt-panopticon-08b99a0d030ef7f7c8bb6808ff0aa8adad2c51e8.tar.gz apt-panopticon-08b99a0d030ef7f7c8bb6808ff0aa8adad2c51e8.tar.bz2 apt-panopticon-08b99a0d030ef7f7c8bb6808ff0aa8adad2c51e8.tar.xz | |
Bump to version 0.3 and report it in the web page.
Diffstat (limited to 'apt-panopticommon.lua')
| -rw-r--r-- | apt-panopticommon.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 9de97b4..f2a7fee 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua | |||
| @@ -3,6 +3,8 @@ local APT = {} | |||
| 3 | -- https://oss.oetiker.ch/rrdtool/prog/rrdlua.en.html | 3 | -- https://oss.oetiker.ch/rrdtool/prog/rrdlua.en.html |
| 4 | APT.rrd = require 'rrd' | 4 | APT.rrd = require 'rrd' |
| 5 | 5 | ||
| 6 | APT.version = '0.3 alpha' | ||
| 7 | |||
| 6 | APT.protocols = {"ftp", "http", "https", "rsync"} | 8 | APT.protocols = {"ftp", "http", "https", "rsync"} |
| 7 | APT.tests = {'raw', 'Integrity', 'Protocol', 'Redirects', 'Updated', 'URLSanity', 'Speed'} | 9 | APT.tests = {'raw', 'Integrity', 'Protocol', 'Redirects', 'Updated', 'URLSanity', 'Speed'} |
| 8 | APT.releases = {"jessie", "ascii", "beowulf", "chimaera", "daedalus", "ceres"} | 10 | APT.releases = {"jessie", "ascii", "beowulf", "chimaera", "daedalus", "ceres"} |
| @@ -140,7 +142,7 @@ APT.parseArgs = function(args) | |||
| 140 | end | 142 | end |
| 141 | os.exit() | 143 | os.exit() |
| 142 | elseif "--version" == a then | 144 | elseif "--version" == a then |
| 143 | print("apt-panopticon version 0.2 alpha") | 145 | print("apt-panopticon version " .. APT.version) |
| 144 | os.exit() | 146 | os.exit() |
| 145 | elseif "-v" == a then | 147 | elseif "-v" == a then |
| 146 | APT.verbosity = APT.verbosity + 1 | 148 | APT.verbosity = APT.verbosity + 1 |
