maintain-github-mirror makes direct use of the requests module. That
module is currently installed as a dependency of PyGithub, but that's
brittle, as PyGithub may well opt for a different library in the
Let's proactively fix that before it bites us.
Job definition referenced opendev/governance and opendev/project_config
instead of openstack/governance and openstack/project-config, causing
the job to fail.
Also replace variable names so that they make more sense.
Opendev no longer automatically creates repositories on the
GitHub mirror, nor does it update descriptions or closes open PRs.
Add a playbook and a job for periodically maintaining the GitHub
mirror for the 'openstack' organization:
- updating descriptions based on Gerrit project descriptions
- creating on GitHub newly-added openstack repositories
- archiving from GitHub recently-retired openstack repositories
- closing any open PR with a healpful message
This job makes use of a GitHub API token (from the openstack-mirroring
user) and is defined to run periodically on project-config.