[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git.libssh.org HTTP protocol deployment


On Monday, 22 October 2018 20:47:49 CEST Leo Famulari wrote:
> Hello!
> 
> Recently I tried to do a "shallow" clone of the libssh Git repository,
> since I knew which tag I wanted and I thought I might save some
> bandwidth. However, I found that the way git.libssh.org is configured,
> shallow clones are not supported:
> 
> ------
> $ git clone --branch libssh-0.7.6 --depth=1
> https://git.libssh.org/projects/libssh.git Cloning into 'libssh'...
> fatal: dumb http transport does not support shallow capabilities
> ------
> 
> Git offers two different HTTP protocols, which they call 'dumb' and
> 'smart':
> 
> https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
> 
> The 'dumb' one is simpler and easier to deploy, but it doesn't offer
> features like shallow cloning, progress updates, and is *much* slower
> than the 'smart' version or the unauthenticated git:// protocol. In my
> tests, cloning with the git:// protocol took 1.5 seconds, while the
> 'dumb' https:// clone took 217 seconds.
> 
> Would you consider deploying the 'smart' HTTP protcol on git.libssh.org?

https://git.libssh.org/ uses cgit. If cgit offers that, we could try to enable 
it.


	Andreas

-- 
Andreas Schneider                 asn@xxxxxxxxxxxxxx
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D



Follow-Ups:
Re: git.libssh.org HTTP protocol deploymentLeo Famulari <leo@xxxxxxxxxxxxx>
References:
git.libssh.org HTTP protocol deploymentLeo Famulari <leo@xxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org