-
Committer:
Scott Moser
-
Date:
2016-01-12 17:21:10 UTC
-
mfrom:
(340.1.3 trunk.fix-prune)
-
Revision ID:
smoser@ubuntu.com-20160112172110-1i6s0i8fr1jngl2j
vmtest sync: fix pruning of dirs
our pruning code is somewhat simplistic at this point.
We really need to have a better mirror, but for now this fixes an issue.
At some point on our c-i nodes, a mirror included 'di' data, which
creates files in '<mirror>/<release>/<arch>/di'. That directory was
getting counted as a 'image dir'.
This will count image dirs as those that are of format YYYYMMDD[.N]