Exclude neutron-dynamic-routing from abandon script

We managed to have no backlog of open patches for the
neutron-dynamic-routing project currently. If new patches arrive, they
may take longer to be reviewed though due to scarceness of reviewers. So
do not handle this project by the script for auto-abandoning reviews.

Change-Id: I8a8de62d75927fd6def7e31068f9a5741bb39ba4
This commit is contained in:
Dr. Jens Harbott 2022-11-23 20:04:50 +01:00 committed by Dr. Jens Harbott
parent bf44e70db6
commit 3b1fd52b41

View File

@ -103,7 +103,9 @@ project = "$CLEAN_PROJECT"
data = urlopen("https://raw.githubusercontent.com/openstack/"
"governance/master/reference/projects.yaml")
governance = yaml.safe_load(data)
stadium = governance["neutron"]["deliverables"].keys()
stadium = governance["neutron"]["deliverables"]
stadium.pop('neutron-dynamic-routing', None)
stadium = stadium.keys()
query = ["project:openstack/%s" % p for p in stadium]
if project:
print(project if project in query else "")