RSS feed GUIDs are unstable when multi-architecture wheels arrive at different times
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 68/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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)
- Langage dominant
- Python
- Étoiles
- 49
- Forks
- 88
- Merge moyen
- 1 j 10 h
- PR mergées (30 j)
- 31
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de pulp/pulp_python
-
Feature Triage-Needed
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 45/100
pulp/pulp_python#1371 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 45/100
pulp/pulp_python#1360 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
pulp/pulp_python#1358 ·
-
Feature
pulp/pulp_python#1340 · 1 personne assignée ·
-
Issue
Difficulté 3/5 1-2 jours Accessibilité débutants 58/100
pulp/pulp_python#1219 · 1 commentaire ·
Toutes les issues de pulp/pulp_python
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
zostera/django-bootstrap4#894 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
use-agent-os/agent-os#3276 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
zilliztech/memsearch#759 ·