On Friday 07 September 2007, Robin H. Johnson wrote: > On Fri, Sep 07, 2007 at 02:44:21PM -0400, Mike Frysinger wrote: > > > X-VCS-Repository: gentoo-x86 > > > X-VCS-Files: udev-115-r2.ebuild > > > X-VCS-Directories: sys-fs/udev > > > X-VCS-Committer: zzam > > > X-VCS-Committer-Name: Matthias Schwarzott,,, > > > > too bad we cant get herd/maintainer from metadata.xml :( > > Give me a service or something that can take a $CAT/$PN -> that data, > and I can include it in the headers for you.
maybe someone knows of an easier way ... $ xsltproc gentoo-metadata-herds.xsl /path/to/metadata.xml base-system someherds $ xsltproc gentoo-metadata-maintainers.xsl /path/to/metadata.xml [EMAIL PROTECTED] [EMAIL PROTECTED] -mike
signature.asc
Description: This is a digitally signed message part.
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="text" indent="no" encoding="UTF-8"/> <xsl:strip-space elements="*"/> <xsl:template match="pkgmetadata"> <xsl:apply-templates select="maintainer/email"/> </xsl:template> <xsl:template match="maintainer/email"> <xsl:value-of select="concat(normalize-space(.),' ')"/> </xsl:template> </xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="text" indent="no" encoding="UTF-8"/> <xsl:strip-space elements="*"/> <xsl:template match="pkgmetadata"> <xsl:apply-templates select="herd"/> </xsl:template> <xsl:template match="herd"> <xsl:value-of select="concat(normalize-space(.),' ')"/> </xsl:template> </xsl:stylesheet>
