From 119ed62f4f872ea0232b59c95c9ba6a9bbb1730a Mon Sep 17 00:00:00 2001 From: Zuzana Miklankova Date: Wed, 12 Jan 2022 08:49:06 +0100 Subject: [PATCH] Whitelisting file Index.xml from rpminspect xml check Reason is, that the bug is already reported on upstream: https://jira.mariadb.org/browse/MDEV-26905. Also we currently do not know how to fix it. If we eventually figure out how to fix this bug, then the patch would be submitted directly to the upstream, rather than to downstream, to avoid unintentionally breaking some code that relied on the malformed XML. --- rpminspect.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/rpminspect.yaml b/rpminspect.yaml index 9e84eeb..e8e8bf7 100644 --- a/rpminspect.yaml +++ b/rpminspect.yaml @@ -2,10 +2,12 @@ # are the invalid xmls (except for Index.xml) present in the sources on purpose # and they can be removed from xmllint rpminspect check in the CI process. # -# A bug report [https://jira.mariadb.org/browse/MDEV-26905] was created for the -# Index.xml file. +# A bug report [https://jira.mariadb.org/browse/MDEV-26905] was created in the upstream +# for the Index.xml file. +# +# Fedora CI picks up the rpmlimspect.yaml for specific package in the dist-git repo +#[ref: https://rpminspect.readthedocs.io/en/latest/configuration.html#rpminspect-yaml] # -# CI picks up the rpmlimspect.yaml for specific package in the dist-git repo. xml: ignore: - /usr/share/mysql-test/std_data/loadxml.dat @@ -13,10 +15,11 @@ xml: - /usr/share/mysql-test/std_data/ldml/Index.xml - /usr/share/mysql-test/plugin/sphinx/sphinx/testdata.xml - /usr/share/mysql-test/plugin/connect/connect/std_data/nocs.xml + - /usr/share/mariadb/charsets/Index.xml # ignore bad functions in resolveip binary, based on BZ1973194 # all forbidden functions listed in main rpminspect config -# have to be mentioned also here, else it would not be checked for them +# have to be menioned also here, else it would not be checked for them badfuncs: - gethostbyname - gethostbyname2