release-notes/xmlbeats to-do-fc5-errata-notes.txt, 1.2, 1.3 wikixml2fdpxml, 1.4, 1.5 xmlbeats, 1.4, 1.5

Karsten Wade (kwade) fedora-docs-commits at redhat.com
Wed May 10 13:43:57 UTC 2006


Author: kwade

Update of /cvs/docs/release-notes/xmlbeats
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2483/xmlbeats

Modified Files:
	to-do-fc5-errata-notes.txt wikixml2fdpxml xmlbeats 
Log Message:
Small problems not cleaned up before caused the build to break; works fine now; going to tag this and push it as a replacement for the FC5 errata notes.


Index: to-do-fc5-errata-notes.txt
===================================================================
RCS file: /cvs/docs/release-notes/xmlbeats/to-do-fc5-errata-notes.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- to-do-fc5-errata-notes.txt	12 Apr 2006 13:01:49 -0000	1.2
+++ to-do-fc5-errata-notes.txt	10 May 2006 13:43:55 -0000	1.3
@@ -26,6 +26,13 @@
 7. Watch for over sub-sectioning
    - have to build to notice?
 
+8. When done, grep all XML files for:
+   grep "code> ," *xml
+   grep "code> ." *xml
+   grep "Core  " *xml
+   grep "Core ." *xml
+   grep "Core ," *xml
+
 ## non-essential
 
 8. Figure out how to have a @@RELNAME@@ variable.


Index: wikixml2fdpxml
===================================================================
RCS file: /cvs/docs/release-notes/xmlbeats/wikixml2fdpxml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- wikixml2fdpxml	28 Feb 2006 23:33:49 -0000	1.4
+++ wikixml2fdpxml	10 May 2006 13:43:55 -0000	1.5
@@ -7,24 +7,24 @@
 # kwade at redhat.com
 
 # Manually rename some files to include their wiki namespace
-echo "Renaming Wiki files."
-mv Beats/PPC.xml Beats/ArchSpecificPPC.xml
-mv Beats/x86_64.xml Beats/ArchSpecificx86_64.xml
-mv Beats/x86.xml Beats/ArchSpecificx86.xml
-mv Beats/GCC.xml Beats/DevelToolsGCC.xml
-mv Beats/SELinux.xml Beats/SecuritySELinux.xml
-echo "Finished renaming files."
+#echo "Renaming Wiki files."
+#mv Beats/PPC.xml Beats/ArchSpecificPPC.xml
+#mv Beats/x86_64.xml Beats/ArchSpecificx86_64.xml
+#mv Beats/x86.xml Beats/ArchSpecificx86.xml
+#mv Beats/GCC.xml Beats/DevelToolsGCC.xml
+#mv Beats/SELinux.xml Beats/SecuritySELinux.xml
+#echo "Finished renaming files."
 
 # Fix the DocType header from bad Wiki output
-ls Beats/ > xmlfiles
-for i in `cat xmlfiles`;
-do
-  sed s'/DocBook V4\.4/DocBook XML V4\.4/g' Beats/$i > tmpfile;
-  mv tmpfile Beats/$i;
-  echo "DOCTYPE header fixed for" $i
-done
-rm xmlfiles
-echo "Done"
+#ls Beats/ > xmlfiles
+#for i in `cat xmlfiles`;
+#do
+#  sed s'/DocBook V4\.4/DocBook XML V4\.4/g' Beats/$i > tmpfile;
+#  mv tmpfile Beats/$i;
+#  echo "DOCTYPE header fixed for" $i
+#done
+#rm xmlfiles
+#echo "Done"
 
 
 # Add the base language extension to the files
@@ -61,11 +61,11 @@
 # First version kwade at redhat.com 2006-01-04 -- 0.1
 
 # Variables
-XMLDIFF="../../docs-common/bin/xmldiff"
-XMLDIFF_OPTIONS="-p" # colored unified diff
-BEATPATH="./Beats"
-DBPATH=".."
-FILEEXT="*xml"
+#XMLDIFF="../../docs-common/bin/xmldiff"
+#XMLDIFF_OPTIONS="-p" # colored unified diff
+#BEATPATH="./Beats"
+#DBPATH=".."
+#FILEEXT="*xml"
 
 # Actions
 # Run xmldiff against the beat and canonical XML
@@ -75,3 +75,16 @@
 
 # Move the XML to the build directory
 # mv Beats/*.xml ../
+
+# Fix section names for the top-level
+for i in `ls *.xml`;
+  do
+  echo $i | sed 's/\.xml//' > snID;
+  echo "Section name sn-"`cat snID`" for "`echo $i`;
+  sed 's/  <\/articleinfo>\n
+  <section>/  <\/articleinfo>
+  <section id="`cat snID`">/' $i > tmpfile;
+  mv tmpfile $i;
+  echo $i" has a new section id";
+done
+


Index: xmlbeats
===================================================================
RCS file: /cvs/docs/release-notes/xmlbeats/xmlbeats,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xmlbeats	6 Apr 2006 06:10:43 -0000	1.4
+++ xmlbeats	10 May 2006 13:43:55 -0000	1.5
@@ -14,6 +14,8 @@
 	echo -en "\"${PAGENAME}\" => \"${PAGEOUT}\"..."
 	wget -q "${CONVERTERURL}?submit=submit&url=${WIKIURL}${PAGEENCODED}%3Faction=raw" -O "${PAGEOUT}"
 	sed -i 's/DocBook V4\.4/DocBook XML V4\.4/g' "${PAGEOUT}"
+        xmlformat -f ../../docs-common/bin/xmlformat-fdp.conf $i > tmpfile
+        mv tmpfile $i
 	echo -en " done.\n"
 done
 




More information about the Fedora-docs-commits mailing list