[gnome-user-docs] Added simple NEWS entry generator
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-docs] Added simple NEWS entry generator
- Date: Wed, 19 Mar 2014 13:36:37 +0000 (UTC)
commit e9bba444c520c74410ec1bd119a43135e7f35b7b
Author: Shaun McCance <shaunm gnome org>
Date: Wed Mar 19 09:36:18 2014 -0400
Added simple NEWS entry generator
mknews | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/mknews b/mknews
new file mode 100755
index 0000000..bf3a715
--- /dev/null
+++ b/mknews
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+if [ "$#" != "1" ]; then
+ echo "Usage: mknews PREVTAG" 1>&2
+ exit 1
+fi
+
+contrib=`git log ${1}.. --pretty=format:%an, gnome-help/C/ | sort | uniq -c | sort -rn | sed -e 's/^
*[0-9]\+ \+//'`
+echo '* Updates to GNOME Help ('$contrib')' | grep -v '()$' | sed -e 's/,)$/)/'
+
+contrib=`git log ${1}.. --pretty=format:%an, system-admin-guide/C/ | sort | uniq -c | sort -rn | sed -e 's/^
*[0-9]\+ \+//'`
+echo '* Updates to System Admin Guide ('$contrib')' | grep -v '()$' | sed -e 's/,)$/)/'
+
+spc=' '
+echo '* Updated translations:'
+find . -name '*.po' -exec basename {} .po \; | sort -u | while read lc; do
+ contrib=`git log ${1}.. --pretty=format:%an, */$lc/${lc}.po | sort | uniq -c | sort -rn | sed -e 's/^
*[0-9]\+ \+//'`
+ echo " $lc${spc:0:((10-${#lc}))}("$contrib")"
+done | grep -v '()$' | sed -e 's/,)$/)/'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]