[pkg-go] Bug#898397: Bug#898397: dh-make-golang: allow authentication to github API to avoid hitting limits

Michael Stapelberg stapelberg at debian.org
Mon May 14 21:56:08 BST 2018


fixed in
https://github.com/Debian/dh-make-golang/commit/db00c3774281436cc182d81463fbc86d791ec019

On Fri, May 11, 2018 at 6:58 AM, Paul Wise <pabs at debian.org> wrote:

> Package: dh-make-golang
> Version: 0.0~git20180410.bcfd5bf-1
> Severity: wishlist
>
> I packaged a bunch of dependencies for git-lab and then I started
> getting 403 errors from github URLs. It looks like dh-make-golang
> easily hits the github API rate limit for anonymous users.
>
> Allowing authenticated requests could help to avoid the limit.
>
> $ dh-make-golang make github.com/avast/retry-go
> 2018/05/11 12:51:52 Downloading "github.com/avast/retry-go/..."
> 2018/05/11 12:51:53 Determining upstream version number
> 2018/05/11 12:51:53 Package version is "1.0.2"
> 2018/05/11 12:51:53 Determining dependencies
> 2018/05/11 12:51:57 Could not determine long description for "
> github.com/avast/retry-go": unexpected HTTP status: got 403, want 200
> 2018/05/11 12:51:58 Could not determine copyright for "
> github.com/avast/retry-go": parsing time "" as "2006-01-02T15:04:05Z":
> cannot parse "" as "2006"
> 2018/05/11 12:51:59 Could not determine author for "
> github.com/avast/retry-go": parsing time "" as "2006-01-02T15:04:05Z":
> cannot parse "" as "2006"
> 2018/05/11 12:51:59 Could not determine long description for "
> github.com/avast/retry-go": unexpected HTTP status: got 403, want 200
> ...
>
> $ curl -s https://api.github.com/users/pabs3 | jq
> {
>   "message": "API rate limit exceeded for <removed>. (But here's the good
> news: Authenticated requests get a higher rate limit. Check out the
> documentation for more details.)",
>   "documentation_url": "https://developer.github.com/v3/#rate-limiting"
> }
>
> -- System Information:
> Debian Release: buster/sid
>   APT prefers testing-debug
>   APT policy: (900, 'testing-debug'), (900, 'testing'), (800,
> 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700,
> 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8),
> LANGUAGE=en_AU.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages dh-make-golang depends on:
> ii  git               1:2.17.0-1
> ii  git-buildpackage  0.9.8
> ii  golang-any        2:1.10~5
> ii  libc6             2.27-3
> ii  pristine-tar      1.42
>
> Versions of packages dh-make-golang recommends:
> ii  exim4-daemon-light [mail-transport-agent]  4.91-3
>
> dh-make-golang suggests no packages.
>
> -- no debconf information
>
> --
> bye,
> pabs
>
> https://wiki.debian.org/PaulWise
>
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/
> pkg-go-maintainers
>



-- 
Best regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20180514/a52d1f79/attachment.html>


More information about the Pkg-go-maintainers mailing list