From 21d52d513422a26f5f382d4e0cb6404693ca5b81 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 23 Dec 2015 19:08:02 +0000 Subject: [PATCH] fix the clone script for the updated gerrit gerrit now includes All-Users as one of the projects in the ls-projects output, but that doesn't seem to be a real project so filter only on things that actually have "openstack" at the start of the name. Change-Id: I1c1281a5e502dd40f770c7d6ce4b06604c680137 --- clone_openstack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clone_openstack.sh b/clone_openstack.sh index c59e66c..7792d16 100755 --- a/clone_openstack.sh +++ b/clone_openstack.sh @@ -167,7 +167,7 @@ function get_one_repo { projects="$*" if [ -z "$projects" ] then - projects=$(ssh review.openstack.org -p 29418 gerrit ls-projects | grep -v 'attic') + projects=$(ssh review.openstack.org -p 29418 gerrit ls-projects | grep '^openstack' | grep -v 'attic') RC=$? if [ $RC -ne 0 ] then