Bug#811565: [uscan] git mode: allow for scanning repositories without tags

Michael Stapelberg stapelberg at debian.org
Fri Aug 11 18:09:39 UTC 2017


Ah, thanks for the correction. In that case, we should probably try a
shallow clone first, then fall back to a non-shallow clone :).

On Fri, Aug 11, 2017 at 7:41 PM, Shengjing Zhu <i at zhsj.me> wrote:

> On Fri, Aug 11, 2017 at 9:55 PM, Michael Stapelberg
> <stapelberg at debian.org> wrote:
> > I think the git HTTP transport does never allow shallow clones. You can
> use
> > the git transport protocol (also with GitHub), but note that the git
> > transport protocol is not authenticated (whereas https is, of course).
> >
>
> Only dumb http server doesn't support shallow clone.
> The smart http protocol supports, like `git clone --depth=1
> https://github.com/xxx`
>
> --
> Best regards,
> Shengjing Zhu
>



-- 
Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20170811/ca27bc2e/attachment.html>


More information about the devscripts-devel mailing list