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
|
||||
|
||||
|
@ -6,6 +6,7 @@ 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
|
||||
HASHED_NAMES=no
|
||||
|
||||
TMPDIR=$(mktemp -d)
|
||||
|
||||
@ -46,16 +47,19 @@ if [ "$HTMLOUT" = "yes" ]; then
|
||||
xz -9 ${DEST}/appdata-failed.html
|
||||
fi
|
||||
|
||||
# rename the appdata-icons.tar.gz tarball to something like
|
||||
# appdata-icons-${hash}.tar.gz, allowing mirrorbrain to send users
|
||||
# off to a mirror to catch the file, improving performance
|
||||
read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-icons.tar.gz)
|
||||
mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz
|
||||
|
||||
# also rename the appdata.xml.gz file in the same style
|
||||
read md5 fn_catchall <<<$(md5sum ${DEST}/appdata.xml.gz)
|
||||
mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz
|
||||
if [ "$HASHED_NAMES" = "yes" ]; then
|
||||
# rename the appdata-icons.tar.gz tarball to something like
|
||||
# appdata-icons-${hash}.tar.gz, allowing mirrorbrain to send users
|
||||
# off to a mirror to catch the file, improving performance
|
||||
read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-icons.tar.gz)
|
||||
mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz
|
||||
|
||||
# And the same for the -screenshots tarball (containing auto-generated screenshots for fonts)
|
||||
read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-screenshots.tar)
|
||||
mv ${DEST}/appdata-screenshots.tar ${DEST}/appdata-screenshots-${md5}.tar
|
||||
# also rename the appdata.xml.gz file in the same style
|
||||
read md5 fn_catchall <<<$(md5sum ${DEST}/appdata.xml.gz)
|
||||
mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz
|
||||
|
||||
# And the same for the -screenshots tarball (containing auto-generated screenshots for fonts)
|
||||
read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-screenshots.tar)
|
||||
mv ${DEST}/appdata-screenshots.tar ${DEST}/appdata-screenshots-${md5}.tar
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user