From: Francesco M. <f18...@ya...> - 2004-12-28 11:46:39
|
Hi > I've move the website update script "wxCode-website" to > "/home/groups/w/wx/wxcode", you can try if it works in your cron job. I copied the script into my home folder and I modified it so that it now looks like: -------------------------------------------------------------------- export CVSROOT=:pserver:anonymous@cvs1:/cvsroot/wxcode cd /home/groups/w/wx/wxcode cvs checkout -d htdocs wxCode/website cd /home/groups/w/wx/wxcode/htdocs/components cvs checkout -d keybinder wxCode/components/keybinder/website cvs checkout -d paletteframe wxCode/components/paletteframe/website cvs checkout -d wxscript wxCode/components/wxscript/website cvs checkout -d wxxml2 wxCode/components/wxxml2/website ---------------------------------------------------------------------- Then I tried to run it: cvs complained about a missing .cvspass so I created an empty one with the command "touch .cvspass"; after that CVS did work but I got the following messages: =================================================== [frm@sc8-pr-shell1 frm]$ wxCode-website ? htdocs/components cvs checkout: Updating htdocs cvs checkout: Updating htdocs/images cvs checkout: cannot rewrite CVS/Entries.Backup: Permission denied cvs checkout: cannot rewrite CVS/Entries.Backup: Permission denied cvs checkout: cannot rewrite CVS/Entries.Backup: Permission denied cvs checkout: cannot rewrite CVS/Entries.Backup: Permission denied cvs checkout: Updating keybinder cvs checkout: cannot rewrite CVS/Entries.Backup: Permission denied cvs checkout: cannot write keybinder/index.html: Permission denied cvs checkout: cannot rewrite CVS/Entries.Backup: Permission denied cvs checkout: Updating keybinder/docs cvs checkout: Updating paletteframe cvs checkout: Updating wxscript cvs checkout: Updating wxxml2 [frm@sc8-pr-shell1 frm]$ ==================================================== Now, if I go to http://wxcode.sourceforge.net/components/keybinder/ I can see the old index.html... it seems that I do not have permissions to rewrite files but I do have permission to create new ones: the docs folder http://wxcode.sourceforge.net/components/keybinder/docs was missing before my commands.... I added wxCode-website to my cronjobs but currently it doesn't work.... anyway I think that a simple CHMOD command on the HTDOCS folder could work... obviously I cannot do it since I don't have permission... > > I've also move my "TreeListCtrl" script there to show I build a source > tarball. thanks; anyway, since I've added the useful "zip" and "tarball" targets to the bakefiles I use for all my components, I already have a simple script which I use to build source tarballs... Thanks, FM |