apache / apache/cloudstack

methods implemented twice in marvin code

未关闭
#5,174 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component:marvin no-issue-activity status:stale status:testing type:cleanup type:technical-debt
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

in the marvin python code some methods are implemented twice.
example:
format_volume_to_ext3(ssh_client, device="/dev/sda") in `marvin/lib/util.py` and in `marvin/sandbox/demo/simulator/testcase/libs/utils.py`

more can surely be found.

##### ISSUE TYPE

* Bug Report
* Improvement Request
* Enhancement Request
* Feature Idea
* Documentation Report
* Other

##### COMPONENT NAME

~~~

~~~

##### CLOUDSTACK VERSION

~~~

~~~

##### CONFIGURATION

##### OS / ENVIRONMENT

##### SUMMARY

##### STEPS TO REPRODUCE

~~~

~~~

##### EXPECTED RESULTS

~~~

~~~

##### ACTUAL RESULTS

~~~

~~~

贡献指南

打开贡献指南

调研方向

首先比较 marvin/lib/util.py 中的 format_volume_to_ext3 与 marvin/sandbox/demo/simulator/testcase/libs/utils.py 中的重复实现。搜索 marvin 的 Python 代码,查找其他重复的方法,并确定哪些实现应当保留。完成的标准是:在不改变现有行为的情况下合并重复实现。

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

评估

技术栈
python
领域
testing
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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