Difference between revisions of "Update Manifest"

From NST Wiki
Jump to navigationJump to search
(Create the Release Manifest)
(Edit File Information)
Line 9: Line 9:
 
= Edit File Information =
 
= Edit File Information =
  
The XML manifest files: "html/log/release-${VERSION}.xml" are automatically generated when one runs the command: "make release" (can you remember back that far). However, there are several other files which are released after this step. One should update these two files and add "<file>" entities to each.
+
At the start of the manifest file, you will need to change the ''released'' attribute to ''true''. 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: "html/log/release-1.10.0.xml".
+
Here is a template of the entities you are likely to need to add to: "html/log/release-2.15.0.xml".
  
 
     <file id="vm">
 
     <file id="vm">

Revision as of 21:14, 25 January 2011

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-2.13.0-1715.xml
[root@nst-dev-32 manifest]# svn add release-2.13.0-1715.xml

Edit File Information

At the start of the manifest file, you will need to change the released attribute to true. 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: "html/log/release-2.15.0.xml".

   <file id="vm">
     <name>nst-vm-2.11.0.zip</name>
     <label>VMware Image</label>
     <md5>3fe1d720493ec0b9b2946f02f5ce2a6a</md5>
   </file>

   <file id="nst-docs">
     <name>nst-docs-2.11.0.tar.gz</name>
     <label>HTML Documentation</label>
     <md5>4eb72c56f7a1c9a74e2f1c4f2d97f264</md5>
   </file>

   <file id="nst-pdfs">
     <name>nst-pdfs-2.11.0.tar.gz</name>
     <label>PDF Documentation</label>
     <md5>d97de158873b6af7dd6ed6138ee1bdff</md5>
   </file>

   <file id="vm-livecd">
     <name>nst-vm-live-2.11.0.i586.zip</name>
     <label>VMware ISO Boot</label>
     <md5>71da09625d72dbb13cc8dca6bd9733ca</md5>
   </file>

   <file id="iso-minimal">
     <name>nst-minimal-2.11.0.i586.iso</name>
     <label>ISO</label>
     <md5>397d5cb56077fcbf48f1a1f5800dd498</md5>
   </file>

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.