You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by le...@apache.org on 2005/05/01 20:27:19 UTC

svn commit: r165535 - /gump/branches/Gump3/bin/find-todo.sh

Author: leosimons
Date: Sun May  1 11:27:18 2005
New Revision: 165535

URL: http://svn.apache.org/viewcvs?rev=165535&view=rev
Log:
Simple script to get a list of TODOs e-mailed to us.

bin/find-todo.sh

Added:
    gump/branches/Gump3/bin/find-todo.sh

Added: gump/branches/Gump3/bin/find-todo.sh
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/bin/find-todo.sh?rev=165535&view=auto
==============================================================================
--- gump/branches/Gump3/bin/find-todo.sh (added)
+++ gump/branches/Gump3/bin/find-todo.sh Sun May  1 11:27:18 2005
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+# Simple script to find all "TODO" lines in python code and e-mail them
+
+GUMP_HOME=/home/gump3/Gump3/bin
+cd $GUMP_HOME
+svn update -q --non-interactive
+
+COLUMS=300
+todos=`find . -name '*.py' -not -path '*.svn*' -not -path '*pygump/work*' -exec grep -nH TODO \{\} \; 2>&1`
+
+subject="TODOs in Gump3 Report"
+
+body="This is an auto-generated report providing a list of all TODOs in the Gump3 codebase.
+It is run once a week using the bin/find-todo.sh script. Here's the list:
+
+$todos
+
+best regards,
+
+- gump3@brutus
+"
+
+echo "$body" | mail -s "$subject" general@gump.apache.org