MarketSquare / MarketSquare/robotframework-difflibrary

unrecognized option strip-trailing-cr

未关闭
#11 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
26
派生
15
PR 合并指标
30 天内没有已合并 PR

描述

https://github.com/bulkan/robotframework-difflibrary/blob/b4fc3b7e12b5bc630cf763b95e34732ad59fb4af/src/DiffLibrary/keywords.py#L30

It's causing an issue with the robotframework/rfdocker docker image

diff: unrecognized option: strip-trailing-cr
BusyBox v1.28.4 (2018-12-06 15:13:21 UTC) multi-call binary.

Maybe a flag to make it optional ?

As a dirty fix RUN sed -i "s/diff --strip-trailing-cr/diff/" /usr/local/lib/python3.6/site-packages/DiffLibrary/keywords.py did the trick

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

检查链接行中的 src/DiffLibrary/keywords.py,并在 robotframework/rfdocker 镜像中复现失败,其中 BusyBox diff 拒绝 --strip-trailing-cr。定义该选项的行为,并验证库在该镜像上不再报错,同时保留预期的 diff 功能。

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

评估

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

把新 issue 发到你的邮箱

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