Difference between revisions of "Update Manifest"

From NST Wiki
Jump to navigationJump to search
(Edit File Information)
Line 16: Line 16:
  
 
   <name>nst</name>
 
   <name>nst</name>
   <version>18-4509</version>
+
   <version>18</version>
 
   <date>Sat Apr 13 10:00:00 EDT 2013</date>
 
   <date>Sat Apr 13 10:00:00 EDT 2013</date>
 
   <passwordofs>tbd</passwordofs>
 
   <passwordofs>tbd</passwordofs>

Revision as of 10:35, 13 April 2013

Create the Release Manifest

You should create the file: "include/manifest/release-${VERSION}-${SVNREVISION}.xml" (if it does not yet exist). Initially, this should be a copy of the file: "include/manifest/current.xml".

[root@nst-dev-32 repo]# cd include/manifest
[root@nst-dev-32 manifest]# cp current.xml release-18-4509.xml
[root@nst-dev-32 manifest]# svn add release-18-4509.xml

Edit File Information

  • At the start of the manifest file, you will need to change the released attribute to true.
 <release released="true">
  • Make sure that the version and SVN revision are set correctly in the top information section:
 <name>nst</name>
 <version>18</version>
 <date>Sat Apr 13 10:00:00 EDT 2013</date>
 <passwordofs>tbd</passwordofs>
 <svn>
   <root>https://svn.code.sf.net/p/nst/code</root>
   <branch>repo</branch>
   <revision>4509</revision>
 </svn>
  • In addition, you should check the "<files>" entities to make sure that the MD5 values are set correctly for the files you published. Here is a template of the entities you are likely to need to add to: "include/manifest/release-2.16.0-3170.xml":
 <files>
   <file id="iso">
     <name>nst-18-4509.i686.iso</name>
     <label>ISO (32 bit)</label>
     <md5>775fb8d99f904df87902ddde9ae9adc2</md5>
   </file>
   <file id="tar.gz">
     <name>nst-18-4509.tar.gz</name>
     <label>Source</label>
     <md5>3f9c4d02d5510635907c822c237dd718</md5>
   </file>
 </files>

Note: The MD5 values will need to be updated for your release!

Commit The Updates

Don't forget to commit your changes after modifying or creating the release XML file.