- No need to validate appdata.xml.gz in a yast2 repo: those are

created by kiwi, which in turn spanws appstream-builder: we can
  trust that it creates valid enough metadata.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libzypp-plugin-appdata?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2015-04-23 07:24:00 +00:00 committed by Git OBS Bridge
parent 4af1536de4
commit 9a6e36d6e3
2 changed files with 10 additions and 2 deletions

View File

@ -40,9 +40,10 @@ while ([ "$1" = "-R" ]); do
fi
;;
yast2)
if appstream-util validate-relax --nonet "$6$YAST2/appdata.xml.gz" 2>&1 > /dev/null; then
# We do not validate an appdata.xml.gz in a yast2 repo: those are created by appstream-builder, and we can trust them
#if appstream-util validate-relax --nonet "$6$YAST2/appdata.xml.gz" 2>&1 > /dev/null; then
appstream-util install-origin "$2" "$6$YAST2/appdata.xml.gz" "$6$YAST2/appdata-icons.tar.gz" 2>&1 > /dev/null
fi
#fi
;;
*)
echo "unknown repo type - Appstream data not considered"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Apr 23 07:23:16 UTC 2015 - dimstar@opensuse.org
- No need to validate appdata.xml.gz in a yast2 repo: those are
created by kiwi, which in turn spanws appstream-builder: we can
trust that it creates valid enough metadata.
-------------------------------------------------------------------
Tue Apr 7 11:42:52 UTC 2015 - dimstar@opensuse.org