From acb6a950ed690147fded004f771f30d9ceeca225 Mon Sep 17 00:00:00 2001 From: Armando Migliaccio Date: Tue, 5 Jul 2016 16:22:11 -0700 Subject: [PATCH] Pull stadium projects from governance.o.o in utility script For housekeeping reasons we have abandon_old_reviews.sh that is used to purge blocked reviews from Gerrit. The project query should be extended to all stadium projects. To avoid hard coding, fetch the list from governance.o.o, parse it and feed it to the rest of the script. Change-Id: Iad40d78b7a72a4435382406373bb9f15c0ffc4a7 --- tools/abandon_old_reviews.sh | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tools/abandon_old_reviews.sh b/tools/abandon_old_reviews.sh index 96afa28ce97..2c2e7c29a1d 100755 --- a/tools/abandon_old_reviews.sh +++ b/tools/abandon_old_reviews.sh @@ -50,9 +50,19 @@ function abandon_review { fi } -PROJECTS="(project:openstack/neutron OR project:openstack/neutron-fwaas OR \ - project:openstack/neutron-lbaas OR project:openstack/neutron-vpnaas OR \ - project:openstack/python-neutronclient OR project:openstack/neutron-specs)" +PROJECTS="($( +python - <