Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

`git pw patch update` is too slow

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
git, python

调研方向

首先,在 issue 中所示的 Patchwork 实例和补丁 ID 上复现报告的 git pw patch update 耗时。跟踪更新命令发出的请求,以确定处理 13–15 个补丁为何需要 12–45 秒;当相同操作在不改变结果的情况下明显更快完成时,即视为完成。

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

描述

enhancement help wanted

Rather the point to confirm than the bug.

Instance: patchwork.ozlabs.org
Amount of patches: 15

% time git pw patch update --state superseded --archived yes $(seq 993588 993602)
...
real    0m44.679s
user    0m0.701s
sys     0m0.223s

Instance: patchwork.kernel.org
Amount of patches: 13

% time tsocks pwclient update -a yes -s Superseded 9244263 9244267 9244279 9244281 9244285 9244293 9244303 9244309 9244311 9244319 9244321 9244327 9244335

real    0m12.203s
user    0m0.097s
sys     0m0.024s
主要语言
Python
星标
39
派生
23
平均合并
48 分钟
30 天内合并 PR
1

贡献指南

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

从这里开始

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

getpatchwork/git-pw 的其他 Issue

查看 getpatchwork/git-pw 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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