Mercurial > dive4elements > river
view contrib/make_flys_release/issue_overview.sh @ 8472:3f505fba522f
(issue1772) Use 0.001km tolarance instead of 0.1 to find matching km.
There is no sense to use a define here. I will not write
static final double NULLPOINTNULLNULLONE=0.001 if i just want to use that
value and not any other value which may make sense in some other place.
Using hardcoded values can have its merits and makes the code easier to
read.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 18 Nov 2014 15:24:40 +0100 |
parents | 93c0a1692aa5 |
children |
line wrap: on
line source
#!/bin/sh # Use this on an exported query from roundup # Known issue: Tiles with more then three , in them fail. # Yes (ah) I do not know how to correctly handle the csv quoting... echo "-------------" echo "Unter anderem wurden folgende issues bearbeitet und können getestet werden:" sed 's/"\(.*\),\(.*\)"/"\1§\2"/g' "$1" | \ sed 's/"\(.*\),\(.*\)"/"\1§\2"/g' | \ sed 's/"\(.*\),\(.*\)"/\1§\2/g' | \ gawk -F, '$5 > 5 { print "- flys/issue"$2 " ("$1")" print "[https://roundup-intern.intevation.de/flys/issue"$2"]" print "" }' | sed 's/§/,/g' echo "-------------" echo "Desweiteren gab es fortschritte in folgenden Issues:" echo "" sed 's/"\(.*\),\(.*\)"/"\1§\2"/g' "$1" | \ sed 's/"\(.*\),\(.*\)"/"\1§\2"/g' | \ sed 's/"\(.*\),\(.*\)"/\1§\2/g' | \ gawk -F, '$5 <= 5 && $5 > 0 { print "- flys/issue"$2 " ("$1")" print "[https://roundup-intern.intevation.de/flys/issue"$2"]" print "" }' | sed 's/§/,/g'