From 084729813ae7c0e90fbdd296f2b83def6645fc28 Mon Sep 17 00:00:00 2001 From: david_williams <david_williams> Date: Sat, 12 Feb 2011 06:10:41 +0000 Subject: [PATCH] improve daily cleanup scripts --- releng.control/cleanupArtifacts.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/releng.control/cleanupArtifacts.sh b/releng.control/cleanupArtifacts.sh index 969431531..08f838968 100644 --- a/releng.control/cleanupArtifacts.sh +++ b/releng.control/cleanupArtifacts.sh @@ -246,12 +246,18 @@ echo "INFO: Checking to remove old tmp directories and files." removeOldDirectoriesAndFiles ${RECOMMENDED_TMP_DIR} 13; # even one month is a bit "risky" in that some patch builds, for example, may not be ran except -# once every blue moon ... hence pre-reqs will need to be re-fetched. +# once every blue moon ... hence pre-reqs will need to be re-fetched. And, remember, by that time, the +# pre-req might have moved to a different URL, so our build scripts might have to be changed to +# point to 'archive' location. # TODO: we have some prereqs that can not be retrieved automatically. So, we should have # an "exclude" list, such as oagis_release_8.0_GA-withSP3.zip, DITA-OT1.2.1_bin-ASL.zip, WSDL_1.1_for%20OAGIS_8.0.zip. # I don't recall which, but one or more of these have a "license confirmation" screen that prevents # autodownload so when if/when we want it, we have to get our selves, and copy into prereqs directory. # And one of those, I think oagis_release? has some write protected files that prevents their deletion, # once unzipped, so we have tweeked the permissions. -echo "INFO: Checking to remove old pre-req directories and files not access for 1 month." +echo "INFO: Checking to remove old pre-req directories and files not accessed for 1 month." removeOldDirectoriesAndFiles ${LOCAL_PREREQS_CACHE} 30; + +echo "INFO: Checking to remove old pre-req directories and files not accessed for 1 month." +removeOldDirectories ${BASE_BUILDERS} 30; + -- GitLab