canmove, Confirmed users
2,850
edits
ChrisCooper (talk | contribs) (Created page with '= Stage Cleanup Policy = The details of this policy grew out of {{bug|342972}} and the associated [http://groups.google.com/group/mozilla.dev.planning/browse_thread/thread/67c28…') |
ChrisCooper (talk | contribs) |
||
| Line 8: | Line 8: | ||
Any new projects will by default adopt the same policy, but can choose to modify the specific parameters concerning which artifacts are kept and for how long. | Any new projects will by default adopt the same policy, but can choose to modify the specific parameters concerning which artifacts are kept and for how long. | ||
== The Policy == | |||
# Keep all official releases for all products online and available. There's no need to remove them. | # Keep all official releases for all products online and available. There's no need to remove them. | ||
# Keep all en-US nightly builds for all products online and available. There's no need to remove them. | # Keep all en-US nightly builds for all products online and available. There's no need to remove them. | ||
# Delete nightly artifacts for all products that are not useful in regression hunting. Specifically, this means deleting installer files (linux and windows) and xpis from 2009 and earlier | # Delete nightly artifacts for all products that are not useful in regression hunting. Specifically, this means deleting installer files (linux and windows) and xpis from 2009 and earlier. Individual products can opt out of this cleanup with sufficient cause. | ||
# Automate the deletion of nightly MAR files older than one month. Only the most recent MAR files are required. This would be done across all products. | # Automate the deletion of nightly MAR files older than one month. Only the most recent MAR files are required. This would be done across all products. | ||
# Delete builds from older candidates directories after official release. This will reclaim up to 13G per build attempt per release. This will be a manual process. | # Delete builds from older candidates directories after official release. This will reclaim up to 13G per build attempt per release. This will be a manual process. | ||
# Automate the removal of unused nightly artifacts (installers and xpis) older than 6 months for all products. | # Automate the removal of unused nightly artifacts (installers and xpis) older than 6 months for all products. | ||
== Crontabs == | |||
=== Firefox === | |||
@weekly nice -n 19 find /home/ftp/pub/firefox/nightly -mtime +180 \( -name '*.installer.*' -o -name '*xpi' \) -exec rm -rf '{}' \; | |||
@weekly nice -n 19 find /home/ftp/pub/firefox/nightly -depth -empty -type d rmdir '{}' \; | |||
=== Thunderbird === | |||
@weekly nice -n 19 find /home/ftp/pub/thunderbird/nightly -mtime +180 \( -name '*.zip' -o -name '*xpi' -o -name '*.msi'\) -exec rm -rf '{}' \; | |||
@weekly nice -n 19 find /home/ftp/pub/thunderbird/nightly -depth -empty -type d rmdir '{}' \; | |||
=== SeaMonkey === | |||
@weekly nice -n 19 find /home/ftp/pub/firefox/nightly -mtime +180 \( -name '*.installer.*' -o -name '*xpi' \) -exec rm -rf '{}' \; | |||
@weekly nice -n 19 find /home/ftp/pub/firefox/nightly -depth -empty -type d rmdir '{}' \; | |||
=== Sunbird === | |||
@weekly nice -n 19 find /home/ftp/pub/calendar/sunbird/nightly -mtime +180 -name '*.installer.*' -type f -exec rm -f '{}' \; | |||
@weekly nice -n 19 find /home/ftp/pub/calendar/sunbird/nightly -depth -empty -type d rmdir '{}' \; | |||