repo
repo copied to clipboard
rime-sbxlm-xxxx 无法构建
name: 打包错误 about: packaging error
问题类型 / Type of issues
- 打包错误 / packaging error
受影响的软件包 / Affected packages
- rime-sbxlm-sbzr
- rime-sbxlm-sbxh
- rime-sbxlm-sbkm
- rime-sbxlm-sbfm
请在此补充说明。 Please describe in detail here.
以声笔小鹤为例,上游的码云文件响应了403,导致构建失败
==> Making package: rime-sbxlm-sbxh 220301-1 (Mon 18 Apr 2022 01:10:09 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading 220301.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 403
==> ERROR: Failure while downloading https://gitee.com/sbxlm/sbxlm/attach_files/958324/download/220301.zip
Aborting...
-> error making: rime-sbxlm-sbxh
gitee不知道怎么拿最新的releases...
@qwIvan 码云的 OpenAPI 有相关的功能 https://gitee.com/api/v5/swagger#/getV5ReposOwnerRepoReleasesLatest
curl -X GET --header 'Content-Type: application/json;charset=UTF-8' 'https://gitee.com/api/v5/repos/sbxlm/sbxlm/releases/latest'
@qwIvan