summaryrefslogtreecommitdiff
path: root/morphlib/plugins/gc_plugin.py
Commit message (Collapse)AuthorAgeFilesLines
* Update Copyright and wrap lines longer than 79 charsPedro Alvarez2014-02-041-2/+3
|
* Improve help for gc commandrichardipsum/gc_plugin_improve_helpRichard Ipsum2014-01-301-6/+9
|
* LocalArtifactCache now takes a an FS objectDaniel Firth2013-12-201-1/+2
|
* Only attempt to clean up artifactsRichard Maw2013-06-111-1/+2
| | | | | | | | | | | | Because the whole cachedir was considered, and not just the artifacts tree, it would recursively consider every file an artifact, incuding cached gits and ccache. This made it slower and remove things before they were due, since only the artifact cache is guaranteed to set mtimes on access. This wouldn't cause incorrect builds, since any cached objects get re-generated, but it was definitely not desired behaviour.
* GC Plugin: Fix usage of satus.Richard Maw2013-06-091-1/+1
| | | | I don't know how that one slipped through.
* plugins: add morph gc subcommandRichard Maw2013-06-071-0/+158
This removes staging areas and extracted chunks from --tempdir. Then asks the local artifact cache what artifacts it has and how old they are, removing all sources older than --cachedir-artifact-delete-older-than, and may delete other sources that are younger than --cachedir-artifact-keep-younger-than if it still needs to make space.