From eac8522a986b6cfeb448644d335f996c632d318c Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Fri, 14 Mar 2008 01:50:13 +0100 Subject: [PATCH] inactive: Cleanup --- inactive | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) rewrite inactive (75%) diff --git a/inactive b/inactive dissimilarity index 75% index 134a3e2..9cdd52d 100644 --- a/inactive +++ b/inactive @@ -1,6 +1,8 @@ -Checking for inactive projects (empty repositories) - -for i in $(find . -name heads -type d); do [ "$(ls $i)" ] && continue; echo "${i%/refs/heads} $(cat $i/../../owner)"; done -while read x y; do echo -e 'Hello,\n\nI have removed your project '$x' from repo.or.cz since you have set it up quite some time ago and nothing has ever been pushed in. If you want to publish anything on repo.or.cz in the future, feel free to create the project again. If you experienced any technical difficulties with publishing on repo.or.cz, please let me know, hopefully we can solve them together (sometimes I don't reply for some time, in that case it's best to harass me again, and repeatedly ;-). In case the automated check went wrong, the repository is still backed up...\n\nThanks for using repo.or.cz!\n\n\t\t\tPetr Baudis ' | mail -s '[repo.or.cz] Automated project removal' $y; done - -for i in $(find . -name heads -type d); do [ "$(ls $i)" ] && continue; mv ${i%/refs/heads} /srv/git-recyclebin/; done +Checking for inactive projects (empty repositories) + +for i in $(find . -name heads -type d); do [ "$(ls $i)" ] && continue; echo "${i%/refs/heads} $(cat $i/../../owner)"; done >sack + +while read x y; do echo -e 'Hello,\n\nI have removed your project '$x' from repo.or.cz since you have set it up quite some time ago and nothing has ever been pushed in (I run this job once in few months). If you want to publish anything on repo.or.cz in the future, feel free to create the project again. If you experienced any technical difficulties with publishing on repo.or.cz, please let me know, hopefully we can solve them together (sometimes I don't reply for some time, in that case it's best to harass me again, and repeatedly ;-). In case the automated check went wrong, the repository is still backed up...\n\nThanks for using repo.or.cz!\n\n\t\t\tPetr Baudis ' | mail -s '[repo.or.cz] Automated project removal' $y; done