web server for appstream metadata screenshots
Yuri Chornoivan
yurchor at ukr.net
Sun Jun 12 05:46:10 BST 2016
написане Sun, 12 Jun 2016 04:17:07 +0300, Albert Astals Cid
<aacid at kde.org>:
> El dimecres, 8 de juny de 2016, a les 19:32:32 CEST, Yuri Chornoivan va
> escriure:
>> написане Wed, 08 Jun 2016 19:27:23 +0300, Burkhard Lück
>>
>> <lueck at hube-lueck.de>:
>> > Am Mittwoch, 8. Juni 2016, 12:45:13 CEST schrieb Nicolás Alvarez:
>> >> 2016-06-08 8:33 GMT-03:00 Friedrich W. H. Kossebau
>> <kossebau at kde.org>:
>> >> > Am Mittwoch, 8. Juni 2016, 13:10:04 CEST schrieb Sebastian Kügler:
>> >> >> Hey,
>> >> >>
>> >> >> I've been adding appstream metadata to one of the apps I maintain,
>> >>
>> >> among
>> >>
>> >> >> that are also screenshots, in the form of a URL. That means that I
>> >>
>> >> have
>> >>
>> >> >> to
>> >> >> put the screenshots on a webserver.
>> >> >>
>> >> >> Do we already have a canonical location for these screenshots? If
>> >>
>> >> not,
>> >>
>> >> >> let's create one before we get people hosting them on imgur, their
>> >> >> private webserver or their router-behind-a-dsl-line. :)
>> >> >
>> >> > Good idea, also when it comes to long-term availability of
>> referenced
>> >> > images>
>> >> >
>> >> > :)
>> >> >
>> >> > It might make sense to reuse/share the screenshots with the ones
>> used
>> >>
>> >> for
>> >>
>> >> > the KDE app catalog we have at kde.org/applications/. For
>> consistency
>> >>
>> >> and
>> >>
>> >> > for efficiency.
>> >> >
>> >> > Not sure though what a stable url would be like, given people
>> >>
>> >> planning to
>> >>
>> >> > rework kde.org (and thus those app catalog pages), so perhaps
>> relying
>> >>
>> >> on
>> >>
>> >> > the current screenshot urls used by kde.org/applications is not
>> >>
>> >> perfect.
>> >> The screenshots on kde.org/applications are stored in SVN and they
>> are
>> >> the main reason why I couldn't migrate that website to Git. I would
>> >> prefer if you don't add even more there...
>> >
>> > www/sites/www/screenshots (svn) has 176 pngs
>> >
>> > websites/edu-kde-org/ (git) has 1287 pngs
>> >
>> > master kf5 / doc[s] (git) folders have 2079 pngs
>> >
>> > master kde4 / doc[s] (git) folders have 1702 pngs
>> >
>> > I do not understand why the 176 pngs in www/sites/www/screenshots are
>> a
>> > problem for migration to git
>>
>> Hi,
>>
>> I might be wrong, but is the hotlinking to Phabricator/Git files
>> (screenshots in this case) a good thing?
>
> Nobody suggested that, right?
I might misunderstand the whole thing. If it is, just ignore this message.
The typical size of AppData screenshot is ~100 kB. Let's say that there
are ~1000 users that use Discover features to explore KDE applications in
a release day. They can overview ~10 screenshots in average. This will be
1 GB of traffic + load on Phabricator to resolve commits.kde.org links (if
files are stored in git).
Recently, Ben Cooksley removed the page with Calligra Icons from
community.kde.org for similar hotlinking:
https://community.kde.org/Calligra/Icons/3.0
That was the source of my concerns.
On the other hand, if screenshots will be stored in different
places/hostings (each application stores its screenshot in its own place)
it can leverage the load on our infrastructure.
Sorry again, if I misunderstand something.
Best regards,
Yuri
More information about the kde-core-devel
mailing list