Author: lfryc(a)redhat.com
Date: 2011-01-26 11:17:34 -0500 (Wed, 26 Jan 2011)
New Revision: 21238
Added:
modules/tests/metamer/trunk/ftest/find-new-issues.sh
modules/tests/metamer/trunk/ftest/issue-tracking-query.sh
Log:
added script for managing issue tracking
Added: modules/tests/metamer/trunk/ftest/find-new-issues.sh
===================================================================
--- modules/tests/metamer/trunk/ftest/find-new-issues.sh (rev 0)
+++ modules/tests/metamer/trunk/ftest/find-new-issues.sh 2011-01-26 16:17:34 UTC (rev
21238)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "####################### NOT TRACKED ISSUES ###########################"
+find -name "stacktrace.txt" | sed -r 's#stacktrace.txt$#issues.txt#' |
xargs ls 2>&1 | grep "cannot access" | sed -r 's#ls: cannot access
\.\/target\/failures\/##' | sed -r 's#\/[^\/]+\/issues\.txt: No such file or
directory$##'
+echo "######################################################################"
Added: modules/tests/metamer/trunk/ftest/issue-tracking-query.sh
===================================================================
--- modules/tests/metamer/trunk/ftest/issue-tracking-query.sh (rev
0)
+++ modules/tests/metamer/trunk/ftest/issue-tracking-query.sh 2011-01-26 16:17:34 UTC (rev
21238)
@@ -0,0 +1,13 @@
+#!/bin/bash
+issues=`find -name "issues.txt" -exec cat {} \; -exec echo '' \; | sed
-r 's# #\n#' | sort | uniq | grep RF- | sed -r 's#.*/(RF-[0-9]+)#\1,#'`
+issues=`echo $issues | sed -r 's#,[^A-Z]*$##'`
+
+echo "===================================================================="
+echo "=============== ALL TRACKED ISSUES ================================="
+echo "===================================================================="
+echo "project = RF AND key in ($issues) AND status != Closed ORDER BY status DESC,
key DESC"
+echo "===================================================================="
+echo "=============== ISSUES WHICH ARE NOT LABELED IN JIRA ==============="
+echo "===================================================================="
+echo "project = RF AND key in ($issues) AND status != Closed AND labels !=
"metamer-ftest-tracked" ORDER BY status DESC, key DESC"
+echo "===================================================================="
Show replies by date