mirror of
https://salsa.debian.org/debian/debian-reference.git
synced 2026-01-16 23:14:19 +00:00
Use tracker.debian.org
Signed-off-by: Osamu Aoki <osamu@debian.org>
This commit is contained in:
parent
2b558f4df9
commit
e060b44c64
2 changed files with 3 additions and 21 deletions
|
|
@ -35,7 +35,7 @@ while read X ; do
|
|||
echo "<!ENTITY size-${PKG} \"NOT_FOUND\">"
|
||||
echo "" >&2
|
||||
echo "... ERROR ...: $X, probably a removed or non-amd64 package." >&2
|
||||
echo ".............: See http://packages.qa.debian.org/common/index.html" >&2
|
||||
echo ".............: See https://tracker.debian.org/" >&2
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
|
|||
|
|
@ -78,16 +78,7 @@ Process raw XML file:
|
|||
<xsl:when test="contains(., '@-@psize1@-@')">
|
||||
<!-- column 3 is size -->
|
||||
<xsl:copy>
|
||||
<xsl:choose>
|
||||
<xsl:when test="starts-with(normalize-space(../entry[1]), 'lib')">
|
||||
<!-- library -->
|
||||
<xsl:text disable-output-escaping="yes"><ulink url="http://packages.qa.debian.org/</xsl:text><xsl:value-of select='normalize-space(concat(substring(normalize-space(../entry[1]), 1, 4), "/", normalize-space(../entry[1])))'/><xsl:text disable-output-escaping="yes">.html">@-@amp@-@size-</xsl:text><xsl:value-of select="translate( normalize-space(../entry[1]), $uletters, $lletters)"/><xsl:text disable-output-escaping="yes">;</ulink></xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<!-- non-library -->
|
||||
<xsl:text disable-output-escaping="yes"><ulink url="http://packages.qa.debian.org/</xsl:text><xsl:value-of select='normalize-space(concat(substring(normalize-space(../entry[1]), 1, 1), "/", normalize-space(../entry[1])))'/><xsl:text disable-output-escaping="yes">.html">@-@amp@-@size-</xsl:text><xsl:value-of select="translate( normalize-space(../entry[1]), $uletters, $lletters)"/><xsl:text disable-output-escaping="yes">;</ulink></xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text disable-output-escaping="yes"><ulink url="https://tracker.debian.org/pkg/</xsl:text><xsl:value-of select='normalize-space(../entry[1])'/><xsl:text disable-output-escaping="yes">">@-@amp@-@size-</xsl:text><xsl:value-of select="translate( normalize-space(../entry[1]), $uletters, $lletters)"/><xsl:text disable-output-escaping="yes">;</ulink></xsl:text>
|
||||
</xsl:copy>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
|
@ -104,16 +95,7 @@ Process raw XML file:
|
|||
<xsl:when test="contains(., '@-@psize2@-@')">
|
||||
<!-- column 4 is size -->
|
||||
<xsl:copy>
|
||||
<xsl:choose>
|
||||
<xsl:when test="starts-with(normalize-space(../entry[2]), 'lib')">
|
||||
<!-- library -->
|
||||
<xsl:text disable-output-escaping="yes"><ulink url="http://packages.qa.debian.org/</xsl:text><xsl:value-of select='normalize-space(concat(substring(normalize-space(../entry[2]), 1, 4), "/", normalize-space(../entry[2])))'/><xsl:text disable-output-escaping="yes">.html">@-@amp@-@size-</xsl:text><xsl:value-of select="translate( normalize-space(../entry[2]), $uletters, $lletters)"/><xsl:text disable-output-escaping="yes">;</ulink></xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<!-- non-library -->
|
||||
<xsl:text disable-output-escaping="yes"><ulink url="http://packages.qa.debian.org/</xsl:text><xsl:value-of select='normalize-space(concat(substring(normalize-space(../entry[2]), 1, 1), "/", normalize-space(../entry[2])))'/><xsl:text disable-output-escaping="yes">.html">@-@amp@-@size-</xsl:text><xsl:value-of select="translate( normalize-space(../entry[2]), $uletters, $lletters)"/><xsl:text disable-output-escaping="yes">;</ulink></xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:text disable-output-escaping="yes"><ulink url="https://tracker.debian.org/pkg/</xsl:text><xsl:value-of select='normalize-space(../entry[1])'/><xsl:text disable-output-escaping="yes">">@-@amp@-@size-</xsl:text><xsl:value-of select="translate( normalize-space(../entry[1]), $uletters, $lletters)"/><xsl:text disable-output-escaping="yes">;</ulink></xsl:text>
|
||||
</xsl:copy>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue