<div dir="ltr">Hi maintainers,<div><br></div><div><div>The script which detects obsolete packages is periodically running on the buildfarm. It uses various bits of code, like the RevDeps class from the safe_remove_pkgs script. It saves various bits of data on local disk to speed up execution.<br>
</div></div><div><br></div><div><a href="https://sourceforge.net/p/gar/code/HEAD/tree/csw/mgar/gar/v2/lib/python/find_obsolete_pkgs.py">https://sourceforge.net/p/gar/code/HEAD/tree/csw/mgar/gar/v2/lib/python/find_obsolete_pkgs.py</a><br>
</div><div><a href="https://sourceforge.net/p/gar/code/HEAD/tree/csw/mgar/gar/v2/lib/python/safe_remove_package.py">https://sourceforge.net/p/gar/code/HEAD/tree/csw/mgar/gar/v2/lib/python/safe_remove_package.py</a><br></div>
<div><br></div><div>Since these scripts are now left for themselves for extended periods of time, we need to make sure they don't start outputting wrong information because of stale caches.</div><div><br></div><div>We need to think what to do with this. Here are some ideas: </div>
<div><br></div><div>- periodically purge the caches (delete files from disk), and let the scripts will regenerate them</div><div>- modify the programs to refresh the caches at as necessary</div><div>- stop using any caches and let the scripts run slowly until we find a better solution</div>
<div><br></div><div>Is anybody interested in tackling this?</div><div><br></div><div>Maciej</div></div>