Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334995 - http://packages.gentoo.org/feed/arch/amd64 entry id's are not always unique
Summary: http://packages.gentoo.org/feed/arch/amd64 entry id's are not always unique
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: [OLD] gpackages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-28 11:24 UTC by Chris Mayo
Modified: 2015-10-01 14:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Simple way, maybe not so good (rfc.patch,710 bytes, patch)
2012-04-03 02:29 UTC, Slava Bacherikov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2010-08-28 11:24:28 UTC
If two versions of a package are updated at the same time their entries in the packages feed get the same id. e.g.:

<span class="cpvstr">media-libs/mesa-7.8.2</span>
....
<id>http://packages.gentoo.org/package/media-libs/mesa?ts=2010-08-27T19:38:56Z</id>

<span class="cpvstr">media-libs/mesa-7.7.1</span>
...
<id>http://packages.gentoo.org/package/media-libs/mesa?ts=2010-08-27T19:38:56Z</id>

The feed is defined as "http://www.w3.org/2005/Atom"
and according to
http://tools.ietf.org/html/rfc4287#section-4.2.6
'The "atom:id" element conveys a permanent, universally unique identifier for an entry or feed.'
Comment 1 Slava Bacherikov 2012-04-03 02:29:59 UTC
Created attachment 307575 [details, diff]
Simple way, maybe not so good

This is simple patch, and for some reasons (id of existing items will be changed ).
Comment 2 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-10-01 14:36:42 UTC
No longer affects new codebase.