There are a few tools that have already setup git hosting with gerrit/diffusion prior to the introduction of a self-service UI for this in #striker. Tool maintainers can opt-in to having their tools and repos connected so that future enhancements in Striker will apply to them as well.
==== Requesting connection of a tool and a repo ====
**!![[ https://phabricator.wikimedia.org/maniphest/task/create/?projects=Striker&title=Request%20connection%20of%20<tool%20name>%20repo(s)%20to%20Striker&parent=144282&description=Tool%20Name:%20<tool%20name>%0DRepo%20Name:%20<repo&20name>%0DWikitech%20Username%20of%20requestor:%20<username> | Create a subtask]]!!** listing the tool name and the repo name. The ticket must be created by or approved with a comment by a current maintainer of the tool.
==== Fulfilling a request ====
* Verify that the request has been created/approved by an existing maintainer of the tool
* Change the edit and push policy of the repo to grant all current maintainers (and #repository-admins) control of the repo.
** This step requires membership in the #repository-admins group on Phabricator
* Use the [[https://toolsadmin.wikimedia.org/contrib-admin/tools/diffusionrepo/add/|admin console of Striker]] to create a `diffusionrepo` object connecting the tool with the repo.
** **Tool:** Name of tool without `tool.` prefix (e.g. `giftbot`).
** **Name:** Name of the Diffusion repo (e.g. `labs-tool-giftbot`).
** **Phid:** Phabricator "phid" of the repo (e.g. `PHID-REPO-llsavegs7zzejwamycxb`). This can be looked up using [[https://phabricator.wikimedia.org/conduit/method/diffusion.repository.search/|the conduit diffusion.repository.search endpoint]].
** **Created by:** The user creating the association (e.g. `BryanDavis`).
** This step requires maintainership in the [[https://tools.wmflabs.org/?tool=admin|admin tool]] on Tool Labs