From 03232d51ce6b4aa7dafb4dc35297e87dfa2db28c Mon Sep 17 00:00:00 2001
From: "James E. Blair" <jeblair@redhat.com>
Date: Thu, 23 May 2019 07:09:49 -0700
Subject: [PATCH] Push all refs to gitea

The current version wil now skip performing expensive operations
on unknown refs, so it is safe to push refs/notes and refs/changes
to gitea.

Change-Id: I8f08f3341e0ff603f8579870bd862b5fd6c5a9c1
---
 modules/openstack_project/manifests/review.pp | 32 -------------------
 1 file changed, 32 deletions(-)

diff --git a/modules/openstack_project/manifests/review.pp b/modules/openstack_project/manifests/review.pp
index efa6ca9cc8..003cc392e2 100644
--- a/modules/openstack_project/manifests/review.pp
+++ b/modules/openstack_project/manifests/review.pp
@@ -260,10 +260,6 @@ class openstack_project::review (
           replicationDelay     => '1',
           replicatePermissions => false,
           mirror               => true,
-          push                 => [
-            '+refs/heads/*:refs/heads/*',
-            '+refs/tags/*:refs/tags/*',
-          ],
           threads              => '4',
         },
         {
@@ -273,10 +269,6 @@ class openstack_project::review (
           replicationDelay     => '1',
           replicatePermissions => false,
           mirror               => true,
-          push                 => [
-            '+refs/heads/*:refs/heads/*',
-            '+refs/tags/*:refs/tags/*',
-          ],
           threads              => '4',
         },
         {
@@ -286,10 +278,6 @@ class openstack_project::review (
           replicationDelay     => '1',
           replicatePermissions => false,
           mirror               => true,
-          push                 => [
-            '+refs/heads/*:refs/heads/*',
-            '+refs/tags/*:refs/tags/*',
-          ],
           threads              => '4',
         },
         {
@@ -299,10 +287,6 @@ class openstack_project::review (
           replicationDelay     => '1',
           replicatePermissions => false,
           mirror               => true,
-          push                 => [
-            '+refs/heads/*:refs/heads/*',
-            '+refs/tags/*:refs/tags/*',
-          ],
           threads              => '4',
         },
         {
@@ -312,10 +296,6 @@ class openstack_project::review (
           replicationDelay     => '1',
           replicatePermissions => false,
           mirror               => true,
-          push                 => [
-            '+refs/heads/*:refs/heads/*',
-            '+refs/tags/*:refs/tags/*',
-          ],
           threads              => '4',
         },
         {
@@ -325,10 +305,6 @@ class openstack_project::review (
           replicationDelay     => '1',
           replicatePermissions => false,
           mirror               => true,
-          push                 => [
-            '+refs/heads/*:refs/heads/*',
-            '+refs/tags/*:refs/tags/*',
-          ],
           threads              => '4',
         },
         {
@@ -338,10 +314,6 @@ class openstack_project::review (
           replicationDelay     => '1',
           replicatePermissions => false,
           mirror               => true,
-          push                 => [
-            '+refs/heads/*:refs/heads/*',
-            '+refs/tags/*:refs/tags/*',
-          ],
           threads              => '4',
         },
         {
@@ -351,10 +323,6 @@ class openstack_project::review (
           replicationDelay     => '1',
           replicatePermissions => false,
           mirror               => true,
-          push                 => [
-            '+refs/heads/*:refs/heads/*',
-            '+refs/tags/*:refs/tags/*',
-          ],
           threads              => '4',
         },
         {