55 Star 87 Fork 953

OpenHarmony / build

 / 详情

[Bug]: curl 命令不存在时,prebuilts_download.sh 异常运行且无正确提示。

待办的
创建于  
2024-04-22 14:53

发生了什么问题?

当系统未安装 curl 命令时,prebuilts_download.py 无法正确检查 sha256 值,且会将已有预编译压缩文件直接删除,尝试重新下载。下载时,并不会提示 curl 异常,而是会错误地显示进度,并且进度可能超过 100% 并提示下载完成。

期望行为是什么?

在运行前 prebuilts_download 前检查 curl 命令是否存在,不存在直接给出错误。

如何复现该缺陷

在没有 curl 命令的系统上运行 prebuilts_download.sh

其他补充信息

版本或分支信息

  • master
  • Release 4.1
  • Release 4.0
  • Release 3.2

评论 (1)

邓龙 创建了任务
邓龙 添加了
 
bug
标签
展开全部操作日志

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @RingKing @handy @chenmudan @liwentao 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @RingKing @handy @chenmudan @liwentao for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci 添加了
 
waiting_for_assign
标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662
1
https://gitee.com/openharmony/build.git
git@gitee.com:openharmony/build.git
openharmony
build
build

搜索帮助

53164aa7 5694891 3bd8fe86 5694891