Re: Automatic update of pages
-----BEGIN PGP SIGNED MESSAGE-----
On 23-12-2007 18:01, David Paleino wrote:
> I'm a Debian-Med team member, and I'm working to get some nice features for our
> (and, possibly, also other) CDD. The idea is to have pages like  and 
> automatically updated by a python script, possibly put on our Alioth space (so
> that everyone in the team can edit/fix/improve it) or, better, in our SVN
> repository, always on Alioth. The script would parse some "task files" (see an
> example at ).
> I've sent a mail to our mailing list (CCed), and one of the guys with write
> access to the debian.org space (Charles Plessy
> <email@example.com>) made me note that the space is
> write-protected , so he suggested me to write here. Is there any chance to
> achieve what I planned? Any workaround?
>  http://www.debian.org/devel/debian-med/microbio
>  http://www.debian.org/devel/debian-med/record
>  http://permalink.gmane.org/gmane.linux.debian.devel.medical/2771
Automatic updates direct in the files would break the
sync of translation check for other languages and the website
mirrors. In a first look, I can imagine two approaches:
1) A "status" file with metadata outside the CVS
Similar to the PO statistics, the build script could
download the "status" from Debian-Med and generate
the different pages for the different languages at
2) A "status" file with metadata inside the CVS
Have a .data file used by the build script but instead
of being downloaded automatically it would be commited
to the CVS.
Preference for 1 and 2 would depend on whether you want
to have history of the data/metadata. About the updates, it
really doesn't matter how many times the python script would run
because the changes will only appear on the next wwwbuild.
In both cases you are likely to need to patch the build
scripts and much probably get the approval of a webmaster to
Felipe Augusto van de Wiel (faw)
"Debian. Freedom to code. Code to freedom!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----