Reverse the close-pull logic.
We have a huge list of projects with all of them listing "close-pull" as an option. Turns out we want to close pull requests for all of them - so instead, let's only indicate 'has-pull-requests' if there is ever a project for whom we do not want to close pull requests. Change-Id: I4db31d324b7f260ea24f538ac5f5fc8e1feca75d Reviewed-on: https://review.openstack.org/15626 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
72afd76d32
commit
49a29d9428
@ -751,14 +751,11 @@ with instructions to use Gerrit.
|
|||||||
|
|
||||||
* Edit openstack/openstack-ci-puppet:modules/openstack_project/files/review.projects.yaml
|
* Edit openstack/openstack-ci-puppet:modules/openstack_project/files/review.projects.yaml
|
||||||
|
|
||||||
and add the project to the list of projects in the yaml file with the
|
and add the project to the list of projects in the yaml file
|
||||||
'close-pull' option.
|
|
||||||
|
|
||||||
For example::
|
For example::
|
||||||
|
|
||||||
- project: openstack/PROJECT
|
- project: openstack/PROJECT
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
|
|
||||||
Adding Local Git Replica
|
Adding Local Git Replica
|
||||||
========================
|
========================
|
||||||
|
@ -17,8 +17,6 @@
|
|||||||
# It should look like:
|
# It should look like:
|
||||||
|
|
||||||
# - project: PROJECT_NAME
|
# - project: PROJECT_NAME
|
||||||
# options:
|
|
||||||
# - close-pull
|
|
||||||
# remote: https://gerrit.googlesource.com/gerrit
|
# remote: https://gerrit.googlesource.com/gerrit
|
||||||
|
|
||||||
# TODO: add support for
|
# TODO: add support for
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
# - project: PROJECT_NAME
|
# - project: PROJECT_NAME
|
||||||
# options:
|
# options:
|
||||||
# - close-pull
|
# - has-pull-requests
|
||||||
|
|
||||||
# Github authentication information is read from github.secure.config,
|
# Github authentication information is read from github.secure.config,
|
||||||
# which should look like:
|
# which should look like:
|
||||||
@ -68,7 +68,7 @@ for section in config:
|
|||||||
project = section['project']
|
project = section['project']
|
||||||
|
|
||||||
# Make sure we're supposed to close pull requests for this project:
|
# Make sure we're supposed to close pull requests for this project:
|
||||||
if 'options' not in section or 'close-pull' not in section['options']:
|
if 'options' in section and 'has-pull-requests' in section['options']:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Find the project's repo
|
# Find the project's repo
|
||||||
|
@ -1,3 +1 @@
|
|||||||
- project: gtest-org/test
|
- project: gtest-org/test
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
|
@ -1,184 +1,62 @@
|
|||||||
- project: heat-api/heat
|
- project: heat-api/heat
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: heat-api/python-heatclient
|
- project: heat-api/python-heatclient
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/devstack-gate
|
- project: openstack-ci/devstack-gate
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/gerrit
|
- project: openstack-ci/gerrit
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
remote: https://gerrit.googlesource.com/gerrit
|
remote: https://gerrit.googlesource.com/gerrit
|
||||||
- project: openstack-ci/gerrit-verification-status-plugin
|
- project: openstack-ci/gerrit-verification-status-plugin
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/gerritbot
|
- project: openstack-ci/gerritbot
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/gerritlib
|
- project: openstack-ci/gerritlib
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/git-review
|
- project: openstack-ci/git-review
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/jenkins-job-builder
|
- project: openstack-ci/jenkins-job-builder
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/lodgeit
|
- project: openstack-ci/lodgeit
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/meetbot
|
- project: openstack-ci/meetbot
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/nose-html-output
|
- project: openstack-ci/nose-html-output
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/puppet-apparmor
|
- project: openstack-ci/puppet-apparmor
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/puppet-dashboard
|
- project: openstack-ci/puppet-dashboard
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/puppet-vcsrepo
|
- project: openstack-ci/puppet-vcsrepo
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/pypi-mirror
|
- project: openstack-ci/pypi-mirror
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-ci/zuul
|
- project: openstack-ci/zuul
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-dev/devstack
|
- project: openstack-dev/devstack
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-dev/openstack-nose
|
- project: openstack-dev/openstack-nose
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-dev/openstack-qa
|
- project: openstack-dev/openstack-qa
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-dev/pbr
|
- project: openstack-dev/pbr
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack-dev/sandbox
|
- project: openstack-dev/sandbox
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/cinder
|
- project: openstack/cinder
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/compute-api
|
- project: openstack/compute-api
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/glance
|
- project: openstack/glance
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/horizon
|
- project: openstack/horizon
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/identity-api
|
- project: openstack/identity-api
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/image-api
|
- project: openstack/image-api
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/keystone
|
- project: openstack/keystone
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/melange
|
- project: openstack/melange
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/netconn-api
|
- project: openstack/netconn-api
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/nova
|
- project: openstack/nova
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/object-api
|
- project: openstack/object-api
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/openstack-chef
|
- project: openstack/openstack-chef
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/openstack-ci
|
- project: openstack/openstack-ci
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/openstack-ci-puppet
|
- project: openstack/openstack-ci-puppet
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/openstack-common
|
- project: openstack/openstack-common
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/openstack-manuals
|
- project: openstack/openstack-manuals
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/openstack-planet
|
- project: openstack/openstack-planet
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/openstack-puppet
|
- project: openstack/openstack-puppet
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/python-cinderclient
|
- project: openstack/python-cinderclient
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/python-glanceclient
|
- project: openstack/python-glanceclient
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/python-keystoneclient
|
- project: openstack/python-keystoneclient
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/python-melangeclient
|
- project: openstack/python-melangeclient
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/python-novaclient
|
- project: openstack/python-novaclient
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/python-openstackclient
|
- project: openstack/python-openstackclient
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/python-quantumclient
|
- project: openstack/python-quantumclient
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/python-swiftclient
|
- project: openstack/python-swiftclient
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/requirements
|
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/quantum
|
- project: openstack/quantum
|
||||||
options:
|
- project: openstack/requirements
|
||||||
- close-pull
|
|
||||||
- project: openstack/swift
|
- project: openstack/swift
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/tempest
|
- project: openstack/tempest
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: openstack/volume-api
|
- project: openstack/volume-api
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: stackforge/MRaaS
|
- project: stackforge/MRaaS
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: stackforge/ceilometer
|
- project: stackforge/ceilometer
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: stackforge/reddwarf
|
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: stackforge/python-reddwarfclient
|
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: stackforge/libra
|
- project: stackforge/libra
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: stackforge/marconi
|
- project: stackforge/marconi
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: stackforge/moniker
|
- project: stackforge/moniker
|
||||||
options:
|
|
||||||
- close-pull
|
|
||||||
- project: stackforge/python-monikerclient
|
- project: stackforge/python-monikerclient
|
||||||
options:
|
- project: stackforge/python-reddwarfclient
|
||||||
- close-pull
|
- project: stackforge/reddwarf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user