[crossfire] autogeneration of news file

Brendan Lally brenlally at gmail.com
Sat Aug 20 08:56:47 CDT 2005


On 8/18/05, Rick Tanner <
     
     leaf at real-time.com
     
     > wrote:
>
     
      This *might* be a start.  I've been using cvs2cl to create a change log
     
     >
     
      file from cvs.  I haven't been successful in using the -xml option and
     
     >
     
      then converting to .html, but that's another story.
     
     
hmm, with a little bit of bash I get the following....

cvs2cl.pl --hide-filenames --no-indent -f lib/newstmp --no-times -l
"-d>$(ls -l lib/news | cut -d ' ' -f 7)"; grep -v ^[0123456789]
lib/newstmp | grep [:alpha:] > lib/news; rm lib/newstmp

this requires that
1) it be run from the base server directory crossfire/
2) crossfire/lib/ is writable
3) cvs2cl is in $PATH

it generates a starred list of changes since the date of the last news
file, as long as the datestamp on the news file is correct, this will
be the list required.

    
    


More information about the crossfire mailing list