summary: Warn on missing packages during typesetting
This restores the previous behavior (from before a couple commits ago), but adds a warning. We have a GitLab pipeline internally where we break apart certain directories into separate jobs to parallelize them. There is a bug relating to build and retaining artifacts for rate tables that only manifests itself for Summary Pages, and that needs to be resolved before this is removed. DEV-15153main
parent
2770ee95ed
commit
bbe775d870
|
@ -167,9 +167,18 @@
|
||||||
<xsl:text>...</xsl:text>
|
<xsl:text>...</xsl:text>
|
||||||
</xsl:message>
|
</xsl:message>
|
||||||
|
|
||||||
<xsl:variable name="pkg" as="element()"
|
<xsl:variable name="pkg"
|
||||||
select="document( concat( @src, '.xmlo' ), . )/lv:*" />
|
select="document( concat( @src, '.xmlo' ), . )/lv:*" />
|
||||||
|
|
||||||
|
<!-- TODO: We ought to just put @as on the variable above, once any
|
||||||
|
bugs relating to missing build artifacts are resolved in
|
||||||
|
build pipelines -->
|
||||||
|
<xsl:if test="not( $pkg )">
|
||||||
|
<xsl:message select="concat(
|
||||||
|
'[summary] warning: missing package: ',
|
||||||
|
@src )" />
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:apply-templates select="$pkg/lv:*" />
|
<xsl:apply-templates select="$pkg/lv:*" />
|
||||||
</xsl:for-each-group>
|
</xsl:for-each-group>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue