[jhbuild/release-team-commands] add master tracking xsl transformation file
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild/release-team-commands] add master tracking xsl transformation file
- Date: Mon, 4 May 2009 06:49:59 -0400 (EDT)
commit 16eaa4699f365e28f24cb69cac6adeb522b66098
Author: Frederic Peters <fpeters 0d be>
Date: Mon May 4 12:46:48 2009 +0200
add master tracking xsl transformation file
---
scripts/create-master-tracking-moduleset.sh | 4 ++--
scripts/create-master-tracking-moduleset.xsl | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/scripts/create-master-tracking-moduleset.sh b/scripts/create-master-tracking-moduleset.sh
index f242479..2a7c6a8 100755
--- a/scripts/create-master-tracking-moduleset.sh
+++ b/scripts/create-master-tracking-moduleset.sh
@@ -1,10 +1,10 @@
#! /bin/sh
-xsltproc --nodtdattr scripts/set-to-trunk.xsl \
+xsltproc --nodtdattr scripts/create-master-tracking-moduleset.xsl \
modulesets/gnome-suites-2.28.modules > \
modulesets/gnome-suites-trunk.modules
-xsltproc --nodtdattr scripts/set-to-trunk.xsl \
+xsltproc --nodtdattr scripts/create-master-tracking-moduleset.xsl \
modulesets/gnome-2.28.modules > \
modulesets/gnome-trunk.modules
diff --git a/scripts/create-master-tracking-moduleset.xsl b/scripts/create-master-tracking-moduleset.xsl
new file mode 100644
index 0000000..083cdb4
--- /dev/null
+++ b/scripts/create-master-tracking-moduleset.xsl
@@ -0,0 +1,18 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:template match="branch[not(@repo) and @revision]">
+ <branch />
+ </xsl:template>
+
+ <xsl:template match="include[ href = 'gnome-suites-2.26.modules']">
+ <include href="gnome-suites-trunk.modules"/>
+ </xsl:template>
+
+ <xsl:template match="node()|@*">
+ <xsl:copy>
+ <xsl:apply-templates select="node()|@*"/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]