16 Star 29 Fork 116

openEuler / openEuler-Advisor

 / 详情

oa_upgradable.py检查要升级的版本是没有版本发布时间

已完成
需求
创建于  
2021-01-12 17:07

需要在检查升级版本 是获取到当前版本以及升级后的版本的发布时间

1.使用oa_upgrade.py检查单包上游时发现,脚本并没有输出当前版本的发布时间以及要升级到的版本的发布时间
2.尝试手动获取
本地使用git ls-remote是可以获取到版本对应commit 号的
然后再 git log 是可以查看到commit的发布时间的
但是获取本地仓库会很耗时,看能否有更好的方法

评论 (6)

huanghaitao 创建了需求
展开全部操作日志

Hey hht8, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

huanghaitao 负责人设置为Monday
Monday 添加协作者Apricity
Monday 任务状态新建 修改为已接纳
Monday 添加了
 
kind/feature
标签

如果是 Github 上的仓库,Github 的 API 可以通过 commit ID 查询 Commit 相关信息

如果是 Github 上的仓库,Github 的 API 可以通过 commit ID 查询 Commit 相关信息

@chenyanpanHW 部分git协议的不是Github托管的,不知道是否提供了接口

这个修改基于原有逻辑实现改动有点大,我准备新增一套接口,等做完了,再把以前的功能适配上。

最新版功能已实现,issue关闭
dbefde5

openeuler-ci-bot 任务状态已接纳 修改为已完成

登录 后才可以发表评论

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

搜索帮助