<div dir="ltr">fixed in <a href="https://github.com/Debian/dh-make-golang/commit/db00c3774281436cc182d81463fbc86d791ec019">https://github.com/Debian/dh-make-golang/commit/db00c3774281436cc182d81463fbc86d791ec019</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 11, 2018 at 6:58 AM, Paul Wise <span dir="ltr"><<a href="mailto:pabs@debian.org" target="_blank">pabs@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Package: dh-make-golang<br>
Version: 0.0~git20180410.bcfd5bf-1<br>
Severity: wishlist<br>
<br>
I packaged a bunch of dependencies for git-lab and then I started<br>
getting 403 errors from github URLs. It looks like dh-make-golang<br>
easily hits the github API rate limit for anonymous users.<br>
<br>
Allowing authenticated requests could help to avoid the limit.<br>
<br>
$ dh-make-golang make <a href="http://github.com/avast/retry-go" rel="noreferrer" target="_blank">github.com/avast/retry-go</a><br>
2018/05/11 12:51:52 Downloading "<a href="http://github.com/avast/retry-go/.." rel="noreferrer" target="_blank">github.com/avast/retry-go/..</a>.<wbr>"<br>
2018/05/11 12:51:53 Determining upstream version number<br>
2018/05/11 12:51:53 Package version is "1.0.2"<br>
2018/05/11 12:51:53 Determining dependencies<br>
2018/05/11 12:51:57 Could not determine long description for "<a href="http://github.com/avast/retry-go" rel="noreferrer" target="_blank">github.com/avast/retry-go</a>": unexpected HTTP status: got 403, want 200<br>
2018/05/11 12:51:58 Could not determine copyright for "<a href="http://github.com/avast/retry-go" rel="noreferrer" target="_blank">github.com/avast/retry-go</a>": parsing time "" as "2006-01-02T15:04:05Z": cannot parse "" as "2006"<br>
2018/05/11 12:51:59 Could not determine author for "<a href="http://github.com/avast/retry-go" rel="noreferrer" target="_blank">github.com/avast/retry-go</a>": parsing time "" as "2006-01-02T15:04:05Z": cannot parse "" as "2006"<br>
2018/05/11 12:51:59 Could not determine long description for "<a href="http://github.com/avast/retry-go" rel="noreferrer" target="_blank">github.com/avast/retry-go</a>": unexpected HTTP status: got 403, want 200<br>
...<br>
<br>
$ curl -s <a href="https://api.github.com/users/pabs3" rel="noreferrer" target="_blank">https://api.github.com/users/<wbr>pabs3</a> | jq<br>
{<br>
  "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.)",<br>
  "documentation_url": "<a href="https://developer.github.com/v3/#rate-limiting" rel="noreferrer" target="_blank">https://developer.github.com/<wbr>v3/#rate-limiting</a>"<br>
}<br>
<br>
-- System Information:<br>
Debian Release: buster/sid<br>
  APT prefers testing-debug<br>
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)<br>
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/dash<br>
Init: systemd (via /run/systemd/system)<br>
<br>
Versions of packages dh-make-golang depends on:<br>
ii  git               1:2.17.0-1<br>
ii  git-buildpackage  0.9.8<br>
ii  golang-any        2:1.10~5<br>
ii  libc6             2.27-3<br>
ii  pristine-tar      1.42<br>
<br>
Versions of packages dh-make-golang recommends:<br>
ii  exim4-daemon-light [mail-transport-agent]  4.91-3<br>
<br>
dh-make-golang suggests no packages.<br>
<br>
-- no debconf information<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
bye,<br>
pabs<br>
<br>
<a href="https://wiki.debian.org/PaulWise" rel="noreferrer" target="_blank">https://wiki.debian.org/<wbr>PaulWise</a><br>
</font></span><br>______________________________<wbr>_________________<br>
Pkg-go-maintainers mailing list<br>
<a href="mailto:Pkg-go-maintainers@alioth-lists.debian.net">Pkg-go-maintainers@alioth-<wbr>lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers" rel="noreferrer" target="_blank">https://alioth-lists.debian.<wbr>net/cgi-bin/mailman/listinfo/<wbr>pkg-go-maintainers</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Best regards,<br>Michael</div>
</div>