Accepting request 298732 from GNOME:Factory

- 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/request/show/298732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzypp-plugin-appdata?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2015-04-25 14:47:04 +00:00 committed by Git OBS Bridge
commit c921a6c90a
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