Use correct SI units in output of `xbps-install` and `xbps-remove`
还没有人认领这个 Issue。
评估
调研方向
Start by locating the output-formatting entry points for the xbps-install and xbps-remove commands. Check how package sizes and their suffixes are calculated and printed; done means binary units use the correct IEC labels and a space separates each number from its unit.
由索引模型根据 Issue 内容生成。
描述
- Package size numbers (and maybe other sizes) are calculated/displayed in units based on powers of 2 (e.g.
KiB), but the wrong unit is displayed, namely units based on powers of 10 (e.g.KB). - There should be a space between the number and the unit suffix which is 1) standard according to SI and 2) more readable.
- 主要语言
- C
- 星标
- 1.2k
- 派生
- 152
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
void-linux/xbps 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
void-linux/xbps#475 ·
-
难度 4/5 3-5 天 新手友好度 45/100
void-linux/xbps#701 ·
-
难度 4/5 3-5 天 新手友好度 55/100
void-linux/xbps#700 ·
-
xbps-query -RX repository overrides可能已有人在做 @outofsyncrs 于 31 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 45/100
void-linux/xbps#696 ·
-
难度 3/5 1-2 天 新手友好度 52/100
void-linux/xbps#695 · 7 条评论 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
OpenPrinting/cups#1751 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
compile: jv_mem_calloc assertion abort after "too many function parameters" error in a nested function可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
NASA-AMMOS/BSL#355 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
arancormonk/dsd-neo#660 ·
维护者通常 1 天内回复