summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2015-12-23 19:08:02 +0000
committerDoug Hellmann <doug@doughellmann.com>2015-12-23 19:08:02 +0000
commit3912f9ec31455d53a19a164e4d95e15bf9848ff0 (patch)
treea25e5819d191d00680c5cd0b2464c509daea7d63
parent76747d6a497dc36f63a9e0e7c6bc46f355baf227 (diff)
downloadoslo-incubator-3912f9ec31455d53a19a164e4d95e15bf9848ff0.tar.gz
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
-rwxr-xr-xtools/clone_openstack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clone_openstack.sh b/tools/clone_openstack.sh
index c59e66c8..7792d165 100755
--- a/tools/clone_openstack.sh
+++ b/tools/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