Closed tjtelan closed 3 years ago
This is giving me some trouble because libgit2 doesn't support shallow clones. However, doing this by shelling out doesn't easily support fetching all branches unless you know what branches already exist. Might need to take a stance on the expected behavior and just do it one way.
Also, just for note, the way to clone w/ an ssh key:
git clone git@provider.com:userName/projectName.git --config core.sshCommand="ssh -i ~/location/to/private_ssh_key"
Before closing, I want the polling interval to be configurable
Placeholder for starting server so it will start polling repos for new commits and starting builds.