gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r165535 - /gump/branches/Gump3/bin/find-todo.sh
Date Sun, 01 May 2005 18:27:19 GMT
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



Mime
View raw message