#include <hallo.h>
* Toni Mueller [Mon, Mar 29 2010, 11:52:59PM]:

> trying to get up to speed with apt-cacher-ng and to debug my settings,
> I'd much appreciate if the web interface could provide an URI space to
> inspect the repositories' contents. The contents should be presented in
> exactly the same way than it is presented to apt(itude) clients.
> Ideally, information about files can be displayed, too, eg.
> (precomputed?) checksums, or the source of a particular file.

Here are too many wishes in a single request.

First, they contents are not "presented" to apt. They are returned on
request, but there are many URLs that lead to the delivery of the same
file. Therefore, the only thing that makes sense is the view on the
ordinary directory structure.

Second, you can use any regular web server that supports directory
browsing to display the cache contents. Just create a symlink from cache
directory to something in /var/www, et voila.

The original source URLs and the download time can be found in the .head
files. I think it should be fairly easy to create a CGI script that
would embedd that information into the directory view but I have no
real motivation to write it. Contributions are welcome ;-).

Regards,
Eduard.

-- 
Naja, Garbage Collector eben. Holt den Müll sogar vom Himmel.
       (Heise Trollforum über Java in der Flugzeugsteuerung)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to