RSS feed GUIDs are unstable when multi-architecture wheels arrive at different times
まだ誰も着手していません。
評価
調査の方向性
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時間
- マージ済み PR(30日)
- 31
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pulp/pulp_python のほかの issue
-
Feature Triage-Needed
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
pulp/pulp_python#1371 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 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 件 ·
pulp/pulp_python の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
zostera/django-bootstrap4#894 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
use-agent-os/agent-os#3276 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NousResearch/hermes-agent#117848 ·