aboutsummaryrefslogtreecommitdiff
path: root/Tools/scripts
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2006-12-20 13:18:25 +0000
committerVasil Dimov <vd@FreeBSD.org>2006-12-20 13:18:25 +0000
commit59a026b0f19ca2d3ca690f04c2c418a6c923dc4a (patch)
treea97a4ad4c30c136924cacfc759e9515822f2409d /Tools/scripts
parent37e6cbdcb822598bd1b616ce69f42286feff7eda (diff)
downloadports-59a026b0f19ca2d3ca690f04c2c418a6c923dc4a.tar.gz
ports-59a026b0f19ca2d3ca690f04c2c418a6c923dc4a.zip
Notes
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/rmport24
1 files changed, 22 insertions, 2 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index 37339efe13d8..59e748b8ef6e 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -178,8 +178,8 @@ check_dep()
done
}
-# query GNATS, format and return the result
-get_PRs()
+# query GNATS via query-pr-summary.cgi, format and return the result
+get_PRs_www()
{
catport=${1}
synopsis=${2}
@@ -203,6 +203,26 @@ get_PRs()
|sort
}
+# query GNATS via query-pr on freefall and return the result
+get_PRs_freefall()
+{
+ catport=${1}
+ synopsis=${2}
+
+ log "${catport}: getting PRs having ${synopsis} in the synopsis"
+
+ ssh freefall.freebsd.org "query-pr -qx -y '${synopsis}' || :"
+}
+
+# query GNATS and return the result
+get_PRs()
+{
+ catport=${1}
+ synopsis=${2}
+
+ get_PRs_freefall ${catport} ${synopsis}
+}
+
# check if any PRs exist that are related to the port
check_PRs()
{