Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233104 - Patch for providing http://packages.gentoo.org/date/YYYYMMDD
Summary: Patch for providing http://packages.gentoo.org/date/YYYYMMDD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: [OLD] gpackages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-27 14:10 UTC by manuels
Modified: 2009-08-28 23:08 UTC (History)
1 user (show)

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


Attachments
Patch for packages.gentoo.org git repository (git.diff,7.05 KB, patch)
2008-07-27 14:12 UTC, manuels
Details | Diff
Script that reads rss feed and compares new packages with your world file (packages_client.py,2.48 KB, text/plain)
2008-07-27 14:12 UTC, manuels
Details
Patch for packages.gentoo.org git repository (corrected) (git.diff,6.78 KB, patch)
2008-08-05 09:03 UTC, manuels
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description manuels 2008-07-27 14:10:14 UTC
This is a patch to provide a list of all new packages since a stated date (also as rss feed).
With this rss feed you can check if there are any new packages installed on your system in the portage tree since your last sync.

Furthermore, I added a script that downloads this rss feed and compares the data included with your /var/lib/portage/world file.

Reproducible: Always
Comment 1 manuels 2008-07-27 14:12:03 UTC
Created attachment 161470 [details, diff]
Patch for packages.gentoo.org git repository

Provides urls like packages.gentoo.org/feed/date/YYYYMMDD and packages.gentoo.org/date/YYYYMMDD
Comment 2 manuels 2008-07-27 14:12:50 UTC
Created attachment 161472 [details]
Script that reads rss feed and compares new packages with your world file
Comment 3 manuels 2008-07-27 14:44:15 UTC
There is a forum post for general discussion:
https://forums.gentoo.org/viewtopic-t-701861.html
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-04 22:09:31 UTC
looks good, but why do you have two "elif path.startswith('/date'):" blocks?
Comment 5 manuels 2008-08-05 09:03:23 UTC
Created attachment 162244 [details, diff]
Patch for packages.gentoo.org git repository (corrected)

Removed unnecessary code
Comment 6 manuels 2008-08-05 09:03:58 UTC
Comment on attachment 162244 [details, diff]
Patch for packages.gentoo.org git repository (corrected)

You're right, that does not make sense.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-08-28 23:08:06 UTC
Merged now.

You had a minor error in your date_filter code with the cache key, and you didn't cache the object layer at all. Both fixed in the implementation.