diff --git a/checkin_notes b/checkin_notes index b8f117aeb6..f61bfefe14 100755 --- a/checkin_notes +++ b/checkin_notes @@ -7151,6 +7151,9 @@ Karl 2003-10-27 disk filename 'open_name=url_filename' (url_filename is the basename of file as copied to download/) + py/Boinc/ + tools.py + - BOINC 2.07 release - Astropulse 2.07 release - SETI@Home 2.01 release diff --git a/py/Boinc/db_def_to_py b/py/Boinc/db_def_to_py index 9ea68136b4..79e29fa0c6 100755 --- a/py/Boinc/db_def_to_py +++ b/py/Boinc/db_def_to_py @@ -7,7 +7,7 @@ ## syntax: ./db_def_to_php < ../db/boinc_db.h > boinc_db.inc # print "# Generated by db_def_to_py on "; -system('date'); +# system('date'); while (<>) { if (/^\s*#define\s+([^\s]+)\s+([0-9]+)\s*$/) { diff --git a/py/Boinc/tools.py b/py/Boinc/tools.py index 366382e5a7..70cdebc869 100644 --- a/py/Boinc/tools.py +++ b/py/Boinc/tools.py @@ -46,9 +46,7 @@ def process_executable_file(file, signature_text=None, quiet=False, executable=T '''Handle a new executable (or non-executable) file to be added to the database. - 0. If filename contains a "=", target filename is the text after the "=" - (before "=" is used for app open name) - + 0. target filename is url_filename as described in process_app_version 1. Copy file to download_dir if necessary. 2. Return XML. - if signature_text specified, use it @@ -103,8 +101,9 @@ def process_app_version(app, version_num, exec_files, non_exec_files=[], signatu probably has network visibility)! exec_files[1:] and non_exec_files should be named like 'open_name=url_filename'. - If there is no '=', then the entire filename is used as - both the open_name and the filename. + (url_filename is the basename of file as copied to + download/) If there is no '=', then the entire filename is + used as both the open_name and the filename. """ assert(exec_files) diff --git a/test/db_def_to_php b/test/db_def_to_php index 31b39e16a5..d1febfb4e8 100755 --- a/test/db_def_to_php +++ b/test/db_def_to_php @@ -7,6 +7,7 @@ ## syntax: ./db_def_to_php < ../db/boinc_db.h > boinc_db.inc print "