xbps-query -o is very slow
还没有人认领这个 Issue。
评估
调研方向
Start by examining how xbps-query -o reads the per-package plist files, then review the related xbps-src uses involving pkg-config files and common/shlibs. Done means defining and implementing the sorted CSV file of tracked files and package names, with xbps-query -o using it to avoid parsing many separate plist files.
由索引模型根据 Issue 内容生成。
描述
xbps stores the file list in plist files separate for each package. This means that xbps-query -o has to go through and parse many plist files before it finds the entries it's looking for. One sorted csv file listing all files tracked by xbps and their package names would speed this up a lot which would open many interesting possibilities in xbps-src like being able to detect dependencies of -devel packages with pkg-config files or moving shlibs from a common list in common/shlibs to individual packages.
- 主要语言
- 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 于 34 天前认领。 未关闭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 小时 新手友好度 76/100
osam-cologne/archlinux-proaudio#909 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
ARM-software/CMSIS-DSP#354 ·
-
severity: low
难度 2/5 1-3 小时 新手友好度 68/100
luainkernel/lunatik#1876 ·
维护者通常 1 天内回复
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
documentation good first issue help wanted
难度 2/5 1-3 小时 新手友好度 76/100
ai-quokka-wannabe/link#40 ·