aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-23 13:13:58 +1000
committeronefang2019-12-23 13:13:58 +1000
commit32ecd65b17ab0cd1ee6adef45c29627e6887a0bb (patch)
tree3d488f5e7d2f4b64c2592779af0e1196d7da84f0
parentUpdate script now updates everything, and sends progress reports. (diff)
downloadapt-panopticon-32ecd65b17ab0cd1ee6adef45c29627e6887a0bb.zip
apt-panopticon-32ecd65b17ab0cd1ee6adef45c29627e6887a0bb.tar.gz
apt-panopticon-32ecd65b17ab0cd1ee6adef45c29627e6887a0bb.tar.bz2
apt-panopticon-32ecd65b17ab0cd1ee6adef45c29627e6887a0bb.tar.xz
Various mostly useless tweaks.
Diffstat (limited to '')
-rw-r--r--apt-panopticommon.lua15
1 files changed, 14 insertions, 1 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua
index 42da301..197826c 100644
--- a/apt-panopticommon.lua
+++ b/apt-panopticommon.lua
@@ -5,6 +5,19 @@ APT.rrd = require 'rrd'
5 5
6APT.protocols = {"ftp", "http", "https", "rsync"} 6APT.protocols = {"ftp", "http", "https", "rsync"}
7APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'} 7APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'}
8APT.releases = {"jessie", "ascii", "beowulf", "ceres"}
9APT.subRels = {'backports', 'proposed-updates', 'security', 'updates'}
10APT.notExist =
11{
12 'jessie-backports', -- No longer existing as this is old stable.
13 'jessie-proposed-updates',
14 'jessie-updates',
15 'beowulf-backports', -- Wont exist until Beowulf goes live.
16 'ceres-backports', -- These will never exist, it's our code name for the testing suite.
17 'ceres-proposed-updates',
18 'ceres-updates',
19 "ceres-security",
20}
8 21
9APT.verbosity = -1 22APT.verbosity = -1
10APT.origin = false 23APT.origin = false
@@ -538,7 +551,7 @@ APT.now = 0
538local status 551local status
539status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6') 552status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6')
540APT.now = tonumber(APT.now) 553APT.now = tonumber(APT.now)
541local start = 'now-2week' 554local start = 'now-1month'
542local step = '10min' 555local step = '10min'
543local hb = '150min' 556local hb = '150min'
544local DSIe = 'DS:IntegrityErrors:GAUGE:' .. hb .. ':0:U' 557local DSIe = 'DS:IntegrityErrors:GAUGE:' .. hb .. ':0:U'