Difference between revisions of "Update Manifest"

From NST Wiki
Jump to navigationJump to search
(Edit File Information)
(Edit File Information)
Line 16: Line 16:
  
 
   <name>nst</name>
 
   <name>nst</name>
   <version>18</version>
+
   <version>22</version>
   <date>Sat Apr 13 10:00:00 EDT 2013</date>
+
   <date>Fri Oct  2 09:30:27 EDT 2015</date>
 
   <passwordofs>tbd</passwordofs>
 
   <passwordofs>tbd</passwordofs>
 
   <svn>
 
   <svn>
     <root>https://svn.code.sf.net/p/nst/code</root>
+
     <root>https://svn.code.sf.net/p/nst/code/repo</root>
     <branch>repo</branch>
+
     <branch>22</branch>
     <revision>4509</revision>
+
     <revision>7248</revision>
 
   </svn>
 
   </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":
+
* 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/update:
  
 
   <files>
 
   <files>
 
     <file id="iso">
 
     <file id="iso">
       <name>nst-18-4509.i686.iso</name>
+
       <name>nst-22-7248.i686.iso</name>
 
       <label>ISO (32 bit)</label>
 
       <label>ISO (32 bit)</label>
       <md5>775fb8d99f904df87902ddde9ae9adc2</md5>
+
       <md5>ec1d765174859da883be2ff427ab0c8e</md5>
 
     </file>
 
     </file>
 
+
 
     <file id="tar.gz">
 
     <file id="tar.gz">
       <name>nst-18-4509.tar.gz</name>
+
       <name>nst-22-7248.tar.gz</name>
 
       <label>Source</label>
 
       <label>Source</label>
       <md5>3f9c4d02d5510635907c822c237dd718</md5>
+
       <md5>579b4f72168e486a6f848651a8015612</md5>
 
     </file>
 
     </file>
 
   </files>
 
   </files>

Revision as of 13:35, 2 October 2015

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>22</version>
 <date>Fri Oct  2 09:30:27 EDT 2015</date>
 <passwordofs>tbd</passwordofs>
 <svn>
   <root>https://svn.code.sf.net/p/nst/code/repo</root>
   <branch>22</branch>
   <revision>7248</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/update:
 <files>
   <file id="iso">
     <name>nst-22-7248.i686.iso</name>
     <label>ISO (32 bit)</label>
     <md5>ec1d765174859da883be2ff427ab0c8e</md5>
   </file>

   <file id="tar.gz">
     <name>nst-22-7248.tar.gz</name>
     <label>Source</label>
     <md5>579b4f72168e486a6f848651a8015612</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.