mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Query Gnats for PRs by using the query-pr command on freefall instead of the
web-interface becase the later is not reliable.
This commit is contained in:
parent
37e6cbdcb8
commit
59a026b0f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180273
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user