mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2590
This commit is contained in:
parent
5417e32760
commit
8c212693b4
|
@ -7150,6 +7150,7 @@ Karl 2003-10-27
|
|||
- process_app_version: write <open_name> tags; open_name is parsed from
|
||||
disk filename 'open_name=url_filename' (url_filename is the basename of
|
||||
file as copied to download/)
|
||||
- print objects as they are committed (for database ID)
|
||||
|
||||
tools/
|
||||
update_versions
|
||||
|
|
|
@ -59,6 +59,7 @@ def process_executable_file(file, signature_text=None, quiet=False, executable=T
|
|||
target_file_base = get_kludge_url_filename(source_file_base)
|
||||
target_dir = config.config.download_dir
|
||||
target_path = os.path.join(target_dir, target_file_base)
|
||||
target_url = os.path.join(config.config.download_url, target_file_base)
|
||||
if file != target_path:
|
||||
if not quiet:
|
||||
print "Copying %s to %s"%(source_file_base, target_dir)
|
||||
|
@ -67,8 +68,7 @@ def process_executable_file(file, signature_text=None, quiet=False, executable=T
|
|||
xml = '''<file_info>
|
||||
<name>%s</name>
|
||||
<url>%s</url>
|
||||
''' %(file_base,
|
||||
os.path.join(config.config.download_url, target_file_base))
|
||||
''' %(source_file_base,target_url)
|
||||
if executable:
|
||||
xml += ' <executable/>\n'
|
||||
if signature_text:
|
||||
|
|
|
@ -206,7 +206,9 @@ for object in objects_to_commit:
|
|||
if not tools.query_yesno("Continue"):
|
||||
raise SystemExit
|
||||
|
||||
print "Committed:"
|
||||
for object in objects_to_commit:
|
||||
object.commit()
|
||||
print " ", object
|
||||
|
||||
print "Done"
|
||||
|
|
Loading…
Reference in New Issue