Line 58: |
Line 58: |
| |- | | |- |
| |} | | |} |
| + | |
| + | == Hints == |
| + | |
| + | Delete download repository copies: |
| + | |
| + | repos={}; Download.find_each {|i| repos[i.metafile] = [(repos.include?(i.metafile) ? repos[i.metafile] : 0), i.id].max}; Download.find_each {|i| i.delete if i.id != repos[i.metafile]} |