diff options
author | 2008-12-22 22:41:45 -0800 | |
---|---|---|
committer | 2008-12-22 22:41:45 -0800 | |
commit | f7d0c10af01196c22bfdba952c6a019d6520510e (patch) | |
tree | fda709e769b84b5ddaf7d83fc8bdca2710560d98 | |
parent | Factor out duplicate code. (diff) | |
download | gard-f7d0c10af01196c22bfdba952c6a019d6520510e.tar.gz gard-f7d0c10af01196c22bfdba952c6a019d6520510e.tar.bz2 gard-f7d0c10af01196c22bfdba952c6a019d6520510e.zip |
Add experimental and snapshots.
-rw-r--r-- | check.py | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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): |