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
This commit is contained in:
Doug Hellmann 2015-12-23 19:08:02 +00:00
parent 29d3dbd449
commit 21d52d5134
1 changed files with 1 additions and 1 deletions

View File

@ -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