ubuntu-support-team team mailing list archive
-
ubuntu-support-team team
-
Mailing list archive
-
Message #00325
[Merge] ~dgadomski/ubuntu-support-tools:lplinks into ubuntu-support-tools:master
Dariusz Gadomski has proposed merging ~dgadomski/ubuntu-support-tools:lplinks into ubuntu-support-tools:master.
Commit message:
sru-report.sh: change LP bug format to clickable in gnome-terminal
Requested reviews:
Mauricio Faria de Oliveira (mfo)
For more details, see:
https://code.launchpad.net/~dgadomski/ubuntu-support-tools/+git/ubuntu-support-tools/+merge/395484
I'm not sure if that matters for anyone else, but if we keep the LP bugs numbers formatted as in debian/changelog they will be 'clickable' for gnome-terminal users.
--
Your team Ubuntu Support Team is subscribed to branch ubuntu-support-tools:master.
diff --git a/tools/sru/sru-report.sh b/tools/sru/sru-report.sh
index 064d20a..068705f 100755
--- a/tools/sru/sru-report.sh
+++ b/tools/sru/sru-report.sh
@@ -93,7 +93,7 @@ do
then
# print Bug / SF
sf="$(grep -w ^$bug ${file_bugs_cases} | cut -d' ' -f2 || true)"
- echo "Bug $bug / SF $sf";
+ echo "LP: #$bug / SF $sf";
# print Release/Bug info
# - grep: print 1 line -Before bug number (which is release in header 3)
@@ -105,7 +105,7 @@ do
| sed \
-e 's,^<h3>,,' \
-e 's,</h3>$,,' \
- -e 's,^[^0-9]\+/,Bug ,' \
+ -e 's,^[^0-9]\+/,LP: #,' \
-e '/^--/!s,^,- ,'
echo
fi
@@ -164,7 +164,7 @@ do
then
# print Bug / SF
sf="$(grep -w ^$bug ${file_bugs_cases} | cut -d' ' -f2 || true)"
- echo "Bug $bug / SF $sf";
+ echo "LP: #$bug / SF $sf";
# print Bug/Package info
# - sed: indent lines with '- ' except for grep's '--' line (multiple bug/release matches)
Follow ups