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
signature.asc
Description: This is a digitally signed message part