Accepting request 428684 from GNOME:Next
- Update openSUSE-appstream-process: do not rename the various appstream files to contain the sha hash in their filename: zypp is not (yet) able to cope with this (boo#999047). OBS-URL: https://build.opensuse.org/request/show/428684 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=83
This commit is contained in:
parent
42c56c5082
commit
c2d41c308b
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 19 12:44:38 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update openSUSE-appstream-process: do not rename the various
|
||||||
|
appstream files to contain the sha hash in their filename: zypp
|
||||||
|
is not (yet) able to cope with this (boo#999047).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Sep 11 09:50:57 UTC 2016 - zaitor@opensuse.org
|
Sun Sep 11 09:50:57 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@ URL=https://static.opensuse.org/appstream/tumbleweed
|
|||||||
# Do not produce the html files - the biggest tasks are done
|
# 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
|
# Users interested in them can always produce them locally out of the appdata.xml.gz file
|
||||||
HTMLOUT=no
|
HTMLOUT=no
|
||||||
|
HASHED_NAMES=no
|
||||||
|
|
||||||
TMPDIR=$(mktemp -d)
|
TMPDIR=$(mktemp -d)
|
||||||
|
|
||||||
@ -46,6 +47,8 @@ if [ "$HTMLOUT" = "yes" ]; then
|
|||||||
xz -9 ${DEST}/appdata-failed.html
|
xz -9 ${DEST}/appdata-failed.html
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ "$HASHED_NAMES" = "yes" ]; then
|
||||||
# rename the appdata-icons.tar.gz tarball to something like
|
# rename the appdata-icons.tar.gz tarball to something like
|
||||||
# appdata-icons-${hash}.tar.gz, allowing mirrorbrain to send users
|
# appdata-icons-${hash}.tar.gz, allowing mirrorbrain to send users
|
||||||
# off to a mirror to catch the file, improving performance
|
# off to a mirror to catch the file, improving performance
|
||||||
@ -59,3 +62,4 @@ mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz
|
|||||||
# And the same for the -screenshots tarball (containing auto-generated screenshots for fonts)
|
# And the same for the -screenshots tarball (containing auto-generated screenshots for fonts)
|
||||||
read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-screenshots.tar)
|
read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-screenshots.tar)
|
||||||
mv ${DEST}/appdata-screenshots.tar ${DEST}/appdata-screenshots-${md5}.tar
|
mv ${DEST}/appdata-screenshots.tar ${DEST}/appdata-screenshots-${md5}.tar
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user