Comments (9)
这是生成该说明文档commit的action(Scheduled update #14168),于Fetch data阶段获取start_stop_helper_r release后可见报错:not 200 status code when fetching repository file readme-zh_cn.md: 404
https://github.com/MCDReforged/PluginCatalogue/actions/runs/3922973249/jobs/6706276907
from plugincatalogue.
这是生成该说明文档commit的action(Scheduled update #14168),于Fetch data阶段获取start_stop_helper_r release后可见报错:not 200 status code when fetching repository file readme-zh_cn.md: 404
https://github.com/MCDReforged/PluginCatalogue/actions/runs/3922973249/jobs/6706276907
这个问题看起来不是这个插件的,这个插件没有写 readme-zh_cn.md
from plugincatalogue.
找到原因了,请求 API 并没有做翻页,导致没有获取到较老的 release
plugin.py
url = f'https://api.github.com/repos/{plugin.repos_path}/releases'
resp: Optional[List[dict]]
new_etag: str
resp, new_etag = utils.request_github_api(url, etag=self.etag)
utils.py
response = requests.get(url, proxies=constants.PROXIES, headers=headers)
from plugincatalogue.
根据文档,只返回了30个release……
https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#list-releases
from plugincatalogue.
根据文档,只返回了30个release…… https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#list-releases
似乎没有给总页数?
from plugincatalogue.
可以翻到为空的最后一页就行了,或者查看有内容的最后一页是不是达到最大数量
from plugincatalogue.
Related Issues (18)
- 插件库和插件管理器规范简述 HOT 7
- [Issue] Readme Text Indecipherable on Dark Mode HOT 2
- 插件库AdvancedWhiteList的Github仓库被删除 HOT 1
- 插件仓库的 Web 页面 HOT 5
- 希望插件列表包含更详细的简介 HOT 1
- sava的列表,不能用类别名称(如custom,mined..)做标题 HOT 2
- [Bug] PR check 问题 HOT 1
- [讨论]:插件接收标准 HOT 1
- How do I specify the java path in "start_command:"? HOT 1
- !!bot list is not working HOT 1
- 插件meta应当分版本提供依赖和依赖版本 HOT 1
- update timed_quick_backup_multi HOT 2
- 一个可以一键安装想要的MCDR插件应用 HOT 11
- 基于Json格式数据存储的插件管理器实现思路 HOT 5
- 添加 “是否支持 MCDR 1.x” 表头 HOT 3
- 插件管理器实现思路 HOT 3
- 另一种插件管理思路 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugincatalogue.