canmove, Confirmed users
2,850
edits
ChrisCooper (talk | contribs) |
ChrisCooper (talk | contribs) No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
# 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 | # Delete nightly artifacts for all products that are not useful in regression hunting. Specifically, this means deleting installer files (linux and windows) and xpis older than 6 months. At the time of writing, that equates to December 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. | ||
| Line 21: | Line 21: | ||
=== Firefox === | === Firefox === | ||
# Clean up symbols every night. | |||
10 22 * * * /usr/local/bin/clean_symbols.py /mnt/breakpad_symbols/symbols_ffx | |||
# Delete all installer and xpi files/dirs older than 6 months | # Delete all installer and xpi files/dirs older than 6 months | ||
@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 -mtime +180 \( -name '*.installer.*' -o -name '*xpi' \) -exec rm -rf '{}' \; | ||
# Delete all MAR files older than 1 month that aren't in a candidates dir. | # Delete all MAR files older than 1 month that aren't in a candidates dir. | ||
@weekly nice -n 19 find /home/ftp/pub/firefox/nightly -wholename '*-candidates' -prune -o -mtime +30 -name '*.mar' -exec rm -f '{}' \; | @weekly nice -n 19 find /home/ftp/pub/firefox/nightly -wholename '*-candidates' -prune -o -mtime +30 \( -name '*.mar' -o -name '*.tests.*' \) -exec rm -f '{}' \; | ||
# Delete empty dirs | # Delete empty dirs | ||
@weekly nice -n 19 find /home/ftp/pub/firefox/nightly - | @weekly nice -n 19 find /home/ftp/pub/firefox/nightly -wholename '*-candidates/build*/contrib*' -prune -o -empty -type d -exec rmdir '{}' \; | ||
=== Thunderbird === | === Thunderbird === | ||
| Line 38: | Line 41: | ||
# Delete empty dirs | # Delete empty dirs | ||
#@weekly nice -n 19 find /home/ftp/pub/thunderbird/nightly - | #@weekly nice -n 19 find /home/ftp/pub/thunderbird/nightly -wholename '*-candidates/build*/contrib*' -prune -o -empty -type d -exec rmdir '{}' \; | ||
=== SeaMonkey === | === SeaMonkey === | ||
| Line 48: | Line 51: | ||
# Delete empty dirs. | # Delete empty dirs. | ||
@weekly nice -n 19 find /home/ftp/pub/seamonkey/nightly - | @weekly nice -n 19 find /home/ftp/pub/seamonkey/nightly -wholename '*-candidates/build*/contrib*' -prune -o -empty -type d -exec rmdir '{}' \; | ||
=== Sunbird === | === Sunbird === | ||
| Line 55: | Line 58: | ||
# Delete empty dirs. | # Delete empty dirs. | ||
@weekly nice -n 19 find /home/ftp/pub/calendar/sunbird/nightly - | @weekly nice -n 19 find /home/ftp/pub/calendar/sunbird/nightly -wholename '*-candidates/build*/contrib*' -prune -o -empty -type d -exec rmdir '{}' \; | ||