From 654c2873679738d629b4828a6383577c82b8c913 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 12 Apr 2022 09:13:20 +1000 Subject: [PATCH] doc/jeepyb: further cleanups Follow-on to I07ca2b18d2da7e6261389696a0eae13d20d2cb22 * Github issues are now closed via the maintain-github-openstack-mirror which Zuul runs periodically * manage-projects also runs from Zuul * run-mirror hasn't been used since If5935b356e222c2f4d474a2cec8add3cc66b6010 * I'm not sure what the ssh key stuff is talking about, it's not really relevant now. Change-Id: If4d8a1ac98c35c494090564d94f3a8c082cea900 --- doc/source/github.rst | 8 ++++---- doc/source/jeepyb.rst | 36 ------------------------------------ 2 files changed, 4 insertions(+), 40 deletions(-) diff --git a/doc/source/github.rst b/doc/source/github.rst index 07e75a1df3..a496dc30ba 100644 --- a/doc/source/github.rst +++ b/doc/source/github.rst @@ -43,10 +43,10 @@ document at :ref:`gerrit_github_integration`. Pull Request Closer ------------------- -A cronjob is run that looks for Pull Requests that have been erroneously -submitted and closes them with a helpful message pointing people to the -documentation on `Contributing to OpenStack`_. More information on this can -be found in the :ref:`jeepyb` document at :ref:`closing_pull_requests`. +A periodic job ``openstack-github-mirroring`` runs that looks for +Pull Requests that have been erroneously submitted and closes them +with a helpful message pointing people to the documentation on +`Contributing to OpenStack`_. .. _Contributing to OpenStack: https://docs.opendev.org/opendev/infra-manual/latest/developers.html#getting-started diff --git a/doc/source/jeepyb.rst b/doc/source/jeepyb.rst index a13cb8229a..bae19e1222 100644 --- a/doc/source/jeepyb.rst +++ b/doc/source/jeepyb.rst @@ -141,39 +141,3 @@ restores previous review votes and leaves a comment in Gerrit. It uses Gerrit's own SSH host key as the private key for access in order to gain the "superuser" permissions needed to impersonate other users in reviews. - - -Periodic Tasks -============== - -.. _closing_pull_requests: - -Closing Github Pull Requests ----------------------------- - -The ``close-pull-requests`` Jeepyb command is installed as a cron job -and periodically closes all pull requests for projects so configured -in projects.yaml. - -Manage Projects ---------------- - -This ensures that project metadata is set up as defined in projects.yaml. - -Pypi Mirror ------------ - -The ``run-mirror`` command builds a full Pypi mirror for a project or -set of projects by reading a requirements.txt file, installing all -listed dependencies into a virtualenv, inspecting the resulting -installed package set, and then downloading all of the second-level -(and further) dependencies. Essentially, the mirror is built by -introspection and contains the full set of dependencies needed whether -they are explicitly listed or not. - -Admin tasks ------------ - -Jeepyb needs to run with the same ssh key registered with gerrit and github -(and any other ssh services it may be pointed at). Be sure to add your public -key when creating accounts.