Commit 1d072584 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible: sort usertags (in graphs+table) alphabetically

parent eef4cb36
...@@ -29,7 +29,8 @@ for i in reproducible unreproducible FTBFS other ; do ...@@ -29,7 +29,8 @@ for i in reproducible unreproducible FTBFS other ; do
done done
FIELDS[2]="datum, oldest" FIELDS[2]="datum, oldest"
FIELDS[3]="datum " FIELDS[3]="datum "
for TAG in $USERTAGS ; do # for $(sorted list of usertags)…
for TAG in $(echo "$USERTAGS" | sed -s "s# #\n#g" | sort -u | xargs echo) ; do
# for this table (#3) bugs with ftbfs tags are ignored _now_… # for this table (#3) bugs with ftbfs tags are ignored _now_…
if [ "$TAG" = "ftbfs" ] ; then if [ "$TAG" = "ftbfs" ] ; then
continue continue
...@@ -44,6 +45,7 @@ FIELDS[5]="datum, known_issues" ...@@ -44,6 +45,7 @@ FIELDS[5]="datum, known_issues"
FIELDS[7]="datum, done_bugs, open_bugs" FIELDS[7]="datum, done_bugs, open_bugs"
SUM_DONE="(0" SUM_DONE="(0"
SUM_OPEN="(0" SUM_OPEN="(0"
# no need to sort the usertags, only their sum will be used
for TAG in $USERTAGS ; do for TAG in $USERTAGS ; do
SUM_DONE="$SUM_DONE+done_$TAG" SUM_DONE="$SUM_DONE+done_$TAG"
SUM_OPEN="$SUM_OPEN+open_$TAG" SUM_OPEN="$SUM_OPEN+open_$TAG"
...@@ -51,7 +53,8 @@ done ...@@ -51,7 +53,8 @@ done
SUM_DONE="$SUM_DONE)" SUM_DONE="$SUM_DONE)"
SUM_OPEN="$SUM_OPEN)" SUM_OPEN="$SUM_OPEN)"
FIELDS[8]="datum " FIELDS[8]="datum "
for TAG in $USERTAGS ; do # for $(sorted list of usertags)…
for TAG in $(echo "$USERTAGS" | sed -s "s# #\n#g" | sort -u | xargs echo) ; do
# for this table (#8) bugs with ftbfs tags are ignored. # for this table (#8) bugs with ftbfs tags are ignored.
if [ "$TAG" = "ftbfs" ] ; then if [ "$TAG" = "ftbfs" ] ; then
continue continue
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment