maemo-repository-watcher.md (1350B)
1 # Maemo repository watcher 2 3 Had a bit of a bore going on, so decided to do something fun. Remembering tko's [post](http://http://maemo.org/pipermail/maemo-developers/2006-July/004721.html) on maemo-developers, decided to do a repository watcher. 4 5 So, what does it do; well, it gets list of categories from [MaemoWiki](http://maemo.org/maemowiki/ApplicationRepositories), gets list of packages of every repository, and checks if the versions of packages are newer, than what was previously in the database. If version is newer (or package is new), the new package is put into the database instead. 6 7 So, what's the good stuff; the database can then be queried. As repository packages lists don't contain any dates, we use the time of the checkout. As package date; thus we get a [time-ordered list of packages](http://maemo-hackers.org/wiki/MaemoPackages). And of course, in this time of rss feeds, there is also a [feed ](http://maemo-hackers.org/packages.php)available. Rss-feed also supports get parameters count and repo to change amount of packages and to only see packages from one repository. 8 9 Now you can watch as new packages make themselves to the repositories - yay. 10 11 The source for the [repository scrawler](http://maemo-hackers.org/update_maemo_packages.txt) and the [rss feed](http://maemo-hackers.org/packages.txt) are available.