RSS feed GUIDs are unstable when multi-architecture wheels arrive at different times
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 68/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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)
- Linguagem predominante
- Python
- Estrelas
- 49
- Forks
- 88
- Merge médio
- 1d 10h
- PRs com merge (30d)
- 31
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de pulp/pulp_python
-
Feature Triage-Needed
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 45/100
pulp/pulp_python#1371 ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 45/100
pulp/pulp_python#1360 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
pulp/pulp_python#1358 ·
-
Feature
pulp/pulp_python#1340 · 1 responsável ·
-
Issue
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 58/100
pulp/pulp_python#1219 · 1 comentário ·
Todas as issues de pulp/pulp_python
Issues semelhantes
-
documentation help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
simonw/sqlite-utils#872 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100