[aur-general] [AURv4] Shallow HTTPS clones do not work

Lukas Fleischer lfleischer at archlinux.org
Tue Jun 23 09:51:01 UTC 2015


On Mon, 22 Jun 2015 at 21:05:58, Chris Warrick wrote:
> I’m trying to create a shallow clone of an AURv4 repository with
> `--depth 1`, but I can’t get it to work.
> 
> $ git clone https://aur4.archlinux.org/pkgbuilder.git/
> Cloning into 'pkgbuilder'...
> remote: Counting objects: 23, done.
> remote: Compressing objects: 100% (17/17), done.
> remote: Total 23 (delta 6), reused 22 (delta 6)
> Unpacking objects: 100% (23/23), done.
> Checking connectivity... done.
> $ rm -rf pkgbuiilder
> $ git clone https://aur4.archlinux.org/pkgbuilder.git/ --depth 1
> Cloning into 'pkgbuilder'...
> error: RPC failed; result=18, HTTP code = 200
> fatal: The remote end hung up unexpectedly
> 

Interesting. According to the curl(1) man page, exit code 18 means

    Partial file. Only a part of the file was transferred.

Could you file a report on the aurweb bug tracker [1] please?

> Shallow clones work fine when performed over SSH.
> 
> -- 
> Chris Warrick <https://chriswarrick.com/>
> PGP: 5EAAEA16

[1] https://bugs.archlinux.org/index.php?project=2


More information about the aur-general mailing list