I can't round-trip a hash/patchid
还没有人认领这个 Issue。
评估
调研方向
从入口点 pwclient info -h 732e487978cd2af56aaad959cae1a772448ddfed 开始,并将其 REST 请求与 pwclient info 34317 进行比较。检查 project 参数是如何选择和传递的;对于所示的 Patchwork 配置,哈希查找能够成功往返且不需要无效的 project 值,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I appear to be unable to correctly round-trip a patch ID to hash and back again.
Using this patchwork server: https://patchwork.yoctoproject.org/project/oe-core/ and this fragment in my .pwclientrc:
[options]
default = oe-core
[oe-core]
backend = rest
url = https://patchwork.yoctoproject.org/api
token = xxx
I can request the info for a specific patch ID:
$ pwclient info 34317
Information for patch id 34317
------------------------------
- archived : False
- commit_ref :
- date : 2023-11-11T18:44:32
- delegate :
- delegate_id :
- filename :
- hash : 732e487978cd2af56aaad959cae1a772448ddfed
- id : 34317
- msgid : <[email protected]>
- name : libsoup: Upgrade to 3.4.2 -> 3.4.4
- project : OpenEmbedded Core Layer
- project_id : 6
- state : new
- state_id :
- submitter : Khem Raj <[email protected]>
- submitter_id : 10
But if I try and look up the hash:
$ pwclient info -h 732e487978cd2af56aaad959cae1a772448ddfed
No patch has the hash provided
It's the enforced project argument which is causing this, and I can't figure out what project it's expecting. Neither oe-core, 6, or OpenEmbedded Core Layer are accepted, but if I delete the project argument from the API call entirely then the call succeeds.
I suspect I'm missing something obvious?
- 主要语言
- Python
- 星标
- 55
- 派生
- 26
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getpatchwork/pwclient 的其他 Issue
-
enhancement good first issue
难度 3/5 1-2 天 新手友好度 35/100
getpatchwork/pwclient#31 · 1 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 45/100
getpatchwork/pwclient#15 ·
-
bug
难度 3/5 1-2 天 新手友好度 45/100
getpatchwork/pwclient#14 ·
-
难度 3/5 1-2 天 新手友好度 42/100
getpatchwork/pwclient#4 ·
查看 getpatchwork/pwclient 的全部 Issue
相似的 Issue
-
[BUG] Container scenario crashes without expected_recovery_time, kube DNS example uses retry_wait未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 77/100
krkn-chaos/krkn#1627 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
NousResearch/hermes-agent#136483 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
[BUG] LazyStackedTensorDictStore zeroes the last byte of a new key set on the last element可能已有人在做 @peterdsharpe 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
pytorch/tensordict#2307 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复