summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-12-22 22:41:45 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2008-12-22 22:41:45 -0800
commitf7d0c10af01196c22bfdba952c6a019d6520510e (patch)
treefda709e769b84b5ddaf7d83fc8bdca2710560d98
parentFactor out duplicate code. (diff)
downloadgard-f7d0c10af01196c22bfdba952c6a019d6520510e.tar.gz
gard-f7d0c10af01196c22bfdba952c6a019d6520510e.tar.bz2
gard-f7d0c10af01196c22bfdba952c6a019d6520510e.zip
Add experimental and snapshots.
-rw-r--r--check.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/check.py b/check.py
index bebe9e5..2c38799 100644
--- a/check.py
+++ b/check.py
@@ -99,6 +99,18 @@ class DistfilesCheck(GardCheck):
path = '/distfiles/timestamp.chk'
return self.get_lag(path)
+# Check experimental mirrors
+class ExperimentalCheck(GardCheck):
+ def lag(self):
+ path = '/experimental/.timestamp-experimental.x'
+ return self.get_lag(path)
+
+# Check snapshot mirrors
+class SnapshotsCheck(GardCheck):
+ def lag(self):
+ path = '/snapshots/.timestamp-snapshots.x'
+ return self.get_lag(path)
+
# Check releases mirrors
class ReleasesCheck(GardCheck):
def lag(self):