summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-25 10:07:42 +0100
committerErich Eckner <git@eckner.net>2017-11-25 10:07:42 +0100
commite8b458299102bc6e7eacc33ca6121b1528f746df (patch)
treeed3f651e0e1cc441736aab8525c237e341b91bfc /bin
parent074019b010a8b603568a1240fcb5c188339d4637 (diff)
downloadbuilder-e8b458299102bc6e7eacc33ca6121b1528f746df.tar.xz
bin/cleanup: add TODO
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cleanup2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/cleanup b/bin/cleanup
index a7589de..5de6e0f 100755
--- a/bin/cleanup
+++ b/bin/cleanup
@@ -39,6 +39,8 @@ fi
# remove logs where package is not broken/locked anymore
+# TODO: keep logs of staging and testing packages, too
+
{
find "${build_log_directory}/error" -maxdepth 1 -type f -printf '%f\n' | \
sed 's|\.[^.]\+\.build-log\.gz$||' | \