comparison contrib/make_flys_release/issue_overview.sh @ 6866:93c0a1692aa5

Add small script to generate an issue overview from a roundup querry. Yes it's quick and dirty but it does it's job.
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 19 Aug 2013 12:48:03 +0200
parents
children
comparison
equal deleted inserted replaced
6865:90f66b4fc34d 6866:93c0a1692aa5
1 #!/bin/sh
2
3 # Use this on an exported query from roundup
4 # Known issue: Tiles with more then three , in them fail.
5 # Yes (ah) I do not know how to correctly handle the csv quoting...
6
7 echo "-------------"
8 echo "Unter anderem wurden folgende issues bearbeitet und können getestet werden:"
9
10 sed 's/"\(.*\),\(.*\)"/"\1§\2"/g' "$1" | \
11 sed 's/"\(.*\),\(.*\)"/"\1§\2"/g' | \
12 sed 's/"\(.*\),\(.*\)"/\1§\2/g' | \
13 gawk -F, '$5 > 5 {
14 print "- flys/issue"$2 " ("$1")"
15 print "[https://roundup-intern.intevation.de/flys/issue"$2"]"
16 print ""
17 }' | sed 's/§/,/g'
18
19
20 echo "-------------"
21 echo "Desweiteren gab es fortschritte in folgenden Issues:"
22 echo ""
23 sed 's/"\(.*\),\(.*\)"/"\1§\2"/g' "$1" | \
24 sed 's/"\(.*\),\(.*\)"/"\1§\2"/g' | \
25 sed 's/"\(.*\),\(.*\)"/\1§\2/g' | \
26 gawk -F, '$5 <= 5 && $5 > 0 {
27 print "- flys/issue"$2 " ("$1")"
28 print "[https://roundup-intern.intevation.de/flys/issue"$2"]"
29 print ""
30 }' | sed 's/§/,/g'
31

http://dive4elements.wald.intevation.org