gnucash-docs master: Drop obsolete log formatter for svn logs
Geert Janssens
gjanssens at code.gnucash.org
Sun Jul 5 16:13:13 EDT 2020
Updated via https://github.com/Gnucash/gnucash-docs/commit/8eee199b (commit)
from https://github.com/Gnucash/gnucash-docs/commit/ffd39cd4 (commit)
commit 8eee199bc5d95d02161c8a60f49f803cbfaa6dbc
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sun Jul 5 22:13:05 2020 +0200
Drop obsolete log formatter for svn logs
We have long since moved on to git
diff --git a/util/svnlog2ul/getlastcommit.xslt b/util/svnlog2ul/getlastcommit.xslt
deleted file mode 100644
index ec37f19..0000000
--- a/util/svnlog2ul/getlastcommit.xslt
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!DOCTYPE xsl:stylesheet [
- <!ENTITY tab " ">
- <!ENTITY newl "
">
- <!ENTITY space " ">
-]>
-
-<xsl:stylesheet
- version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- >
-
- <xsl:output
- method="text"
- encoding="utf-8"
- media-type="text/plain"
- omit-xml-declaration="yes"
- standalone="yes"
- indent="no" />
-
- <xsl:template match="/">
- <xsl:value-of select="info/entry/commit/attribute::revision" />
- </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
diff --git a/util/svnlog2ul/log2ul.xslt b/util/svnlog2ul/log2ul.xslt
deleted file mode 100644
index 3e35f3f..0000000
--- a/util/svnlog2ul/log2ul.xslt
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!DOCTYPE xsl:stylesheet [
- <!ENTITY tab " ">
- <!ENTITY newl "
">
- <!ENTITY space " ">
-]>
-
-<xsl:stylesheet
- version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- >
- <xsl:output method="xml"
- doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
- doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
- indent="yes"/>
-
- <xsl:template match="/">
-<html>
-<head>
-</head>
-<body>
- <ul>
- <xsl:apply-templates/>
- </ul>
-</body>
-</html>
- </xsl:template>
-
- <xsl:template match="logentry">
-<li>
-<xsl:value-of select="msg" />
-</li>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/util/svnlog2ul/svnlog2ul.sh b/util/svnlog2ul/svnlog2ul.sh
deleted file mode 100755
index 3529511..0000000
--- a/util/svnlog2ul/svnlog2ul.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#! /bin/bash
-#
-# svnlog2ul.sh <prevrelease> <newrelease>
-#
-# This script will extract all the svn commit messages from the
-# repository between two releases or from a previous release and the
-# current checkout's HEAD.
-# The result will be printed on standard out as a
-# html unordered list ("bulleted list").
-#
-# Parameters:
-#
-# <prevrelease> : the svn tag for the release to start
-# the commit message search
-# <newrelease> : the svn tag for the release to end
-# the commit message search
-#
-# The search will return all commit messages between
-# <prevrelease> and <newrelease>
-#
-# Examples:
-# This will compile the changes between two tagged releases:
-# svnlog2ul.sh 2.3.7 2.3.8
-# This will compile the changes between the tagged release and the
-# current HEAD in checked out working copy:
-# svnlog2ul.sh 2.4.7
-
-oldrelease=$1
-newrelease=$2
-
-dir=`dirname "$0"`
-
-oldrev=$(svn info --xml http://svn.gnucash.org/repo/gnucash-docs/tags/$oldrelease | xsltproc "$dir/getlastcommit.xslt" -)
-if [ "x$2" == "x" ]
-then
- newrev=$(svn info -r HEAD --xml | xsltproc "$dir/getlastcommit.xslt" -)
- svn log -r$newrev:$oldrev --xml | xsltproc "$dir/log2ul.xslt" -
-else
- newrev=$(svn info --xml http://svn.gnucash.org/repo/gnucash-docs/tags/$newrelease | xsltproc "$dir/getlastcommit.xslt" -)
- svn log -r$newrev:$oldrev --xml http://svn.gnucash.org/repo/gnucash-docs/tags/$newrelease | xsltproc "$dir/log2ul.xslt" -
-fi
-
Summary of changes:
util/svnlog2ul/getlastcommit.xslt | 25 -----------------------
util/svnlog2ul/log2ul.xslt | 35 --------------------------------
util/svnlog2ul/svnlog2ul.sh | 42 ---------------------------------------
3 files changed, 102 deletions(-)
delete mode 100644 util/svnlog2ul/getlastcommit.xslt
delete mode 100644 util/svnlog2ul/log2ul.xslt
delete mode 100755 util/svnlog2ul/svnlog2ul.sh
More information about the gnucash-changes
mailing list