Changes between Version 5 and Version 6 of BuildClientProcedure
- Timestamp:
- Jul 31, 2007, 9:57:18 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildClientProcedure
v5 v6 8 8 If this is a major or minor version change to an even numbered minor revision you'll need to fork the tree. 9 9 10 1. Right-click on the 'boinc' directory from trunk, and then select 'TortoiseSVN | Branch/Tag' 11 2. Change the "To URL:" to `http://boinc.berkeley.edu/svn/branches/boinc_core_release_<major>_<minor>`, where `<major>` is the major version number and `<minor>` is the minor version number. 12 3. Adjust version numbers in both the new branch and truck so that the new branch and trunk 10 {{{ 11 1. Right-click on the 'boinc' directory from trunk, and then select 'TortoiseSVN\Branch/Tag' 12 2. Change the "To URL:" to 'http://boinc.berkeley.edu/svn/branches/boinc_core_release_<major>_<minor>' 13 }}} 14 15 Where <major> is the major version number and <minor> is the minor version number. 16 17 {{{ 18 3. Adjust version numbers in both the new branch and truck so that the new branch and trunk 13 19 reflect the current development efforts. 20 }}} 14 21 15 22 The branch should represent the new stable major and even minor version numbers. Trunk should represent the 16 23 next major and odd minor version number. 17 24 18 The files that need to be modified are `configure.ac` and `version.h`.25 The files that need to be modified are configure.ac and version.h. 19 26 20 27 Example: Branch 5.10.x and Trunk 5.11.0. … … 26 33 Increment the revision number in the files dealing with version numbers. 27 34 28 The files that need to be modified are `configure.ac` and version.h`.35 The files that need to be modified are configure.ac and version.h. 29 36 30 37 Commit all changes to SVN. 31 38 32 1. Right-click on the branch directory, and then select 'TortoiseSVN\Branch/Tag' 33 2. Change the "To URL:" to `http://boinc.berkeley.edu/svn/branches/boinc_core_release_<major>_<minor>_<revision>` 39 {{{ 40 1. Right-click on the branch directory, and then select 'TortoiseSVN\Branch/Tag' 41 2. Change the "To URL:" to 'http://boinc.berkeley.edu/svn/branches/boinc_core_release_<major>_<minor>_<revision>' 42 }}} 34 43 35 44 Where <major> is the major version number, <minor> is the minor version number, and <revision> is the revision number. … … 37 46 == Build Client == 38 47 39 Launch the `boinc.sln` project file and build both the x86 and x64 targets.48 Launch the boinc.sln project file and build both the 'Win32' and 'x64' targets of the 'ReleaseSigned' built type. 40 49 41 50 == Sanity Test New Binaries == 42 51 43 Run the BOINC manager and attach to the BOINC alpha test project, let run for 15 mins. Traverse all the tabs, verify the status fields as a result traverses the crunching process. 52 Run the BOINC manager and attach to the BOINC alpha test project, let run for 15 mins. Traverse 53 all the tabs, verify the status fields as a result traverses the crunching process. 44 54 45 55 == Code Sign Binaries == 46 56 47 The the `SignCode.cmd` file from the win_build directory. This batch file should be run from within a Visual Studio command shell. !SignCode should contain a series of the following line: 57 The the SignCode.cmd file from the win_build directory. This batch file should be run from within a Visual 58 Studio command shell. SignCode should contain a series of the following line: 48 59 49 60 {{{ 61 50 62 signtool sign /f "boinc.pfx" /p "<password>" /d "BOINC Client Software" /du "http://boinc.berkeley.edu" 51 63 /t "http://timestamp.verisign.com/scripts/timstamp.dll" /sha1 "2F0BDC8DD84A56417C68B53B29DD12155760652D" 52 64 .\Build\Win32\ReleaseSigned\boinc.dll 65 53 66 }}} 54 67 55 68 A call to signtool should be executed for each binary shipped in the setup package. 56 69 57 Use [http://msdn2.microsoft.com/en-us/library/aa906332.aspx pvk2pfx] to convert the spc/pvk certificate pair into a pfx file. 70 Use [urlhttp://msdn2.microsoft.com/en-us/library/aa906332.aspx pvk2pfx] to convert the spc/pvk certificate pair into 71 a pfx file. 58 72 59 73 Replace '<password>' with the correct private key password used to create the private/public key pair. 74 75 == Build Setup Packages == 76 77 Launch BOINC.ism and BOINCx64.ism from the win_build/installerv2 directory. 78 79 With each file you'll need to change the following items before building the new setup package: 80 {{{ 81 82 1. Switch the the 'Installation Designer' tab. 83 2. Expand the 'Installation Information' node. 84 3. Click on the 'General Information' tree item. 85 4. Click on the 'Product Properties' from the 'General Information' secondary tree. 86 5. Update version number in the 'Version' field. 87 6. Update the product code GUID by highlighting it all and then clicking on the 'Generate GUID' 88 button below. 89 7. Expand the 'Media' tree item. 90 8. Click on the 'Releases' tree item. 91 9. Click on the tree item below the 'Releases' secondary tree. 92 10. Update the file name with the correct version number. 93 94 }}} 95 96 NOTE: If this is the first time you have built from the build tree you'll need to update the 97 path variables in the 'Media' tree. Click on the 'Path Variables' tree item and update the 98 PATH_TO_BOINC_FILES, PATH_TO_LOCALE_FILES, and PATH_TO_RELEASE_FILES environment variables. 99 100 {{{ 101 102 11. Build Setup packages by selecting 'Build/Batch Build' from the menu. 103 104 }}} 105 106 == Test Setup Package == 107 108 Copy the setup package from 'win_build/Installerv2/BOINC/Web32/Web/DiskImages/Disk1' to a 109 temporary location and execute the installer. Verify single user installation. 110 111 == Deploy Setup Packages == 112 113 Use scp to upload the completed setup packages to boincadm@isaac.ssl.berkeley.edu:boinc/doc/dl/. 114 115 == Deploy Symbol Files == 116 117 Copy the Win32 PDB files to c:\Src\symbols and execute the following command: 118 119 {{{ 120 121 symstore.exe add /l /f c:\src\symbols\*.pdb /s c:\src\symstore /compress /t "BOINC x86" 122 /v "5.10.17" /o /c "Application Release" 123 124 }}} 125 126 Copy the x64 PDB files to c:\Src\symbols and execute the following command: 127 128 {{{ 129 130 symstore.exe add /l /f c:\src\symbols\*.pdb /s c:\src\symstore /compress /t "BOINC x64" 131 /v "5.10.17" /o /c "Application Release" 132 133 }}} 134 135 Upload the new symbol files to isaac. 136 137 {{{ 138 139 pscp.exe -r -C c:\src\symstore boincadm@isaac.ssl.berkeley.edu:boinc/doc/ 140 141 }}} 142