[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: web server for appstream metadata screenshots
From:       Ben Cooksley <bcooksley () kde ! org>
Date:       2016-06-08 21:37:29
Message-ID: CA+XidOGJH=1tYS-K2u9kGYzXuRPWWPMhNAFUXqd2Nfj=FBZKOw () mail ! gmail ! com
[Download RAW message or body]

On Thu, Jun 9, 2016 at 4:32 AM, Yuri Chornoivan <yurchor@ukr.net> wrote:
> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B5 Wed, 08 Jun 2016 19:27:2=
3 +0300, Burkhard L=C3=BCck
> <lueck@hube-lueck.de>:
>
>
>> Am Mittwoch, 8. Juni 2016, 12:45:13 CEST schrieb Nicol=C3=A1s Alvarez:
>>>
>>> 2016-06-08 8:33 GMT-03:00 Friedrich W. H. Kossebau <kossebau@kde.org>:
>>> > Am Mittwoch, 8. Juni 2016, 13:10:04 CEST schrieb Sebastian K=C3=BCgle=
r:
>>> >> 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 no=
t,
>>> >> 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 plannin=
g
>>> > 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?

Hotlinking to any repository browser (whether Phabricator, Quickgit,
WebSVN or anything else) on KDE infrastructure is not supported under
any circumstance. Our web servers are configured to block some forms
of this already.

Repository browsers are extremely expensive resource wise, compared to
static file serving, and one can expect something like Appstream
metadata to receive quite a few hits, therefore something properly
setup for this should be done.

Please file a sysadmin ticket once you've determined what the best way
is to do this.

>
> Best regards,
> Yuri

Regards,
Ben
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic