In gitserver
we may clone a repo if it receives a request to one of the following endpoints:
/exec
or/archive
: If any of the allowed exec commands (gitCmdAllowList
) are "executed" on a repo through we may clone the repo in maybeStartClone/repo-update
: If a request to update a repo is received and it is not cloned, then we will clone a repo/repo-clone
: If a request to clone the repo is received/search
: If a search is made in a repo and the repo is not cloned