Mesa (staging/19.2): bin: delete unused releasing scripts

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 10 22:25:04 UTC 2019


Module: Mesa
Branch: staging/19.2
Commit: a06f8341d8a2d69b606b077fe274624646fba0f0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a06f8341d8a2d69b606b077fe274624646fba0f0

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Thu Sep 26 14:34:49 2019 -0700

bin: delete unused releasing scripts

Acked-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit 974e3ad00465460835939f57f19510b351a9aa8c)

---

 bin/bugzilla_mesa.sh | 35 -----------------------------------
 bin/shortlog_mesa.sh | 29 -----------------------------
 2 files changed, 64 deletions(-)

diff --git a/bin/bugzilla_mesa.sh b/bin/bugzilla_mesa.sh
deleted file mode 100755
index 9095bc9deea..00000000000
--- a/bin/bugzilla_mesa.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-# This script is used to generate the list of fixed bugs that
-# appears in the release notes files, with HTML formatting.
-#
-# Note: This script could take a while until all details have
-#       been fetched from bugzilla.
-#
-# Usage examples:
-#
-# $ bin/bugzilla_mesa.sh mesa-9.0.2..mesa-9.0.3
-# $ bin/bugzilla_mesa.sh mesa-9.0.2..mesa-9.0.3 > bugfixes
-# $ bin/bugzilla_mesa.sh mesa-9.0.2..mesa-9.0.3 | tee bugfixes
-
-
-# regex pattern: trim before bug number
-trim_before='s/.*show_bug.cgi?id=\([0-9]*\).*/\1/'
-
-# regex pattern: reconstruct the url
-use_after='s,^,https://bugs.freedesktop.org/show_bug.cgi?id=,'
-
-echo "<ul>"
-echo ""
-
-# extract fdo urls from commit log
-git log --pretty=medium $* | grep 'bugs.freedesktop.org/show_bug' | sed -e $trim_before | sort -n -u | sed -e $use_after |\
-while read url
-do
-	id=$(echo $url | cut -d'=' -f2)
-	summary=$(wget --quiet -O - $url | grep -e '<title>.*</title>' | sed -e 's/ *<title>[0-9]\+ – \(.*\)<\/title>/\1/')
-	echo "<li><a href=\"$url\">Bug $id</a> - $summary</li>"
-	echo ""
-done
-
-echo "</ul>"
diff --git a/bin/shortlog_mesa.sh b/bin/shortlog_mesa.sh
deleted file mode 100755
index c9a42972368..00000000000
--- a/bin/shortlog_mesa.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# This script is used to generate the list of changes that
-# appears in the release notes files, with HTML formatting.
-#
-# Usage examples:
-#
-# $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3
-# $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 > changes
-# $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 | tee changes
-
-
-in_log=0
-
-git shortlog $* | while read l
-do
-    if [ $in_log -eq 0 ]; then
-	echo '<p>'$l'</p>'
-	echo '<ul>'
-	in_log=1
-    elif echo "$l" | egrep -q '^$' ; then
-	echo '</ul>'
-	echo
-	in_log=0
-    else
-        mesg=$(echo $l | sed 's/ (cherry picked from commit [0-9a-f]\+)//;s/\&/&/g;s/</\</g;s/>/\>/g')
-	echo '  <li>'${mesg}'</li>'
-    fi
-done




More information about the mesa-commit mailing list