[MacPorts] #56181: Periodically delete obsolete packages
MacPorts
noreply at macports.org
Thu Mar 29 14:29:57 UTC 2018
#56181: Periodically delete obsolete packages
----------------------------+---------------------
Reporter: ryandesign | Owner: admin@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Keywords: | Port:
----------------------------+---------------------
Obsolete packages should be deleted from our server periodically. Josh
wrote scripts to do that:
* [browser:macports-infrastructure/jobs/current_versions.tcl]
* [browser:macports-infrastructure/jobs/delete_old_archives.py]
Usage:
{{{
./current_versions.tcl > current_versions.txt
./delete_old_archives.py /path/to/packages/ current_versions.txt >
old_archives.txt 2> old_archives.stats.txt
xargs rm -fv < old_archives.txt
}}}
But this requires MacPorts base and an up-to-date ports tree.
We could create another Buildbot scheduler, which runs periodically at
whatever interval we desire. We could use `mpbb`, as in the other
schedulers, to keep a separate copy of MacPorts base and a ports tree
updated, and then run the above scripts.
--
Ticket URL: <https://trac.macports.org/ticket/56181>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list