2 #-------------------------------------------------------------------------------
3 # Written by S.Fourmanoit <syfou@users.sourceforge.net>, 2005
5 # Helper script that semi-automate the extraction of entries from
6 # git repository, producing minimaly compliant GNU ChangeLog.
8 # Note: Output is not 'as is' a good ChangeLog; things should be edited
11 #-------------------------------------------------------------------------------
13 ID
=`cg tag-ls | sed 's/adesklets-//;s/_/ /g' | \
14 sort -n | gawk '{print $1*10000+$2*100+$3, $4}' | \
15 sort -r -n | head -n1 | gawk '{print $2}'`
17 echo -e "$(date +%Y-%m-%d)\t S.Fourmanoit <syfou@users.sourceforge.net>\n"
19 sed -n '/BKrev:/d;/^[[:space:]]*$/d;/(Logical change/d;/^[[:space:]]/p' | \
20 gawk
'BEGIN {ok=1} /^[ \t]*\* site/ {ok=0; next} /^[ \t]*\*/ {ok=1} ok==1 {print}'