update: use graphics filename with hash in index to support caching

Using a filename based on the hash of the contents means that the caching
algorithms for fdroidclient and browsers can safely cache the file forever
using the filename, since this guarantees that the contents will never
change for a given filename.

This does not cover screenshots, only icon.png, featureGraphic.png,
tvBanner.png, and promoGraphic.png.

fdroidserver#689
fdroid-website!453
This commit is contained in:
Hans-Christoph Steiner 2019-08-28 13:42:40 +02:00
parent 508af00e84
commit 70e7e720b9
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
5 changed files with 64 additions and 16 deletions

View file

@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
([!663](https://gitlab.com/fdroid/fdroidserver/merge_requests/663))
* added support for gradle 5.5.1
([!656](https://gitlab.com/fdroid/fdroidserver/merge_requests/656))
* add SHA256 to filename of repo graphics
([!669](https://gitlab.com/fdroid/fdroidserver/merge_requests/669))
### Fixed
* checkupdates: UpdateCheckIngore gets properly observed now