From 866cfb97a481d87ce997579a22d430d6e2d6e4b8 Mon Sep 17 00:00:00 2001 From: Zuzana Miklankova Date: Mon, 8 Nov 2021 15:16:07 +0100 Subject: [PATCH] Add ignorefiles for xmllint rpminspect check based on https://lists.launchpad.net/maria-discuss/msg06133.html discussion are all the invalid xmls (except for Index.xml) present in the sources on purpose and the xmllint check can be thus disabled in the CI process. All of xmlfiles, whose warnings are being supressed with this commit are being used for testing. A bug report [https://jira.mariadb.org/browse/MDEV-26905] was created 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 ] Replace xmllint shutdown with ignoring specific xmls in the xml check --- rpminspect.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 rpminspect.yaml diff --git a/rpminspect.yaml b/rpminspect.yaml new file mode 100644 index 0000000..30a9790 --- /dev/null +++ b/rpminspect.yaml @@ -0,0 +1,17 @@ +# based on https://lists.launchpad.net/maria-discuss/msg06133.html discussion +# 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. +# +# 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] +# +xml: + ignore: + - /usr/share/mysql-test/std_data/loadxml.dat + - /usr/share/mysql-test/std_data/loaddata/mdev9874.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