Generate ChangeLogs properly.
authorMattias Holmlund <mattias@sol.holmlund.se>
Fri, 1 Aug 2008 18:53:08 +0000 (20:53 +0200)
committerMattias Holmlund <mattias@sol.holmlund.se>
Fri, 1 Aug 2008 18:53:08 +0000 (20:53 +0200)
templates/summaryreport
tools/mh-xmltv-do-cvs

index 4b1df86..3ff6990 100644 (file)
@@ -13,7 +13,6 @@
 </style>
 <h1>XMLTV Test Report</h1>
 <p><b>Source:</b> [% srctype %]<br>
-<b>ChangeLog:</b> <a href="ChangeLog">Last 7 days</a><br>
 
 <b>Generated:</b> [% date %]<br>
 <b>Contact me:</b> <a href="http://www.holmlund.se/mattias/">Mattias Holmlund</a>
index 617b9b2..8855f85 100755 (executable)
@@ -3,6 +3,7 @@
 BASE=/home/mattias/nobackup/xmltv-tester
 XT=/home/mattias/development/xmltv-tester/tools
 CVS=:pserver:anonymous@xmltv.cvs.sourceforge.net:/cvsroot/xmltv
+LASTWEEK=`date -d "last week" +%F`
 
 rm -rf $BASE/work/nightly
 mkdir -p $BASE/work/nightly
@@ -10,10 +11,14 @@ mkdir -p $BASE/work/nightly
 cd $BASE/work/nightly
 # cvs -d$CVS login 
 cvs -Q -z3 -d$CVS co -P xmltv
+cd xmltv
+cvs2cl -g -Q -l "-d>$LASTWEEK"
 cp -a $BASE/config/nightly/* $BASE/work/nightly/xmltv
 
 rm -rf $BASE/result/nightly/latest
 mkdir -p $BASE/result/nightly/latest
+cp $BASE/work/nightly/xmltv/ChangeLog $BASE/result/nightly/latest
+
 $XT/mh-xmltv-test "$BASE/work/nightly/xmltv" \
               "$BASE/result/nightly/latest"