diff --git a/checkin_notes b/checkin_notes index ed9c3c532e..2c0a1f19e5 100755 --- a/checkin_notes +++ b/checkin_notes @@ -7150,6 +7150,7 @@ Karl 2003-10-27 - process_app_version: write 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 diff --git a/py/Boinc/tools.py b/py/Boinc/tools.py index 5d588959d2..85cc08a03d 100644 --- a/py/Boinc/tools.py +++ b/py/Boinc/tools.py @@ -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 = ''' %s %s -''' %(file_base, - os.path.join(config.config.download_url, target_file_base)) +''' %(source_file_base,target_url) if executable: xml += ' \n' if signature_text: diff --git a/tools/update_versions b/tools/update_versions index 50ffad192a..8ff8c8d1f9 100755 --- a/tools/update_versions +++ b/tools/update_versions @@ -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"