No longer produce the html files

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2015-11-17 17:07:22 +00:00 committed by Git OBS Bridge
parent d9c6280089
commit 4d847ca07f
2 changed files with 25 additions and 12 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Nov 17 17:04:18 UTC 2015 - dimstar@opensuse.org
- openSUSE-appstream-process: Do not produce html files;
the biggest chunks of apps are done and the few users still
caring can produce them anytime out of the provided .xml.gz
files.
-------------------------------------------------------------------
Sat Nov 7 14:00:47 UTC 2015 - zaitor@opensuse.org

View File

@ -3,6 +3,9 @@
SRC=$1
DEST=$2
URL=https://static.opensuse.org/appstream/tumbleweed
# Do not produce the html files - the biggest tasks are done
# Users interested in them can always produce them locally out of the appdata.xml.gz file
HTMLOUT=no
/usr/bin/appstream-builder \
--enable-hidpi \
@ -22,18 +25,20 @@ URL=https://static.opensuse.org/appstream/tumbleweed
# /usr/share/app-screenshots \
# /tmp/apb-screenshots
/usr/bin/appstream-util \
status-html \
${DEST}/appdata.xml.gz \
${DEST}/appdata.html
if [ "$HTMLOUT" = "yes" ]; then
/usr/bin/appstream-util \
status-html \
${DEST}/appdata.xml.gz \
${DEST}/appdata.html
# compress the HTML file (boo#942985)
xz -9 ${DEST}/appdata.html
# compress the HTML file (boo#942985)
xz -9 ${DEST}/appdata.html
/usr/bin/appstream-util \
status-html \
${DEST}/appdata-failed.xml.gz \
${DEST}/appdata-failed.html
/usr/bin/appstream-util \
status-html \
${DEST}/appdata-failed.xml.gz \
${DEST}/appdata-failed.html
# compress the HTML file (boo#942985)
xz -9 ${DEST}/appdata-failed.html
# compress the HTML file (boo#942985)
xz -9 ${DEST}/appdata-failed.html
fi