diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-09-03 07:39:18 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-09-03 07:39:18 +0000 |
commit | 38b82eae5ff83fc9608217360971303caddf3290 (patch) | |
tree | 18108b47ca71941e55d3160f6f698660ba9d7691 | |
parent | c1e519272efee18567014bde562136f04e914116 (diff) | |
download | ATCD-38b82eae5ff83fc9608217360971303caddf3290.tar.gz |
ChangeLogTag:Mon Sep 03 02:39:11 CDT 2007 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | ACE/ChangeLog | 4 | ||||
-rw-r--r-- | ACE/PROBLEM-REPORT-FORM | 2 | ||||
-rw-r--r-- | ACE/VERSION | 2 | ||||
-rwxr-xr-x | ACE/bin/make_release.py | 130 | ||||
-rw-r--r-- | CIAO/ChangeLog | 4 | ||||
-rw-r--r-- | CIAO/PROBLEM-REPORT-FORM | 6 | ||||
-rw-r--r-- | CIAO/VERSION | 2 | ||||
-rw-r--r-- | CIAO/ciao/Version.h | 4 | ||||
-rw-r--r-- | TAO/ChangeLog | 4 | ||||
-rw-r--r-- | TAO/PROBLEM-REPORT-FORM | 4 | ||||
-rw-r--r-- | TAO/VERSION | 2 | ||||
-rw-r--r-- | TAO/tao/Version.h | 4 |
12 files changed, 83 insertions, 85 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index 9c8f8fafdf7..72f0a9ee154 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,6 +1,6 @@ -Mon Sep 03 02:20:09 CDT 2007 Johnny Willemsen <jwillemsen@remedy.nl> +Mon Sep 03 02:39:11 CDT 2007 Johnny Willemsen <jwillemsen@remedy.nl> - * ACE version 5.6.0 released. + * ACE version 5.6 released. Thu Aug 30 17:23:21 UTC 2007 Steve Huston <shuston@riverace.com> diff --git a/ACE/PROBLEM-REPORT-FORM b/ACE/PROBLEM-REPORT-FORM index 63fbbf6c70c..48ef26a28d9 100644 --- a/ACE/PROBLEM-REPORT-FORM +++ b/ACE/PROBLEM-REPORT-FORM @@ -43,7 +43,7 @@ To: ace-bugs@cs.wustl.edu Subject: [area]: [synopsis] - ACE VERSION: 5.60 + ACE VERSION: 5.6 HOST MACHINE and OPERATING SYSTEM: If on Windows based OS's, which version of WINSOCK do you diff --git a/ACE/VERSION b/ACE/VERSION index 75125f1f01d..134250ffc93 100644 --- a/ACE/VERSION +++ b/ACE/VERSION @@ -1,4 +1,4 @@ -This is ACE version 5.6, released Mon Sep 03 02:20:09 CDT 2007 +This is ACE version 5.6, released Mon Sep 03 02:39:11 CDT 2007 If you have any problems with or questions about ACE, please send email to the ACE mailing list (ace-users@cs.wustl.edu), using the form diff --git a/ACE/bin/make_release.py b/ACE/bin/make_release.py index adac57598ff..077c7ed00e9 100755 --- a/ACE/bin/make_release.py +++ b/ACE/bin/make_release.py @@ -99,7 +99,7 @@ def parse_args (): help="Create kits. DO NOT USE WITH --tag", default=None, const="kit") parser.add_option ("--dest", dest="package_dir", action="store", help="Specify destination for the created packages.", default=None) - + parser.add_option ("--root", dest="repo_root", action="store", help="Specify an alternate repository root", default="https://svn.dre.vanderbilt.edu/DOC/") @@ -112,7 +112,7 @@ def parse_args (): parser.add_option ("--override-host", dest="override_host", action="store_true", help="Override the default release host. Not reccomended", default=False) (options, arguments) = parser.parse_args () - + if options.action is None: parser.error ("Must specify an action, ie --tag or --kit") @@ -122,7 +122,7 @@ def parse_args (): if options.update is False: print "Warning: You are tagging a release, but not requesting a version increment" - + return (options, arguments) @@ -134,12 +134,12 @@ def ex (command): if not opts.take_action: print "Executing " + command return - + status = system(command) if status != 0: print "ERROR: Nonzero retrun value from " + command raise Exception - + ### # Checks that the users environment is sane. # @@ -162,7 +162,7 @@ def check_environment (): if (mailid is None): print "ERROR: Must define MAILID environment to your email address for changelogs." return False - + from socket import gethostname if ((not opts.override_host) and gethostname () != "anduril.dre.vanderbilt.edu"): @@ -211,15 +211,15 @@ def check_workspace (): def update_version_files (component): """ Updates the version files for a given component. This includes Version.h, the PRF, and the VERSION file.""" - + global comp_versions, opts, release_date vprint ("Updating version files for " + component) - + import re retval = list () - + ## Update component/VERSION with open (component + "/VERSION", "r+") as version_file: new_version = re.sub (component + " version .*", @@ -236,9 +236,9 @@ def update_version_files (component): print new_version vprint ("Updating Version.h for " + component) - + retval += [component + "/VERSION"] - + ## Update component/component/Version.h version_header = """ // -*- C++ -*- @@ -253,7 +253,7 @@ def update_version_files (component): component, comp_versions[component + "_minor"], component, comp_versions[component + "_beta"], component, comp_versions[component + "_version"]) - + if opts.take_action: with open (component + '/' + component.lower () + "/Version.h", 'r+') as version_h: version_h.write (version_header) @@ -262,12 +262,12 @@ def update_version_files (component): print version_header retval += [component + '/' + component.lower () + "/Version.h"] - + # Update component/PROBLEM-REPORT-FORM vprint ("Updating PRF for " + component) - + version_string = re.compile ("^\s*(\w+) +VERSION ?:") - + with open (component + "/PROBLEM-REPORT-FORM", 'r+') as prf: new_prf = "" for line in prf.readlines (): @@ -280,7 +280,7 @@ def update_version_files (component): line) new_prf += line - + if opts.take_action: prf.seek (0) prf.truncate (0) @@ -291,51 +291,49 @@ def update_version_files (component): retval += [component + "/PROBLEM-REPORT-FORM"] return retval - - + + def get_and_update_versions (): """ Gets current version information for each component, updates the version files, creates changelog entries, and commit the changes into the repository.""" - + try: - get_comp_versions ("ACE") - get_comp_versions ("TAO") + get_comp_versions ("ACE") + get_comp_versions ("TAO") get_comp_versions ("CIAO") files = list () - files += update_version_files ("ACE") - files += update_version_files ("TAO") - files += update_version_files ("CIAO") - files += create_changelog ("ACE") - files += create_changelog ("TAO") + files += update_version_files ("ACE") + files += update_version_files ("TAO") + files += update_version_files ("CIAO") + files += create_changelog ("ACE") + files += create_changelog ("TAO") files += create_changelog ("CIAO") - + commit (files) except: print "Fatal error in get_and_update_versions." raise - + def create_changelog (component): """ Creates a changelog entry for the supplied component that includes the version number being released""" vprint ("Creating ChangeLog entry for " + component) - + global comp_versions, opts # generate our changelog entry changelog_entry = """%s %s <%s> -\t* %s version %d.%d.%d released. +\t* %s version %s released. """ % (release_date, signature, mailid, component, - comp_versions[component + "_major"], - comp_versions[component + "_minor"], - comp_versions[component + "_beta"]) + comp_versions[component + "_version"]) vprint ("Changelog Entry for " + component + "\n" + changelog_entry) - + with open ("%s/ChangeLog" % (component), 'r+') as changelog: changelog_entry += changelog.read () @@ -343,19 +341,19 @@ def create_changelog (component): changelog.seek (0) changelog.truncate (0) changelog.write (changelog_entry) - + return ["%s/ChangeLog" % (component)] - + def get_comp_versions (component): """ Extracts the current version number from the VERSION file and increments it appropriately for the release type requested.""" vprint ("Detecting current version for" + component) - + import re global comp_versions, opts - + beta = re.compile ("version (\d+)\.(\d+)\.(\d+)") minor = re.compile ("version (\d+)\.(\d+)[^\.]") major = re.compile ("version (\d+)[^\.]") @@ -378,7 +376,7 @@ def get_comp_versions (component): if match is not None: vprint ("Detected minor version %s.%s" % (match.group (1), match.group (2))) - + comp_versions[component + "_major"] = int (match.group (1)) comp_versions[component + "_minor"] = int (match.group (2)) comp_versions[component + "_beta"] = 0 @@ -395,7 +393,7 @@ def get_comp_versions (component): print "FATAL ERROR: Unable to locate current version for " + component raise Exception - + if opts.update: if opts.release_type == "major": comp_versions[component + "_major"] += 1 @@ -439,9 +437,9 @@ def tag (): def export_wc (stage_dir): global doc_root - + # Export our working copy - print ("Exporting ACE") + print ("Exporting ACE") svn_client.export (doc_root + "/ACE", stage_dir + "/ACE_wrappers") @@ -486,7 +484,7 @@ def update_packages (text_files, bin_files, stage_dir, package_dir): # Need to wait for zip process spawned by popen2 to complete # before proceeding. os.wait () - + print "\tAdding text files to zip....." instream, outstream = os.popen2 ("xargs zip " + zip_base_args + zip_text_args + zip_file) @@ -498,7 +496,7 @@ def update_packages (text_files, bin_files, stage_dir, package_dir): # Need to wait for zip process spawned by popen2 to complete # before proceeding. os.wait () - + # Tar files print "\tAdding to tar file...." instream, outstream = os.popen2 ("xargs tar " + tar_args + tar_file) @@ -509,7 +507,7 @@ def update_packages (text_files, bin_files, stage_dir, package_dir): outstream.close () os.wait () - + def move_packages (name, stage_dir, package_dir): """ Copies the temporary files from the stage_dir to the package_dir. Renames them to name.tar and name.zip, respectively, and compresses @@ -518,7 +516,7 @@ def move_packages (name, stage_dir, package_dir): from os.path import join print "Storing packages for ", name - + # Take care of the zip file print "\tZip file..." target_file = join (package_dir, name + ".zip") @@ -542,23 +540,23 @@ def move_packages (name, stage_dir, package_dir): target_file) ex ("gzip " + target_file) ex ("md5sum " + target_file + ".gz > " + target_file + ".gz.md5") - + def create_file_lists (base_dir, prefix, exclude): """ Creates two lists of files: files that need CR->CRLF conversions (useful for zip files) and those that don't, excluding filies/directories found in exclude. """ import os - + text_files = list () bin_files = list () for root, dirs, files in os.walk (base_dir, topdown=True): # print "root", root - + relroot = root.replace (base_dir, "") # print "relroot", relroot - + if len(relroot) and relroot[0] == '/': relroot = relroot [1:] @@ -573,7 +571,7 @@ def create_file_lists (base_dir, prefix, exclude): if excluded: continue - + # Remove dirs from our exclude pattern for item in dirs: # print "item", item @@ -581,9 +579,9 @@ def create_file_lists (base_dir, prefix, exclude): if (item) in exclude: # print "Removing " + item + " from consideration...." dirs.remove (item) - + for item in files: - + fullitem = os.path.join (relroot, item) if fullitem in exclude or item in exclude: # print "Removing " + fullitem + " from consideration...." @@ -605,7 +603,7 @@ def write_file_lists (comp, text, bin): outfile.write ("\n".join (bin)) outfile.close () - + def package (stage_dir, package_dir, decorator): """ Packages ACE, ACE+TAO, and ACE+TAO+CIAO releases of current staged tree, with decorator appended to the name of the archive. """ @@ -614,7 +612,7 @@ def package (stage_dir, package_dir, decorator): from os import chdir chdir (stage_dir) - + text_files = list () bin_files = list () @@ -641,7 +639,7 @@ def package (stage_dir, package_dir, decorator): text_files = list () bin_files = list () - + # for TAO: text_files, bin_files = create_file_lists (join (stage_dir, "ACE_wrappers/TAO"), "ACE_wrappers/TAO", ["CIAO", "autom4te.cache"]) @@ -689,7 +687,7 @@ def generate_workspaces (stage_dir): mpc_option = ' -recurse -hierarchy -relative ACE_ROOT=' + stage_dir + '/ACE_wrappers ' mpc_option += ' -relative TAO_ROOT=' + stage_dir + '/ACE_wrappers/TAO ' mpc_option += ' -relative CIAO_ROOT=' + stage_dir + '/ACE_wrappers/TAO/CIAO ' - + static_option = ' -static -name_modifier *_Static -apply_project -exclude TAO/CIAO,TAO/TAO_*.mwc ' static_option += mpc_option @@ -705,7 +703,7 @@ def generate_workspaces (stage_dir): redirect_option = str () if not opts.verbose: redirect_option = " >> ../mpc.log 2>&1" - + # Generate GNUmakefiles print "\tGenerating GNUmakefiles...." ex (mpc_command + " -type gnuace " + exclude_option + mpc_option + redirect_option) @@ -714,7 +712,7 @@ def generate_workspaces (stage_dir): ex (mpc_command + " -type vc8 " + mpc_option + vc8_option + redirect_option) print "\tGenerating VC8 Windows CE solutions..." - ex (mpc_command + " -type vc8 " + mpc_option + exclude_option + ce_option + redirect_option) + ex (mpc_command + " -type vc8 " + mpc_option + exclude_option + ce_option + redirect_option) print "\tGenerating VC71 solutions..." ex (mpc_command + " -type vc71 " + mpc_option + redirect_option) @@ -727,10 +725,10 @@ def generate_workspaces (stage_dir): print "\tBootstrapping autotools support" ex ("bin/bootstrap " + redirect_option) - + print "\tCorrecting permissions for all generated files..." ex ("find ./ -name '*.vc[p,w]' -or -name '*.bor' -or -name '*.vcproj' -or -name '*.sln' -or -name 'GNUmake*' | xargs chmod 0644") - + def create_kit (): """ Creates kits """ import os @@ -738,7 +736,7 @@ def create_kit (): # Get version numbers for this working copy, note this will # not update the numbers. print "Getting current version information...." - + get_comp_versions ("ACE") get_comp_versions ("TAO") get_comp_versions ("CIAO") @@ -756,7 +754,7 @@ def create_kit (): ### create standard packages. package (stage_dir, package_dir, "") - + def make_working_directories (): """ Creates directories that we will be working in. In particular, we will have DOC_ROOT/stage-PID and @@ -782,19 +780,19 @@ def main (): check_workspace () get_and_update_versions () tag () - + else: print "Creating a kit." raw_input ("Press enter to continue") create_kit () - + if __name__ == "__main__": (opts, args) = parse_args () if check_environment() is not True: exit (1) - + main () diff --git a/CIAO/ChangeLog b/CIAO/ChangeLog index 3426bc5e0f5..1bde1242dae 100644 --- a/CIAO/ChangeLog +++ b/CIAO/ChangeLog @@ -1,6 +1,6 @@ -Mon Sep 03 02:20:09 CDT 2007 Johnny Willemsen <jwillemsen@remedy.nl> +Mon Sep 03 02:39:11 CDT 2007 Johnny Willemsen <jwillemsen@remedy.nl> - * CIAO version 0.6.0 released. + * CIAO version 0.7 released. Mon Aug 27 23:04:36 UTC 2007 Nilabja R <nilabjar@dre.vanderbilt.edu> diff --git a/CIAO/PROBLEM-REPORT-FORM b/CIAO/PROBLEM-REPORT-FORM index 4174380f388..e02fc065594 100644 --- a/CIAO/PROBLEM-REPORT-FORM +++ b/CIAO/PROBLEM-REPORT-FORM @@ -43,9 +43,9 @@ To: ciao-users@cs.wustl.edu Subject: [area]: [synopsis] - CIAO VERSION: 0.60 - TAO VERSION : 1.60 - ACE VERSION : 5.60 + CIAO VERSION: 0.7 + TAO VERSION : 1.7 + ACE VERSION : 5.6 HOST MACHINE and OPERATING SYSTEM: If on Windows based OS's, which version of WINSOCK do you diff --git a/CIAO/VERSION b/CIAO/VERSION index efbefaa0f3c..76a6c1165a1 100644 --- a/CIAO/VERSION +++ b/CIAO/VERSION @@ -1,4 +1,4 @@ -This is CIAO version 0.6, released Mon Sep 03 02:20:09 CDT 2007 +This is CIAO version 0.7, released Mon Sep 03 02:39:11 CDT 2007 If you have any problems with or questions about CIAO, please send e-mail to the CIAO mailing list (ciao-users@cs.wustl.edu), using the diff --git a/CIAO/ciao/Version.h b/CIAO/ciao/Version.h index 33a681767c0..1071d4d0675 100644 --- a/CIAO/ciao/Version.h +++ b/CIAO/ciao/Version.h @@ -4,6 +4,6 @@ // This is file was automatically generated by \$ACE_ROOT/bin/make_release. #define CIAO_MAJOR_VERSION 0 -#define CIAO_MINOR_VERSION 6 +#define CIAO_MINOR_VERSION 7 #define CIAO_BETA_VERSION 0 -#define CIAO_VERSION "0.6" +#define CIAO_VERSION "0.7" diff --git a/TAO/ChangeLog b/TAO/ChangeLog index e5d6dda0b65..0d56db3cce1 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,6 +1,6 @@ -Mon Sep 03 02:20:09 CDT 2007 Johnny Willemsen <jwillemsen@remedy.nl> +Mon Sep 03 02:39:11 CDT 2007 Johnny Willemsen <jwillemsen@remedy.nl> - * TAO version 1.6.0 released. + * TAO version 1.7 released. Thu Aug 30 08:09:00 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl> diff --git a/TAO/PROBLEM-REPORT-FORM b/TAO/PROBLEM-REPORT-FORM index a8e917c0fa7..0fb3ef3f463 100644 --- a/TAO/PROBLEM-REPORT-FORM +++ b/TAO/PROBLEM-REPORT-FORM @@ -43,8 +43,8 @@ To: tao-bugs@cs.wustl.edu Subject: [area]: [synopsis] - TAO VERSION: 1.60 - ACE VERSION: 5.60 + TAO VERSION: 1.7 + ACE VERSION: 5.6 HOST MACHINE and OPERATING SYSTEM: If on Windows based OS's, which version of WINSOCK do you diff --git a/TAO/VERSION b/TAO/VERSION index 82a47cc2d2d..1c0c9cc5628 100644 --- a/TAO/VERSION +++ b/TAO/VERSION @@ -1,4 +1,4 @@ -This is TAO version 1.6, released Mon Sep 03 02:20:09 CDT 2007 +This is TAO version 1.7, released Mon Sep 03 02:39:11 CDT 2007 If you have any problems with or questions about TAO, please send e-mail to the TAO mailing list (tao-users@cs.wustl.edu), using the diff --git a/TAO/tao/Version.h b/TAO/tao/Version.h index a0358904d0e..e955bcef002 100644 --- a/TAO/tao/Version.h +++ b/TAO/tao/Version.h @@ -4,6 +4,6 @@ // This is file was automatically generated by \$ACE_ROOT/bin/make_release. #define TAO_MAJOR_VERSION 1 -#define TAO_MINOR_VERSION 6 +#define TAO_MINOR_VERSION 7 #define TAO_BETA_VERSION 0 -#define TAO_VERSION "1.6" +#define TAO_VERSION "1.7" |