RSS feed GUIDs are unstable when multi-architecture wheels arrive at different times
還沒有人認領這個 Issue。
評估
研究方向
Start at iter_releases(), where releases are grouped and annotated with file_added_at, and trace how the RSS GUID uses link and pubdate. Update the query and GUID construction according to the proposed build-tag approach, then verify that later platform wheels keep the same GUID while a new build tag changes it.
由索引模型根據 Issue 內容生成。
描述
Summary
The GUID fix from #1374 (appending #timestamp to make rebuilds visible) causes feed readers to show duplicate entries when platform-specific wheels for the same (name, version, build_tag) arrive at different times.
Root cause
iter_releases() groups by (name_normalized, version) and annotates added_at=Max("file_added_at"). The GUID is link#pubdate.isoformat(). When a new architecture wheel is promoted (e.g., s390x arriving an hour after x86_64/aarch64/ppc64le), Max(file_added_at) shifts, producing a different GUID. Feed readers treat the new GUID as a new item.
Proposed fix
Replace the timestamp-based GUID fragment with a build-tag-based fragment. Use ArrayAgg("filename") in the query, extract PEP 427 build tags from wheel filenames in Python, and construct GUIDs like link#builds=1,2.
This makes GUIDs:
- Stable when additional platform wheels arrive for the same build tag
- Different when a genuine rebuild introduces a new build tag (the original #1374 requirement)
- 主要語言
- Python
- 星號
- 49
- 分支
- 88
- 平均合併
- 1 天 10 小時
- 30 天內合併 PR
- 31
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
pulp/pulp_python 的其他 Issue
-
Feature Triage-Needed
難度 5/5 一週以上 新手友好度 45/100
pulp/pulp_python#1371 ·
-
難度 5/5 一週以上 新手友好度 45/100
pulp/pulp_python#1360 ·
-
難度 4/5 3-5 天 新手友好度 52/100
pulp/pulp_python#1358 ·
-
Feature
pulp/pulp_python#1340 · 已指派 1 人 ·
-
Issue
難度 3/5 1-2 天 新手友好度 58/100
pulp/pulp_python#1219 · 1 則留言 ·
相似的 Issue
-
sponsored
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 86/100
Diaoul/subliminal#1382 ·
-
難度 1/5 1 小時以內 新手友好度 92/100
-
triage/confirmed
難度 2/5 1-3 小時 新手友好度 88/100
agentscope-ai/agentscope#2775 ·
-
難度 2/5 1-3 小時 新手友好度 84/100