Function fetchFromGitea downloads source as tarball from gitea service instead of cloning whole repository, which is more bandwidth and cpu efficient.