Re: Let's stop using CVS for debian.org website

Ian Jackson <[email protected]>
Newsgroups gmane.linux.debian.devel.www,gmane.linux.debian.devel.general
Message-ID <[email protected]>
Jonas Smedegaard writes ("Re: Let's stop using CVS for debian.org website"):
> Quoting Holger Levsen (2016-11-24 10:43:40)
> > $ git clone --depth 1 https://anonscm.debian.org/cgit/webwml/webwml2git.git
> > Cloning into 'webwml2git'...
> > fatal: The remote end hung up unexpectedly
> > fatal: protocol error: bad pack header

I get this too.

> Can you get these related data points too? - relevant for those with 
> limited internet bandwidth (as is the case for some translators):
> 
>   * amount of data transfered over the wire for initial full git clone

231658055 bytes ie 220 Mby, via HTTPS.  [1]
227047513 bytes ie 216 Mby, via SSH.  [1a]

>   * amount of data transfered over the wire for shallow git clone

75485138 bytes ie 71 Mby, via SSH.  [1a] with --depth 1 added

>   * amount of data transfered over the wire for CVS clone

471085959 bytes ie 449 Mby.  [2]

Note however that with CVS it is possible to clone only subtrees.
That makes a huge difference for many use cases.

For example, cvs co only webml/english/devel:

1793649 bytes ie 1.71 Mby.  [2] with cvs clone ... webwml/english/devel

>   * disk space used for CVS clone

501 Mby.

Thanks,
Ian.


[1]
  rm -rf t.* t webwml2git; strace -ffot git clone https://anonscm.debian.org/cgit/webwml/webwml2git.git
  grep connect t.* |less
  cat t.* |perl -ne 'next unless m/^recv\(5,/; next if m/ = -1 EAGAIN [^=]+$/; die "$_ ?" unless m/ = (\d+)$/; $total+=$1; END { print $total,"\n" }' 

[1a]
  rm -rf t.* t webwml2git2; strace -ffot git clone mariner:/volatile/iwj/d/webwml2git webwml2git2
  grep connect t.* |less
  cat t.* |perl -ne 'next unless m/^read\(3,/; next if m/ = -1 EAGAIN [^=]+$/; die "$_ ?" unless m/ = (\d+)$/; $total+=$1; END { print $total,"\n" }'

[2]
  rm -rf t t.* webwml; strace -ffot cvs -d cvs.debian.org:/cvs/webwml co webwml
  grep connect t.* |less
  cat t.* |perl -ne 'next unless m/^read\(3,/; next if m/ = -1 EAGAIN [^=]+$/; die "$_ ?" unless m/ = (\d+)$/; $total+=$1; END { print $total,"\n" }'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.