[gimp] devel-docs: update the stats script.



commit 89ed6ae8eee4eb0e17ee2590a190eddd52ceb576
Author: Jehan <jehan girinstud io>
Date:   Wed Jan 1 23:25:33 2020 +0100

    devel-docs: update the stats script.
    
    Look up commit stats for meson build system and Gitlab CI, and small fix
    on icon stats.

 devel-docs/release-stats.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/devel-docs/release-stats.sh b/devel-docs/release-stats.sh
index 70d6307371..4b13ef762a 100755
--- a/devel-docs/release-stats.sh
+++ b/devel-docs/release-stats.sh
@@ -96,8 +96,8 @@ echo
 echo "## DESIGN ##"
 echo
 
-new_icons=`git log --name-status $PREV..$CUR -- icons/ 2>/dev/null|grep "^A\s"|sed 
's%^.*/\([^/]*\)\..*$%\1%' | sort | uniq` 
-icons_n=`printf "$new_icons" | wc -l`
+new_icons=`git log --name-status $PREV..$CUR -- icons/*.svg icons/*.png 2>/dev/null|grep "^A\s"|sed 
's%^.*/\([^/]*\)\..*$%\1%' | sort | uniq`
+icons_n=$((`printf "$new_icons" | wc -l` + 1))
 icons_comma=`printf "$new_icons"  | paste -s -d, | sed 's/,/, /g'`
 
 if [ "$icons_n" -lt 20 ]; then
@@ -128,5 +128,11 @@ echo
 echo "Core autotools build system:"
 git --no-pager shortlog -sn $PREV..$CUR -- configure.ac "*/Makefile.am" "tools/"
 
+echo "Meson build system:"
+git --no-pager shortlog -sn $PREV..$CUR -- meson_options.txt "*/meson.build"
+
+echo "Gitlab CI:"
+git --no-pager shortlog -sn $PREV..$CUR -- .gitlab-ci.yml
+
 echo "Binary builds:"
 git --no-pager shortlog -sn $PREV..$CUR -- build/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]