48a0b63 kojira: swap first_seen with latest mtime for repo

Authored and Committed by tkopecek 3 years ago
1 file changed. 15 lines added. 3 lines removed.
    kojira: swap first_seen with latest mtime for repo
    
    first_seen is measured from start of the kojira process. This is
    inconsistent between runs and short-lived processes will never delete
    some repos. Replace it with mtime of repo directory, it still should be
    sufficient indicator of age (if it exists).
    
    Fixes: https://pagure.io/koji/issue/2139
    
        
file modified
+15 -3