[Aptitude-devel] Fully automatic aptitude documentation extractor for http://aptitude.alioth.debian.org/doc/
abe at debian.org
Sun Jul 27 14:35:05 BST 2014
I promised this a while ago and I've finally found the leisure and
time to implement it:
A small script (well, two scripts actually, but both quite simple)
which finds all aptitude-doc-* packages in Debian Unstable, downloads
them and extracts the contained HTML documentation for publishing it
on the web.
The script's instance is installed on Alioth in
/srv/home/groups/aptitude/bin/, uses /srv/home/groups/aptitude/tmp/ as
download area and extracts the docs to
I've created a git repository for it at
/git/aptitude/aptitude-documentation-fetcher.git/ which I would expect
to show up at
but doesn't (yet).
Oh, and yes, http://aptitude.alioth.debian.org/doc/ is now uptodate
I wonder if I should install a cron-job on Alioth running that script.
And if so, how often? Daily? Weekly?
It currently takes about one second (only, yes). It downloads the
package list and the packages only if they have changed (or are not
present; hanks to wget -N), but it always extracts all packages
without checking if they're already extracted.
(And it doesn't yet clean up old, previously downloaded packages yet. Will
add that later today. Another thing which may be helpful is also
tracking verions in Debian Experimental.)
,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Digital signature
More information about the Aptitude-devel