[Aptitude-devel] Fully automatic aptitude documentation extractor for http://aptitude.alioth.debian.org/doc/

Daniel Hartwig mandyke at gmail.com
Tue Aug 5 01:34:45 UTC 2014

On 27 July 2014 21:35, Axel Beckert <abe at debian.org> wrote:
> Hi,
> 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.

Thank you.

> 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
> /srv/home/groups/aptitude/htdocs/doc/ aka
> http://aptitude.alioth.debian.org/doc/
> I've created a git repository for it at
> /git/aptitude/aptitude-documentation-fetcher.git/ which I would expect
> to show up at
> http://anonscm.debian.org/cgit/aptitude/aptitude-documentation-fetcher.git
> but doesn't (yet).
> Oh, and yes, http://aptitude.alioth.debian.org/doc/ is now uptodate
> again.
> I wonder if I should install a cron-job on Alioth running that script.
> And if so, how often? Daily? Weekly?

Is it practical to use a git hook, say when a new release tag is added?

More information about the Aptitude-devel mailing list