- make_project: create <log_dir> element in config.xml

(so that show_logs.php will work).
        Fixes #170
        
    py/Boinc/
        setup_project.py

svn path=/trunk/boinc/; revision=12582
This commit is contained in:
David Anderson 2007-05-07 02:10:31 +00:00
parent 1bec453edf
commit 7207c6ef39
3 changed files with 24 additions and 0 deletions

View File

@ -4469,3 +4469,11 @@ Janus 6 May 2007
html/inc/ html/inc/
translation.inc translation.inc
David 6 May 2007
- make_project: create <log_dir> element in config.xml
(so that show_logs.php will work).
Fixes #170
py/Boinc/
setup_project.py

View File

@ -1,6 +1,21 @@
<? <?
$project_news = array( $project_news = array(
array("May 6, 2007",
"An excellent article on BOINC and the projects using it
appeared today in the Catalan newspaper AVUI.
It is available in PDF (pages
<a href=http://media.avui.cat/pdf/07/0506/070506diari034.pdf>one</a>
and <a href=http://media.avui.cat/pdf/07/0506/070506diari035.pdf>two</a>)
and also as a <a href=http://paper.avui.cat/article/societat/73609/computacio/ciutadana.html>web page</a>.
Thanks to Dr. Jordi Portell i de Mora for telling us about it."
),
array("May 6, 2007",
"<a href=http://www.boincstats.com/>BOINCstats and BAM!</a>
are now available in 15 languages.
As of today, they are now viewable in Swedish
(<a href= http://se.boincstats.com> http://se.boincstats.com</a>)."
),
array("May 3, 2007", array("May 3, 2007",
"The source code behind <a href=http://boinc.netsoft-online.com/>BOINC Combined Stats</a> is now <a href=trac/wiki/CreditStats#Codeexamples>available via Subversion</a>. This may be helpful for other statistics site developers." "The source code behind <a href=http://boinc.netsoft-online.com/>BOINC Combined Stats</a> is now <a href=trac/wiki/CreditStats#Codeexamples>available via Subversion</a>. This may be helpful for other statistics site developers."
), ),

View File

@ -407,6 +407,7 @@ class Project:
config.upload_dir = os.path.join(self.project_dir , 'upload') config.upload_dir = os.path.join(self.project_dir , 'upload')
config.key_dir = key_dir or os.path.join(self.project_dir , 'keys') config.key_dir = key_dir or os.path.join(self.project_dir , 'keys')
config.app_dir = os.path.join(self.project_dir, 'apps') config.app_dir = os.path.join(self.project_dir, 'apps')
config.log_dir = self.project_dir+'log_'+config.host
if production: if production:
config.min_sendwork_interval = 6 config.min_sendwork_interval = 6
self.scheduler_url = os.path.join(config.cgi_url , 'cgi') self.scheduler_url = os.path.join(config.cgi_url , 'cgi')