Re: /srv/www.debian.org/cron for maint-guide and debian-reference
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Osamu,
Thanks for following up on providing the package version on www.d.o.
Le 02/02/2014 10:15, Osamu Aoki a écrit :
> 3. update webwml pages to match new contents such as epub
> http://www.debian.org/doc/devel-manuals#maint-guide
> http://www.debian.org/doc/user-manuals#quick-reference
Can you be more specific, or do you intend to take care of that?
> 4. remove old crufts left in the $webdir/maint-guide $webdir/debian-reference
Can you be more specific?
> +unpack()
A generic function might be useful, could it also be used for (some)
other already provided documentations?
> +{
> +namesrc=$1 # source package name: maiunt-guide
(typo in comment: s/maiunt-guide/maint-guide/)
> +namebin=$2 # binary package name: maiunt-guide-fr
> +basedir=$3 # binary package data dir. (deb, non-html): /usr/share/doc/maint-guide-fr
> +htmldir=$4 # binary package data dir. (deb, html): /usr/share/doc/maint-guide-fr/html
> +lang=$5 # language name: en, fr, ...
Hardcoding the language list is a bad idea: a sure recipe to forget
adding a new (and removing an obsolete) translation, can’t we detect it
directly (if there is a maint-guide-* package, we want to provide the
“*” translation)? (And yes, the developers-reference-* install bits
should also be fixed.)
> +for page in $namesrc/$htmldir/*.html $namesrc/$htmldir/*.css $namesrc/${htmldir}/.htaccess ; do
Why would .htaccess be needed?
Regards
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJS7ss+AAoJEAWMHPlE9r08M00IAKnk+G4l6QXXJzwv/L+F0MO2
Iy/fwV0uRTGVGHpiqJ3venmxYAFWryjV6kQxSgWcv7a/KjBNegElIcSNekXu/Fmk
Dm+/56u66occugxTPYn8OGKRuV1znCa6Ew0veRKVpi9WfqBYOUW83qufpOqz1kjH
v116IRXKIOZJFXXDlUppxYBVa3SRqH1wCHbbf5seCec32WHCSdArcx1XyUALb8sO
Tgr4grzZBMA4unB848XVHMqnc3cnX9YG+3Y0SFaM3Knab7Q3rZH2mKz+/W9v5sHN
RB1zbHBb9GFD4+hUcesozeCVphYcwWn5zWVkNV3+eu13RRHf16G6vB94EusvEio=
=uiNK
-----END PGP SIGNATURE-----
Reply to: