[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git.libssh.org HTTP protocol deployment
[Thread Prev] | [Thread Next]
- Subject: Re: git.libssh.org HTTP protocol deployment
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 23 Oct 2018 09:56:22 +0200
- To: libssh@xxxxxxxxxx
- Cc: Leo Famulari <leo@xxxxxxxxxxxxx>
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
Re: git.libssh.org HTTP protocol deployment | Leo Famulari <leo@xxxxxxxxxxxxx> |
git.libssh.org HTTP protocol deployment | Leo Famulari <leo@xxxxxxxxxxxxx> |