apache / apache/openserverless

[CLI] operator update should be suggested only if an installation is detected

未关闭
#41 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
576
派生
29
平均合并
50 分钟
30 天内合并 PR
13

描述

Updating the ops cli using 'ops -update` always reports that a newer version of the operator is available and that it can be updated using a specific tasks, e.g.

`Welcome to ops! Setting up...
Cloning tasks...
Enumerating objects: 3661, done.
Counting objects: 100% (289/289), done.
Compressing objects: 100% (110/110), done.
Total 3661 (delta 164), reused 271 (delta 158), pack-reused 3372
Tasks downloaded successfully

New operator version detected!
Current deployed operator can be updated with: ops update operator`

We should change the behaviour to trigger this check only if an active installation is detected

贡献指南

打开贡献指南

调研方向

从 `ops -update` 的 CLI 入口点开始,跟踪报告有更新版本 operator 的检查。分别在有活动的 operator 安装和没有活动的 operator 安装时重现该命令。仅当检测到活动安装时才显示更新建议,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。