Use authenticated GitHub API calls
@mgalka 已经在做这个了。
开始于 2023年5月4日。
评估
这个 Issue 还没有评估数据。
描述
The staging job is often failing with this error:
Pushing kernel test branch for mainline
path: checkout/linux
repo: kernelci/linux
Traceback (most recent call last):
File "/home/kernelci/kernelci-deploy/./kernel.py", line 87, in <module>
ret = main(args)
File "/home/kernelci/kernelci-deploy/./kernel.py", line 43, in main
repo = kernelci.GITHUB.get_repo(repo_name)
File "/usr/lib/python3/dist-packages/github/MainClass.py", line 294, in get_repo
headers, data = self.__requester.requestJsonAndCheck(
File "/usr/lib/python3/dist-packages/github/Requester.py", line 275, in requestJsonAndCheck
return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
File "/usr/lib/python3/dist-packages/github/Requester.py", line 286, in __check
raise self.__createException(status, responseHeaders, output)
github.GithubException.RateLimitExceededException: 403 {'message': "API rate limit exceeded for 52.250.7.52. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)", 'documentation_url': 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting'}
So the solution would seem to be about using authenticated requests.
- 主要语言
- Python
- 星标
- 4
- 派生
- 20
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
kernelci/kernelci-deploy 的其他 Issue
-
bug sysadmin
难度 5/5 一周以上 新手友好度 30/100
kernelci/kernelci-deploy#265 ·
-
难度 5/5 一周以上 新手友好度 25/100
kernelci/kernelci-deploy#261 ·
-
docker compose yaml broken in api&pipeline可能重新可做 @nuclearcat 于 419 天前认领,目前没有进行中的 PR。 未关闭
kernelci/kernelci-deploy#251 · 已指派 1 人 ·
-
kci-dockerwatch need to be daemonized可能重新可做 @nuclearcat 于 434 天前认领,目前没有进行中的 PR。 未关闭
kernelci/kernelci-deploy#249 · 已指派 1 人 ·
-
Document staging deployment process可能重新可做 @nuclearcat 于 441 天前认领,目前没有进行中的 PR。 未关闭documentation
kernelci/kernelci-deploy#246 · 已指派 2 人 ·
查看 kernelci/kernelci-deploy 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 85/100
pytest-dev/pluggy#757 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 85/100
NousResearch/hermes-agent#134960 ·
维护者通常 1 天内回复
-
HTML backend: `<br>` leaks the internal sentinel U+E000 into list items, headings and captions可能已有人在做 @morten-lagabote 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
docling-project/docling#4671 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
good first issue hacktoberfest infra
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复