[PATCH] docs: removed old changelog file, as it is no longer relevant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We instead point to the live git log URL for the few links still
needing to point to something.
---
 docs/ChangeLog.awk   |   49 -------------------------------------------------
 docs/ChangeLog.xsl   |   37 -------------------------------------
 docs/Makefile.am     |   13 +------------
 docs/news.html.in    |    2 +-
 docs/sitemap.html.in |    2 +-
 5 files changed, 3 insertions(+), 100 deletions(-)
 delete mode 100755 docs/ChangeLog.awk
 delete mode 100644 docs/ChangeLog.xsl

diff --git a/docs/ChangeLog.awk b/docs/ChangeLog.awk
deleted file mode 100755
index d9d92fc..0000000
--- a/docs/ChangeLog.awk
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/awk -f
-function translate(str) {
-    while (sub(/&/, "#amp;", str) == 1);
-    while (sub(/#amp;/, "\\&", str) == 1); # fun isn't it ?
-    while (sub(/</, "\\&lt;", str) == 1);
-    while (sub(/>/, "\\&gt;", str) == 1);
-    sub(/[0-9][0-9][0-9][0-9][0-9]+/, "<bug number='&'/>", str)
-    return(str)
-}
-BEGIN         {
-		nb_entry = 0
-                in_entry = 0
-                in_item = 0
-		print "<?xml version='1.0' encoding='ISO-8859-1'?>"
-		print "<log>"
-	      }
-END           {
-                if (in_item == 1)  printf("%s</item>\n", translate(item))
-                if (in_entry == 1) print "  </entry>"
-                print "</log>"
-	      }
-/^[ \t]*$/    { next }
-/^[A-Za-z0-9]/ {
-                match($0, "\(.*\) \([A-Z]+\) \([0-9][0-9][0-9][0-9]\) \(.*\) <\(.*\)>", loge)
-                if (in_item == 1)  printf("%s</item>\n", translate(item))
-                if (in_entry == 1) print "  </entry>"
-		nb_entry = nb_entry + 1
-		if (nb_entry > 50) {
-		    in_entry = 0
-		    in_item = 0
-		    exit
-		}
-                in_entry = 1
-                in_item = 0
-		printf("  <entry date='%s' timezone='%s' year='%s'\n         who='%s' email='%s'>\n", loge[1], loge[2], loge[3], loge[4], loge[5])
-	      }
-/^[ \t]*\*/   {
-                if (in_item == 1)  printf("%s</item>\n", translate(item))
-                in_item = 1
-		printf("    <item>")
-                match($0, "[ \t]*. *\(.*\)", loge)
-		item = loge[1]
-              }
-/^[ \t]*[a-zA-Z0-9\#]/    {
-                if (in_item == 1) {
-		    match($0, "[ \t]*\(.*\)[ \t]*", loge)
-		    item = sprintf("%s %s",  item, loge[1])
-		}
-              }
diff --git a/docs/ChangeLog.xsl b/docs/ChangeLog.xsl
deleted file mode 100644
index f2c6816..0000000
--- a/docs/ChangeLog.xsl
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<!-- this stylesheet builds the ChangeLog.html -->
-<xsl:stylesheet version="1.0"
-  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
-
-  <!-- Generate XHTML-1.0 transitional -->
-  <xsl:output method="xml" encoding="UTF-8" indent="yes"
-      doctype-public="-//W3C//DTD XHTML 1.0//EN"
-      doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
-
-  <xsl:template match="item">
-    <li><xsl:apply-templates/></li>
-  </xsl:template>
-
-  <xsl:template match="entry">
-    <p>
-      <span class="author"><xsl:value-of select="@who"/> </span>
-      <span class="date"><xsl:value-of select="@date"/> </span>
-      <span class="timezone"><xsl:value-of select="@timezone"/> </span>
-    </p>
-    <ul>
-      <xsl:apply-templates select="item"/>
-    </ul>
-  </xsl:template>
-
-  <xsl:template match="log">
-    <html>
-      <body>
-        <h1>Log of recent changes to libvirt</h1>
-        <div id="changelog">
-          <xsl:apply-templates select="entry"/>
-        </div>
-      </body>
-    </html>
-  </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 13ab0c2..ae13c46 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -73,13 +73,12 @@ fig = \
 
 EXTRA_DIST=					\
   apibuild.py \
-  site.xsl newapi.xsl news.xsl page.xsl ChangeLog.xsl \
+  site.xsl newapi.xsl news.xsl page.xsl \
   $(dot_html) $(dot_html_in) $(gif) $(apihtml) $(apipng) \
   $(devhelphtml) $(devhelppng) $(devhelpcss) $(devhelpxsl) \
   $(xml) $(fig) $(png) \
   $(patches) \
   sitemap.html.in \
-  ChangeLog.awk \
   todo.pl todo.cfg-example
 
 MAINTAINERCLEANFILES = $(dot_html) $(apihtml) $(devhelphtml)
@@ -90,16 +89,6 @@ api: libvirt-api.xml libvirt-refs.xml
 
 web: $(dot_html) html/index.html devhelp/index.html
 
-ChangeLog.xml: ../ChangeLog ChangeLog.awk
-	$(AWK) -f ChangeLog.awk < $< > $@
-
-ChangeLog.html.in: ChangeLog.xml ChangeLog.xsl
-	@if [ -x $(XSLTPROC) ] ; then \
-	  echo "Generating $@"; \
-	  name=`echo $@ | sed -e 's/.tmp//'`; \
-	  $(XSLTPROC) --nonet $(top_srcdir)/docs/ChangeLog.xsl $< > $@ \
-	    || { rm $@ && exit 1; }; fi
-
 todo.html.in: todo.pl
 	if [ -f  todo.cfg ]; then \
 		echo "Generating $@"; \
diff --git a/docs/news.html.in b/docs/news.html.in
index 4a9329d..bbf1e8b 100644
--- a/docs/news.html.in
+++ b/docs/news.html.in
@@ -6,7 +6,7 @@
   <body>
     <h1 >Releases</h1>
     <p>Here is the list of official releases, it is also possible to just use the <a href="downloads.html">GIT version or snapshot</a>, contact the mailing list
-and check the <a href="ChangeLog.html">ChangeLog</a> to gauge progress.</p>
+and check the <a href="http://libvirt.org/git/?p=libvirt.git;a=log";>GIT log</a> to gauge progress.</p>
     <h3>0.8.4: Sep 10 2010</h3>
     <ul>
       <li> Features:
diff --git a/docs/sitemap.html.in b/docs/sitemap.html.in
index 5f46b59..f09b2c0 100644
--- a/docs/sitemap.html.in
+++ b/docs/sitemap.html.in
@@ -13,7 +13,7 @@
         <span>Details of new features and bugs fixed in each release</span>
         <ul>
           <li>
-            <a href="ChangeLog.html">Changelog</a>
+            <a href="http://libvirt.org/git/?p=libvirt.git;a=log";>Git log</a>
             <span>Latest commit messages from the source repository </span>
           </li>
         </ul>
-- 
1.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]