[pkg-go] Bug#811565: [uscan] git mode: allow for scanning repositories without tags
Shengjing Zhu
i at zhsj.me
Wed Aug 9 16:54:23 UTC 2017
Thanks for the comment.
On Wed, Aug 9, 2017 at 10:54 PM, Michael Stapelberg
<stapelberg at debian.org> wrote:
> 1. I think that infrastructure which the pkg-go team critically and very
> visibly depends on should eventually be hosted by DSA under debian.org. I
> don’t see them hosting this special “workaround” service, when there already
> is infrastructure in place to run uscan.
Well it can be hosted by DSA, or even don't use web service. Maybe
uscan can just call its cli tool.
I do hope someone can implement it in perl and bring it to uscan. But
it's hard for me to hack 4k lines perl.
Anyway, it's an exploration for using API rather than `git clone` locally.
And I intend to get it to support more Git services, maybe gopkg.in,
gitlab, etc.
PS, gopkg.in will point to some specific branch, and
github.com/<owner>/<repo>/tags doesn't work well even I append a
'?after=<version>' suffix.
>
> 2. I have concerns regarding the scalability of such a service if we
> actually adopted this approach: the GitHub quota permits 5000 requests per
> hour (when authenticated). This sounds like a lot at first glance, but
> consider that we already have 845 Go packages. Your code does 4 requests per
> repository (IIUC), so already we are fairly close to reaching the limit, if
> we don’t take any precautions.
I haven't considered rate-limit, but do we check so frequently indeed?
--
Best regards,
Shengjing Zhu
More information about the Pkg-go-maintainers
mailing list