FS#10486 - Recent Package Updates RSS Feed: Double name of updated packages

Attached to Project: Arch Linux
Opened by Jacob Bang (julemand101) - Saturday, 24 May 2008, 12:54 GMT
Last edited by eliott (cactus) - Wednesday, 28 May 2008, 01:17 GMT
Task Type Feature Request
Category Web Sites
Status Closed
Assigned To Simo Leone (neotuli)
Aaron Griffin (phrakture)
eliott (cactus)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
The bug are here:
http://archlinux.org/feeds/packages/

The problem is all updated packages are on the list but also if the packages are updated in i686 and x86_64. So the i686 packages are on the list but also the x86_64 and therefore are the most of the packages two times on the list of updated packages.

A solution are two RSS feeds for i686 and x86_64 users. Or make a script there find duplicated names and remove the one.
This task depends upon

Closed by  eliott (cactus)
Wednesday, 28 May 2008, 01:17 GMT
Reason for closing:  Implemented
Additional comments about closing:  Extended the recent package listing to 24.
Added the package architecture to the feed display, instead of just as a category (left the arch as a category in there too however).
Comment by Erwin Van de Velde (evdvelde) - Saturday, 24 May 2008, 13:17 GMT
I prefer two RSS feeds since there may be a couple of hours / days between the i686 and x86_64 package.
Comment by Greg (dolby) - Saturday, 24 May 2008, 13:25 GMT
Yeah it doesnt make sense otherwise
Comment by eliott (cactus) - Saturday, 24 May 2008, 18:36 GMT
Packages are not duplicative, they are listed for each update of package-arch combinations as they occur.

If you look at the rss feed text, you will see that there are categories specified.
Can any feed readers display only the category the user requests?

Also, this is not a bug. It is a feature request.
*changed task type to feature request*
Comment by Aaron Griffin (phrakture) - Saturday, 24 May 2008, 22:22 GMT
Hmm, I don't know how to properly address this. The more I think about it, we SHOULD keep the dupes in there. Could we simply add the ARCH to the name of each feed item? It looks good on the front page (foo 1.2 x86_64, bar 7.9 i686, etc)
Comment by Jacob Bang (julemand101) - Saturday, 24 May 2008, 22:35 GMT
I see the problem because I use the RSS feed to the danish Arch Linux site and I know lots of other Arch Linux sites use the same RSS feed. Another problem I see is why a i686 user should see packages updates to x86_64 and reverse. Its only a little group of people there have both i686 and x86_64 so I think the best solution is to make two RSS feeds (it should not be a big problem).
Comment by Aaron Griffin (phrakture) - Saturday, 24 May 2008, 23:00 GMT
Well, we'd need to do it 3 times then - one for each arch, and then the same combined list for people who care about all architectures and for the front page too (note: if you're running a site, please support both architectures. ArchLinux is no longer "An i686 Optimized Distro")
Comment by eliott (cactus) - Sunday, 25 May 2008, 05:02 GMT
Don't forget the elusive 'any' no-architecture architecture.
So that would make 4 times. I don't think that makes alot of sense to do.
I would have no problem appending the arch to the text/link for each entry though.
Let the feed readers parse out the ones they don't want to see.
Comment by Nicky726 (Nicky726) - Tuesday, 27 May 2008, 08:43 GMT
Just add the architecture description from the main page to RSS feed. If you use x86_64 it's useful for you to know about changes in i686 because some possible delays etc.
Comment by Jacob Bang (julemand101) - Tuesday, 27 May 2008, 08:49 GMT
I can't see any "any" packages:
http://archlinux.org/packages/search/?arch=any&repo=all&q=&limit=50

I have make a script there remove x86_64 packages but I can now only see 5 packages because the list only have 10 packages and where the half of them is x86_64 packages. Before I could see 10 packages because the x86_64 was not on the list.

Another solution is I make a script there take the names from this list:
http://archlinux.org/packages/search/?sort=-last_update&arch=i686

Please make 3 RSS script (i686, x86_64 and all) or make the RSS script so there are 20 packages.
Comment by Aaron Griffin (phrakture) - Tuesday, 27 May 2008, 18:11 GMT
Jacob, they are not there yet. They will be in the future, however.

Eliott, can we bump the number of items in the feed as an interim solution - with doubled packages, we probably need a larger number of items anyway.

Proposed solution: append the arch to the name of the item, increase feeds items to 25 or 30.
Is that acceptable?
Comment by Jacob Bang (julemand101) - Tuesday, 27 May 2008, 19:08 GMT
Yes I find that as a acceptable solution to this problem.

Loading...