Using Git-upload-pack for a simpler CI integration
blog.screenshotbot.io
Using Git-upload-pack for a simpler CI integration
1–10 of 10 posts
Re: Using Git-upload-pack for a simpler CI integration
#2I worry sometimes that we've made GitHub too loadbearing so its great to see a devtools company embrace git more generally that just GitHub
Re: Using Git-upload-pack for a simpler CI integration
#3> it also makes it easier for us to integrate with other Git providers such as GitLab, BitBucket or Phabricator. I worry sometimes that we've made GitHub too loadbearing so its great to see a devtools company embrace git more generally that just GitHub
Re: Using Git-upload-pack for a simpler CI integration
#4> it also makes it easier for us to integrate with other Git providers such as GitLab, BitBucket or Phabricator. I worry sometimes that we've made GitHub too loadbearing so its great to see a devtools company embrace git more generally that just GitHub
Re: Using Git-upload-pack for a simpler CI integration
#5> it also makes it easier for us to integrate with other Git providers such as GitLab, BitBucket or Phabricator. I worry sometimes that we've made GitHub too loadbearing so its great to see a devtools company embrace git more generally that just GitHub
Re: Using Git-upload-pack for a simpler CI integration
#6But since T1892 is presumably their internal ticket tracker, I wonder why this got the call-out
> (not (str:containsp "ssh.dev.azure.com" repo))
; https://github.com/screenshotbot/screenshotbot-oss/blob/main...
Re: Using Git-upload-pack for a simpler CI integration
#7 git clone --depth=1 $repository
will only fetch the latest versions of files.You can even use the `--filter=tree:0` option to `git clone` with `git sparse-checkout` to only fetch subsets of the repository.
Re: Using Git-upload-pack for a simpler CI integration
#8Huh, I didn't see the .lisp coming in the linked source code. But since T1892 is presumably their internal ticket tracker, I wonder why this got the call-out > (not (str:containsp "ssh.dev.azure.com" repo)) ; https://github.com/screenshotbot/screenshotbot-oss/blob/main...
Rather than blocking our roll-out on implementing multi-ack, we just disabled this for Azure DevOps for now. We do have a fallback as long as the user isn't using shallow clones.
Re: Using Git-upload-pack for a simpler CI integration
#9I'm confused. Git does have built-in support for shallow clones: git clone --depth=1 $repository will only fetch the latest versions of files. You can even use the `--filter=tree:0` option to `git clone` with `git sparse-checkout` to only fetch subsets of the repository.
Using upload-pack allowed us to remove that constraint, since even in a shallow clone we can still get the commit graph via SSH from the remote.
Re: Using Git-upload-pack for a simpler CI integration
#10I'm confused. Git does have built-in support for shallow clones: git clone --depth=1 $repository will only fetch the latest versions of files. You can even use the `--filter=tree:0` option to `git clone` with `git sparse-checkout` to only fetch subsets of the repository.
Yes, but our SaaS tool required our customers to not use sparse or shallow checkouts since we needed the git commit-graph. Using upload-pack allowed us to remove that constraint, since even in a shallow clone we can still get the commit graph via SSH from the remote.