FS#17358 - Provide aur.archlinux.org/packages/ again
Attached to Project:
AUR web interface
Opened by xduugu (xduugu) - Thursday, 03 December 2009, 08:53 GMT
Last edited by Lukas Fleischer (lfleischer) - Thursday, 20 January 2011, 19:40 GMT
Opened by xduugu (xduugu) - Thursday, 03 December 2009, 08:53 GMT
Last edited by Lukas Fleischer (lfleischer) - Thursday, 20 January 2011, 19:40 GMT
|
Details
I'd love to see the index page at
aur.archlinux.org/packages/ again because I need a list of
all packages with their corresponding last update time to be
able to generate and update my aur pacman database[1].
Unfortunately, there is no other good possibility to get
this information.
For further details, please have a look at [2]. [1] http://bbs.archlinux.org/viewtopic.php?id=65501 [2] http://bbs.archlinux.org/viewtopic.php?id=85915 |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Thursday, 20 January 2011, 19:40 GMT
Reason for closing: Won't implement
Additional comments about closing: Won't implement. See last comment for alternatives.
Thursday, 20 January 2011, 19:40 GMT
Reason for closing: Won't implement
Additional comments about closing: Won't implement. See last comment for alternatives.
You should be using the web or json interfaces.
Also that listing is an innaccurate reflection of the packages currently in the AUR.
If you can actually justify the need to have a listing of all packages in the AUR, maybe we can work to fix this.
FS#17195), but it was the best option the get a list of all package names and their last update time.Actually, there are two issues that prevent me from using the json interface, which is a) it is not possible to get a full list of package names and b) the response does not include the last update time. The latter is not that important, though, but it's nice to have because otherwise you have to check all the Last-Modified entry of the http headers.
So crawling the web pages is currently the only option but I do not like it because it generates much traffic and load on the server: First I have to get the package names which means parsing ~ 200 search result pages containing 100 package names each and after that you need one connection per package which means another 21500 connections to the server.
I do not know if my application is a valid reason to provide such a list and the only other application I know that used this page is aur-sync[1].
[1] http://aur.archlinux.org/packages.php?ID=5920
An rsync interface would be perfect for my usecase, but the way it was before works almost just as well.
[1] http://projects.archlinux.org/aur.git/commit/?id=ec0dfc27deb246ee7d7f19fd5290e499805869d2
[2] http://git.cryptocrack.de/aurdupes.git/
[3] http://cryptocrack.de/files/aurpkglist.txt.gz