CDash:Tagging: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
Line 19: Line 19:
     var text = "Applying 1.4 patches";
     var text = "Applying 1.4 patches";
     $("#Upgrade-1-4-Status").html("<img src=\"images/loading.gif\"/> "+text+"...");
     $("#Upgrade-1-4-Status").html("<img src=\"images/loading.gif\"/> "+text+"...");
     sendAjax("#Upgrade-1-4-Status","backwardCompatibilityTools.php?upgrade-1-4=1",text,done);   
     sendAjax("#Upgrade-1-4-Status","upgrade.php?upgrade-1-4=1",text,done);   
     }
     }


# In backwardCompatibilityTools.xsl add:
# In upgrade.xsl add:
   <nowiki><div id="Upgrade-1-4-Status"></div></nowiki>
   <nowiki><div id="Upgrade-1-4-Status"></div></nowiki>



Revision as of 12:04, 28 October 2010

To release a new CDash (let's say revision 1.2) please follow the current steps:

  1. Tag/Branch the current trunk repository with Release-1-2-0 (this is the main release)
  2. Update the version in the file cdash/version.php to 1.2.0
  3. Tag/Branch the current trunk repository with Release-1-2 (this is the branch release)
  4. Update the version in the file cdash/version.php to 1.2.1
  5. Update the version in the trunk cdash/version.php to 1.3.0
  6. In the javascript/cdashUpgrade.js add the following lines:
 else if(version < 1.4)
   {
   nextstep = upgrade_1_4;
   }

and

 function upgrade_1_4()
   {
   var text = "Applying 1.4 patches";
   $("#Upgrade-1-4-Status").html("<img src=\"images/loading.gif\"/> "+text+"...");
   sendAjax("#Upgrade-1-4-Status","upgrade.php?upgrade-1-4=1",text,done);  
   }
  1. In upgrade.xsl add:
 <div id="Upgrade-1-4-Status"></div>
  • Upgrade the change log:
 http://public.kitware.com/Wiki/CDash:Upgrade#Change_logs
  • Create new version in Mantis:
 http://www.cdash.org/Bug