Add timestamp to each table
diff --git a/org.eclipse.e4.builder/scripts/wiki-from-cvs.sh b/org.eclipse.e4.builder/scripts/wiki-from-cvs.sh
index 9e3c6c5..0624fbd 100755
--- a/org.eclipse.e4.builder/scripts/wiki-from-cvs.sh
+++ b/org.eclipse.e4.builder/scripts/wiki-from-cvs.sh
@@ -5,6 +5,7 @@
F_TARGET="$1" ; shift
F_SEARCH="$1" ; shift
+NUM=1
curl -o search.csv 'https://bugs.eclipse.org/bugs/buglist.cgi?classification=Eclipse&component=IDE&component=UI&list_id=5935738&product=Platform&query_format=advanced&target_milestone='$F_SEARCH'&query_based_on=&columnlist=bug_id%2Ctarget_milestone%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cbug_severity&ctype=csv'
grep -v target_milestone search.csv >t1 ; mv t1 search.csv
@@ -13,7 +14,7 @@
echo ""
echo '{| class="wikitable" border="1"'
echo '|-'
-echo '! Bug !! TM !! Sev !! Assign !! Status !! Title'
+echo '! !! Bug !! TM !! Sev !! Assign !! Status !! Title'
while read line; do
BUG=$( echo $line | csvtool col 1 - )
@@ -29,7 +30,7 @@
SEV=$( echo $line | csvtool col 7 - )
echo '|-'
- echo "| $PRE{{bug|$BUG}}$POST || $TARGET || $SEV || $ASSIGNED_TO || $STATUS || $PRE$TITLE$POST"
+ echo "| $NUM || $PRE{{bug|$BUG}}$POST || $TARGET || $SEV || $ASSIGNED_TO || $STATUS || $PRE$TITLE$POST"
BUG=""
TARGET=""
TITLE=""
@@ -38,11 +39,14 @@
SEV=""
PRE=""
POST=""
+ (( NUM = NUM + 1 ))
done < search.csv
echo '|-'
echo '|}'
echo ""
+echo "Last Generated on '''$(date)'''"
+echo ""
}