The coupling of validation and list-images-missing obscures image errors #30
Labels
cat-bug
Something is broken
topic-action
Related to individual GitHub actions from `gha-...` branches of this repo
gha-select-dcs
'slist-validate
mode optimizes the list of documents to validate within a repo, so we validate as few times as possible. That optimization is correct fordaps validate
itself, as the actual XML validation validates all parts of the current MAIN irrespective of the ROOTID.The optimization is not correct for
daps list-images-missing
. That target only checks for images needed to build the current document (i.e. within the scope of the current ROOTID). By and large, results will still be correct as long as we're preferring validation with DC-*-all files (which have no ROOTID). Results will not be correct though forl10n
dirs indoc-sle
for languages where:As an example, the broken state of SUSE/doc-sle@15f3b214 gives an a-OK result if you run list-images-missing with the wrong DC file:
I am not sure whether it makes sense to broaden the scope of
list-images-missing
(orvalidate --validate-images
) so it matches the scope ofvalidate
itself. (However,--validate-ids
does match the scope ofvalidate
itself, so I guess there's precedent.)The text was updated successfully, but these errors were encountered: