Le 01/05/2020 à 22:40, Lucas Nussbaum a écrit :
> Hi
> 
> Unfortunately, the fix in devscripts 2.20.3 doesn't work, because watch
> files don't use the GitHub API, but rather URLs such as
> https://github.com/osallou/cassiopee-c/tags
> 
> So different rate limiting rules apply, and authenticating using HTTP
> Basic Auth doesn't work.
> 
> I ended up implementing a different workaround: when the upstream
> importer hits an error 429 for github, it then skips github for the
> remaining of the run.
> 
> It means that we won't add junk about software hosted on github, but
> that they might get tested less frequently.
> 
> Let's see if this fixes this problem... To count packages that still
> show 429 errors, use:
> select count(*) from upstream where watch_file ~ 'github' and warnings ~ 
> '429';
> At this point, we are down to 3919, compared to 5200+ before I deployed
> the fix.
> 
> Lucas

Hi,

another solution is to apply "429" recommendations as proposed here:
https://salsa.debian.org/debian/devscripts/-/merge_requests/187/diffs

But it may have some side effects.

Reply via email to