Re: automatic generation of html's - or not?
On Thu, Apr 19, 2001 at 07:13:28PM +0100, Jaime E . Villate wrote: This means you should make sure the pages you commit can be correctly processed by wml, before you commit them. To check them, you should install the most recent version of wml (2.0.6), then use make and see that the html pages are created and give the result you expected; you can then use make clean (never commit any of the html pages generated with make!). you could do it just like me, I keep the following directories: webwml/ build/ debian.org/ I use webwml to translate and use cvs, build to build the pages and debian.org is the generated page, wich I linked to my /var/www cause I like to have access to the html pages while translating or checking what to translate... that's an option... By the way, can I give you a hand with the Portuguese translation? I speak continental Portuguese so together we may come out with translations acceptable both in Brazil and Portugal, rather than having to branch out pt_br and pt_pt. Hey Jaime, why don't you join us in the debian-user-portuguese@lists.debian.org mailing list? We have a project called Debian-BR, but that's just a name as we have many portuguese people in it... you're of course welcome to help us with the work we're doing =) take a look at: http://debian-br.sourceforge.net Greetings, Jaime []s! -- Gustavo Noronha Silva - kov /*** .''`. * http://www.metainfo.org/kov * : :' : * GPG Key: http://www.metainfo.org/kov/html/pgp.html * `. `'` * http://www.brainbench.com/transcript.jsp?pid=2448987 * `- ***/ Debian pgp7ZcPLkVxS1.pgp Description: PGP signature
Re: automatic generation of html's - or not?
On Thu, Apr 19, 2001 at 12:51:07AM -0300, Carlos Laviola wrote: I have commited links.tags yesterday, in order to fix some problems with the translation I work on (PT). However, as of today, the site still looks the same. How often are the HTMLs generated? (or are they manually generated? I don't suppose that). Do I have to do anything more than work on WML and commit? menubar.wml was missing a dependency on links.tags. BTW that's my fault, sorry. It has been fixed and the file should update automatically in a few hours. Write again if it doesn't get updated. Ok, it has updated today. IIRC, the previous timestamp was Apr 16 16:46, so I assume there is a crontab that updates the pages every 2 days. No, actually I didn't see the fix Jay said to have made, so I fixed it myself, a bit later. The crontab runs every six hours. -- Digital Electronic Being Intended for Assassination and Nullification
Re: automatic generation of html's - or not?
On Thu, Apr 19, 2001 at 12:51:07AM -0300, Carlos Laviola wrote: Ok, it has updated today. IIRC, the previous timestamp was Apr 16 16:46, so I assume there is a crontab that updates the pages every 2 days. Carlos has received a reply already, but I'll answer too, to make sure I understand (I'm new to this, so please correct me if I'm wrong). The pages are updated every six hours. But if the pages you committed had errors, the wml process will not generate the new pages (that's why you didn't see any changes in the pages you committed, even six hours after you did it). This means you should make sure the pages you commit can be correctly processed by wml, before you commit them. To check them, you should install the most recent version of wml (2.0.6), then use make and see that the html pages are created and give the result you expected; you can then use make clean (never commit any of the html pages generated with make!). By the way, can I give you a hand with the Portuguese translation? I speak continental Portuguese so together we may come out with translations acceptable both in Brazil and Portugal, rather than having to branch out pt_br and pt_pt. Greetings, Jaime
Re: automatic generation of html's - or not?
On Thu, Apr 19, 2001 at 07:13:28PM +0100, Jaime E . Villate wrote: On Thu, Apr 19, 2001 at 12:51:07AM -0300, Carlos Laviola wrote: Ok, it has updated today. IIRC, the previous timestamp was Apr 16 16:46, so I assume there is a crontab that updates the pages every 2 days. Carlos has received a reply already, but I'll answer too, to make sure I understand (I'm new to this, so please correct me if I'm wrong). The pages are updated every six hours. But if the pages you committed had errors, the wml process will not generate the new pages (that's why you didn't see any changes in the pages you committed, even six hours after you did it). While it is true that an error in a page will keep it from being updated, that was not the problem in this case. The Debian pages use a number of template files, which are nested (a includes b which includes c). In order to make sure pages are updated properly the Makefiles are told what files a particular file depends on. A new file was recently added and the dependency information was not updated. Thus, when Carlos updated the file, the page (html) wasn't rebuilt. This means you should make sure the pages you commit can be correctly processed by wml, before you commit them. To check them, you should install the most recent version of wml (2.0.6), then use make and see that the html pages are created and give the result you expected; you can then use make clean (never commit any of the html pages generated with make!). Everyone should definitely check pages before committing them. -- James (Jay) Treacy [EMAIL PROTECTED]
automatic generation of html's - or not?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have commited links.tags yesterday, in order to fix some problems with the translation I work on (PT). However, as of today, the site still looks the same. How often are the HTMLs generated? (or are they manually generated? I don't suppose that). Do I have to do anything more than work on WML and commit? Thanks, Carlos. - -- carlos laviola - icq #55799523 $ chown us:us /your_base -R chown: what you say!! -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE63cX+ZAYCJzUW03IRAl+BAJ9QRtF3iKJZJq5HEvKQrZhRrucCggCdEcst nrdoilkhgEJTp96agDjx/5g= =k+l8 -END PGP SIGNATURE-
Re: automatic generation of html's - or not?
On Wed, Apr 18, 2001 at 01:51:11PM -0300, Carlos Laviola wrote: I have commited links.tags yesterday, in order to fix some problems with the translation I work on (PT). However, as of today, the site still looks the same. How often are the HTMLs generated? (or are they manually generated? I don't suppose that). Do I have to do anything more than work on WML and commit? menubar.wml was missing a dependency on links.tags. It has been fixed and the file should update automatically in a few hours. Write again if it doesn't get updated. -- James (Jay) Treacy [EMAIL PROTECTED]