Pagure Dist Git Interactions With Toddlers
Toddlers are used to run various small tasks in Fedora Infrastructure. Keeping things synced and automating various tasks that were done manually in the past. As that it has plenty of interactions with Dist Git.
The following are a set of documented interactions possible between Pagure Dist Git and Toddlers.
Some of the toddlers are doing cloning and various interactions with git, all of those interactions are in git module
This module contains method interacting with pagure or dist-git
Few methods are specific only for dist-git:
/_dg/orphanAPI endpoint called in
/_dg/bzoverridesAPI endpoint called in
/<namespace>/<name>/git/modifyaclsAPI endpoint called in
/<namespace>/<name>/watchers/updateAPI endpoint called in
git clonecalled in
In order to switch out Pagure Dist Git for an alternative that provides a relatively compatible API pattern, the following changes must be made in the places mentioned below.
The configuration needs to be changed for dist-git to point to new URL
The new dist-git solution needs to provide the API calls needed by toddlers
Split pagure module to dist-git and pagure module. This change will help us differentiate between those two in the future