]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commit
script to nuke items from th-archive that are already in snap
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 2 Oct 2016 19:50:38 +0000 (22:50 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 2 Oct 2016 19:54:24 +0000 (22:54 +0300)
commit6663977274d9c5831ae4e111de52909d3adbfc63
treee2ede751413244258869b7fe80fc0e11024c61c8
parentbf02200747babcd540ff628e8777f139a5802b88
script to nuke items from th-archive that are already in snap

objective for such cleanup is to decrease number of packages in th-archive:
1. faster loading of index
2. poldek hardcoded 64k limit of packages per repo

before:

source packages in th-archive: 20120

estimated[1] packages to remove:
2012: 3514 packages
2013: 3996 packages
2014: 4452 packages
2015: 3279 packages

after:

packages removed from th-archive that were present in snap:
2012: 3520 packages
2013: 2493 packages
2014: 2569 packages
2015: 2443 packages

source packages in th-archive: 9451

[1] does not account that package can be also in earlier snap
wwwbin/archive-dupe-cleanup.sh [new file with mode: 0755]
This page took 0.091909 seconds and 4 git commands to generate.