Christoph Haas | 13 Nov 22:15
X-Face
Favicon

screenshots.debian.net

Hi everybody,

a picture is worth a thousand words. And thanks to 
screenshots.debian.net[0] this finally comes true for Debian packages. 
Several people have proposed a service to provide screenshots for them. So 
after getting other developers' opinions and suggestions I sat down and 
crafted a web application that allows to upload and provide screenshots.

Unless you are busy helping to fix RC bugs for the Lenny release please 
consider contributing screenshots of your favorite applications. Currently 
there are already over 260 screenshots available but there is still some 
way to go. Everybody can upload screenshots - you don't have to be a 
Debian developer or Debian maintainer to help. Your uploads will just be 
checked by the admin team and then published.

I would love to see the screenshots integrated into packages.debian.org and 
perhaps they even get used in graphical package managers like synaptic, 
kpackage, adept or gnome-apt. It is easy to refer to screenshots from your 
own application or web site. Just use these URLs:

Thumbnail (<= 160x120 pixels):
  http://screenshots.debian.net/thumbnail/PACKAGENAME
  (this URL returns a dummy thumbnail if no screenshot was found)

Package's page with all available screenshots:
  http://screenshots.debian.net/package/PACKAGENAME

There is still a couple of items on my to do list. But if you have further 
ideas on features, need a certain API or find bugs please tell me or let's 
discuss matters on debian-devel.
(Continue reading)

Stefano Zacchiroli | 15 Nov 13:44
Favicon

Re: screenshots.debian.net

On Thu, Nov 13, 2008 at 10:18:26PM +0100, Christoph Haas wrote:
> I would love to see the screenshots integrated into packages.debian.org and 
> perhaps they even get used in graphical package managers like synaptic, 
> kpackage, adept or gnome-apt. It is easy to refer to screenshots from your 
> own application or web site. Just use these URLs:
> 
> Thumbnail (<= 160x120 pixels):
>   http://screenshots.debian.net/thumbnail/PACKAGENAME
>   (this URL returns a dummy thumbnail if no screenshot was found)
> 
> Package's page with all available screenshots:
>   http://screenshots.debian.net/package/PACKAGENAME

I've a suggestion / feature request for the API. Can you please add
the equivalent of the thumbnail URL which returns the bigger image?

I imagine that there can be applications which want to show first the
thumbnail and then, e.g. upon click/selection, the bigger version of
the thumbnail for further user-inspection. Right now, this is possible
only by either embedding some web-browser widget to show the /package/
URL, or by spawning an external web browser.

An intermediate level would be good, and I guess it's trivial to add.

TIA,
Cheers.

--

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
(Continue reading)

Christoph Haas | 15 Nov 15:06
X-Face

Re: screenshots.debian.net

On Samstag, 15. November 2008, Stefano Zacchiroli wrote:
> On Thu, Nov 13, 2008 at 10:18:26PM +0100, Christoph Haas wrote:
> > I would love to see the screenshots integrated into
> > packages.debian.org and perhaps they even get used in graphical
> > package managers like synaptic, kpackage, adept or gnome-apt. It is
> > easy to refer to screenshots from your own application or web site.
> > Just use these URLs:
> >
> > Thumbnail (<= 160x120 pixels):
> >   http://screenshots.debian.net/thumbnail/PACKAGENAME
> >   (this URL returns a dummy thumbnail if no screenshot was found)
> >
> > Package's page with all available screenshots:
> >   http://screenshots.debian.net/package/PACKAGENAME
>
> I've a suggestion / feature request for the API. Can you please add
> the equivalent of the thumbnail URL which returns the bigger image?

Yes, Michael Vogt has also requested this. He has already built a feature 
into 'synaptic' to load screenshots and asked to have a URL for the large 
image. Currently I'm moving things around a little to improve the 
performance (the server is way more loaded than I expected) but next on my 
list is the API.

> I imagine that there can be applications which want to show first the
> thumbnail and then, e.g. upon click/selection, the bigger version of
> the thumbnail for further user-inspection. Right now, this is possible
> only by either embedding some web-browser widget to show the /package/
> URL, or by spawning an external web browser.

(Continue reading)

Michael Lamothe | 13 Nov 23:49

Re: screenshots.debian.net

Hi Christoph,

There's a little typo on the page ... "appliation".  Also, when you
say "English", which one do you mean?

Cheers,

Michael

Christoph Haas | 14 Nov 00:12
X-Face

Re: screenshots.debian.net

Hi, Michael...

On Donnerstag, 13. November 2008, Michael Lamothe wrote:
> There's a little typo on the page ... "appliation".

Thanks, fixed.

> Also, when you say "English", which one do you mean?

I mean that west germanic language[0]. I wouldn't delete a screenshot just 
because one uses 's' where the other uses 'z'. :)

[0] http://en.wikipedia.org/wiki/English_language

Cheers
 Christoph
--

-- 
A guess is just a guess until you turn it into a pie chart.
Then it's an analysis. (Scott Adams)
Andreas Tille | 14 Nov 08:20
Favicon

Re: screenshots.debian.net

On Fri, 14 Nov 2008, Christoph Haas wrote:

> Thanks, fixed.
>
>> Also, when you say "English", which one do you mean?
>
> I mean that west germanic language[0]. I wouldn't delete a screenshot just
> because one uses 's' where the other uses 'z'. :)
>
> [0] http://en.wikipedia.org/wiki/English_language

Please excuse my cumbersomeness but may I repeat my hint that a potential
Screenshots 2.0 system should enable multi language screenshots.  I'm in
big favour of translating everything which is targeting at end users and
screenshots are definitely an end user application.

Kind regards - and again many thanks for this very cool stuff

        Andreas.

--

-- 
http://fam-tille.de

Christoph Haas | 14 Nov 10:28
X-Face

Re: screenshots.debian.net

On Freitag, 14. November 2008, Andreas Tille wrote:
> Please excuse my cumbersomeness but may I repeat my hint that a
> potential Screenshots 2.0 system should enable multi language
> screenshots.  I'm in big favour of translating everything which is
> targeting at end users and screenshots are definitely an end user
> application.

I'm about to make the application i18n-savvy. But I'm more thinking of the 
text messages in the web interface than of the screenshots. Screenshots in 
several languages carry very little different information IMHO and don't 
warrant the extra hard disk space and effort to have them on the web 
server. Or am I totally off here? :)

 Christoph
--

-- 
A guess is just a guess until you turn it into a pie chart.
Then it's an analysis. (Scott Adams)
Holger Levsen | 14 Nov 11:59

Re: screenshots.debian.net

Hi,

kudos from me for this nice service as well!!

On Friday 14 November 2008 10:28, Christoph Haas wrote:
> Screenshots in
> several languages carry very little different information IMHO and don't
> warrant the extra hard disk space and effort to have them on the web
> server. Or am I totally off here? :)

I think so. 

Just imagine the screenshots for many applications are submitted in chinese or 
arabic...

regards,
	Holger
Stefano Zacchiroli | 14 Nov 13:08
Favicon

Re: screenshots.debian.net

On Fri, Nov 14, 2008 at 10:28:52AM +0100, Christoph Haas wrote:
> I'm about to make the application i18n-savvy. But I'm more thinking of the 
> text messages in the web interface than of the screenshots. Screenshots in 
> several languages carry very little different information IMHO and don't 
> warrant the extra hard disk space and effort to have them on the web 
> server. Or am I totally off here? :)

I think it would be pointless to reach a scenario where people are
encouraged to submit the same screenshot for all different
languages. That would be a PITA to maintain and unnecessary in most
cases.

Still, for different alphabets there might be an added value. AFAICT
it is possible that an application looks sensibly different when using
a left-to-right vs a right-to-left language.

Maybe the right solution is support some kind of language tagging to
be associated to each screenshot.

Still, IMO we should refrain to encourage arbitrary screenshot
"translations".

Cheers.

--

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
(Continue reading)

Christian Perrier | 14 Nov 18:24
Favicon
Gravatar

Re: screenshots.debian.net

Quoting Stefano Zacchiroli (zack <at> debian.org):

> Still, for different alphabets there might be an added value. AFAICT
> it is possible that an application looks sensibly different when using
> a left-to-right vs a right-to-left language.

Indeed, I support zack's suggestion. Allowing multiple screenshots but
only one per *script* (as defined by ISO 15924....see the iso-codes
package) would restrict this to something manageable.

FYI, there are currently 131 scripts registered in ISO-15924, but we
can expect only 1 or 2 dozens of these to be commonly supported in
FLOSS applications.

Of course, i18n of the web interface probably comes first.

Miriam Ruiz | 14 Nov 20:02
Favicon
Gravatar

Re: screenshots.debian.net

2008/11/14 Stefano Zacchiroli <zack <at> debian.org>:

> Maybe the right solution is support some kind of language tagging to
> be associated to each screenshot.

+1

Greetings,
Miry

Martin Stigge | 15 Nov 14:18

Re: screenshots.debian.net

On Fri, 2008-11-14 at 13:08 +0100, Stefano Zacchiroli wrote:
> I think it would be pointless to reach a scenario where people are
> encouraged to submit the same screenshot for all different
> languages. That would be a PITA to maintain and unnecessary in most
> cases.
> 
> Still, for different alphabets there might be an added value. AFAICT
> it is possible that an application looks sensibly different when using
> a left-to-right vs a right-to-left language.
> 
> Maybe the right solution is support some kind of language tagging to
> be associated to each screenshot.

What about: People can contribute screenshots in whatever language they
want and the screenshot will be language-tagged. A viewer-frontend can
then adopt a behavior like "show all screenshots of my language, and if
none exist, fallback to English". (Or optionally append English ones
even if native-language ones exist, or append all, or whatever strategy
you want..)

I would guess that for most languages you end up with seeing most
screenshots in English, but that's no regression compared to the present
situation.

Martin

Andreas Tille | 15 Nov 17:53
Favicon

Re: screenshots.debian.net

On Sat, 15 Nov 2008, Martin Stigge wrote:

> What about: People can contribute screenshots in whatever language they
> want and the screenshot will be language-tagged. A viewer-frontend can
> then adopt a behavior like "show all screenshots of my language, and if
> none exist, fallback to English". (Or optionally append English ones
> even if native-language ones exist, or append all, or whatever strategy
> you want..)

This is more or less the widely accepted gettext behaviour: Try a native
language and use English as fallback.  I just want to make sure that the
API will realise this.  In practice I think that if users see a real
need to provide non-English screenshots they will do and we will finally
settle down with some active translated screenshots as we have some actively
translated gettext messages and those who do not care that much.  But if
we do not consider this feature at the point of designing the API we might
be forced later to change the API.  I just want to avoid this change which
will cause some effort later if it is predictable that it will be needed
later.

Kind regards

       Andreas.

--

-- 
http://fam-tille.de

Daniel Burrows | 16 Nov 18:38
Favicon

Re: screenshots.debian.net

On Thu, Nov 13, 2008 at 10:18:26PM +0100, Christoph Haas <haas <at> debian.org> was heard to say:
> Thumbnail (<= 160x120 pixels):
>   http://screenshots.debian.net/thumbnail/PACKAGENAME
>   (this URL returns a dummy thumbnail if no screenshot was found)

  Just one quick question: will there eventually be support for
different versions to have different screenshots?  Occasionally
there's a big difference across versions, and users might want to
see it.

  Daniel

Christoph Haas | 16 Nov 19:46
X-Face

Re: screenshots.debian.net

On Sonntag, 16. November 2008, Daniel Burrows wrote:
> On Thu, Nov 13, 2008 at 10:18:26PM +0100, Christoph Haas 
<haas <at> debian.org> was heard to say:
> > Thumbnail (<= 160x120 pixels):
> >   http://screenshots.debian.net/thumbnail/PACKAGENAME
> >   (this URL returns a dummy thumbnail if no screenshot was found)
>
>   Just one quick question: will there eventually be support for
> different versions to have different screenshots?  Occasionally
> there's a big difference across versions, and users might want to
> see it.

There should be a way to select what screenshot you want. I'm saving the 
version number along with the screenshot. So in theory I could tell which 
one is for a newer version of the software than the other (although I'd 
have to 'dpkg --compare-versions' because I couldn't think of an SQL 
function to do that yet). But I wouldn't know which one was for Etch or 
Lenny without some additional queries on data I don't have yet.

I'm open for suggestions. :)

 Christoph
--

-- 
A guess is just a guess until you turn it into a pie chart.
Then it's an analysis. (Scott Adams)
Daniel Burrows | 17 Nov 07:12
Favicon

Re: screenshots.debian.net

On Sun, Nov 16, 2008 at 07:46:27PM +0100, Christoph Haas <email <at> christoph-haas.de> was heard to say:
> On Sonntag, 16. November 2008, Daniel Burrows wrote:
> > On Thu, Nov 13, 2008 at 10:18:26PM +0100, Christoph Haas 
> <haas <at> debian.org> was heard to say:
> > > Thumbnail (<= 160x120 pixels):
> > >   http://screenshots.debian.net/thumbnail/PACKAGENAME
> > >   (this URL returns a dummy thumbnail if no screenshot was found)
> >
> >   Just one quick question: will there eventually be support for
> > different versions to have different screenshots?  Occasionally
> > there's a big difference across versions, and users might want to
> > see it.
> 
> There should be a way to select what screenshot you want. I'm saving the 
> version number along with the screenshot. So in theory I could tell which 
> one is for a newer version of the software than the other (although I'd 
> have to 'dpkg --compare-versions' because I couldn't think of an SQL 
> function to do that yet). But I wouldn't know which one was for Etch or 
> Lenny without some additional queries on data I don't have yet.

  Personally, I would rather be able to provide a version number
and then get the "best" screenshot you have.  Then I could show a
matching screenshot if there was one, and *something* if there
wasn't.

  Also, would it be possible to get an API for uploading screenshots?
(I say that as if I had any clue how to invoke such an API...)

  Oh, and a third question while I'm at it:  what sort of bandwidth is
available for this system?  I imagine that automatically fetching
(Continue reading)

Christoph Haas | 17 Nov 11:49
X-Face

Re: screenshots.debian.net

On Montag, 17. November 2008, Daniel Burrows wrote:
> On Sun, Nov 16, 2008 at 07:46:27PM +0100, Christoph Haas 
<email <at> christoph-haas.de> was heard to say:
> > There should be a way to select what screenshot you want. I'm saving
> > the version number along with the screenshot.
>
>   Personally, I would rather be able to provide a version number
> and then get the "best" screenshot you have.

What is the "best"? :)

> Then I could show a 
> matching screenshot if there was one, and *something* if there
> wasn't.

I can add a version parameter to the /thumbnail requests that would give 
you only a thumbnail for the exact version. Just keep in mind that by 
default the web interface suggest the Sid package revision. And that 
number changes pretty often. So I'd say it's not likely you will get a 
certain screenshots for your desired version. Unless of course you query 
for the Lenny version. But I assume that most people just accept that 
automatically displayed revision number even though the screenshots comes 
from Lenny. So I'd say in 99% of the cases you get nothing.

>   Also, would it be possible to get an API for uploading screenshots?
> (I say that as if I had any clue how to invoke such an API...)

There is one. It uses the HTTP protocol. :) Just do an HTTP POST request 
and send the three fields like in the upload form.

(Continue reading)

Andreas Tille | 17 Nov 13:22
Favicon

Re: screenshots.debian.net

On Mon, 17 Nov 2008, Christoph Haas wrote:

> On Montag, 17. November 2008, Daniel Burrows wrote:
>>   Personally, I would rather be able to provide a version number
>> and then get the "best" screenshot you have.
>
> What is the "best"? :)

I have o idea what Daniel had in mind, but I'd regard the screenshot
which has the same version and if this is not available the latest
available version as "the best".

> I can add a version parameter to the /thumbnail requests that would give
> you only a thumbnail for the exact version. Just keep in mind that by
> default the web interface suggest the Sid package revision.

So this reasonable default as a fallback if the specified version
is not available fits my perception of the "best".  It might be
reasonable to accept "Etch", "Lenny", etc. as "version" of a package
as well.

> So I'd say in 99% of the cases you get nothing.

If there is *any* version of a screenshot I would prefer getting this
over nothing.

>> Do you think you can handle fetching the thumbnail of each
>> package the user clicks on?
>
> I currently do. Or how do you mean?
(Continue reading)

Daniel Burrows | 17 Nov 17:13
Favicon

Re: screenshots.debian.net

On Mon, Nov 17, 2008 at 11:49:06AM +0100, Christoph Haas <email <at> christoph-haas.de> was heard to say:
> On Montag, 17. November 2008, Daniel Burrows wrote:
> > On Sun, Nov 16, 2008 at 07:46:27PM +0100, Christoph Haas 
> <email <at> christoph-haas.de> was heard to say:
> > > There should be a way to select what screenshot you want. I'm saving
> > > the version number along with the screenshot.
> >
> >   Personally, I would rather be able to provide a version number
> > and then get the "best" screenshot you have.
> 
> What is the "best"? :)

  I deliberately left that vague because I wasn't sure. :-)

  If there's an exact match, I would return that image; otherwise,
I don't really care.  The same thing the unversioned page returns
would be fine and probably better than trying to be clever and find
a good match.

> > Then I could show a 
> > matching screenshot if there was one, and *something* if there
> > wasn't.
> 
> I can add a version parameter to the /thumbnail requests that would give 
> you only a thumbnail for the exact version. Just keep in mind that by 
> default the web interface suggest the Sid package revision. And that 
> number changes pretty often. So I'd say it's not likely you will get a 
> certain screenshots for your desired version. Unless of course you query 
> for the Lenny version. But I assume that most people just accept that 
> automatically displayed revision number even though the screenshots comes 
(Continue reading)

George Danchev | 17 Nov 21:02
Favicon

Re: screenshots.debian.net

On Monday 17 November 2008 18:13:55 Daniel Burrows wrote:
--cut--
> > There is one. It uses the HTTP protocol. :) Just do an HTTP POST request
> > and send the three fields like in the upload form.
>
>   Err...when I go to upload I get a webform, not a URL to point to?  How
> do I generate an "HTTP POST request" in C++?  Open a TCP socket and send
> some magic down it?  I guess I can find an RFC with the right Google
> query...

You are probably looking for Poco::Net::HTMLForm and Poco::Net::HTTPRequest* 
classes found in the poco library (already in Debian along with documentation 
package) or at least to see their implementations as found in Net/src.

>   When the user clicks on a package in the GUI interface, they see the
> description of the package.  I don't know what sort of load this would
> impose once the interface is out of "beta", but I'm guessing it's a lot
> more than you're seeing through the Web service.
>
>   I'd like to make good use of this service, but I don't want to turn
> it into a smoking crater in the process. ;-) I don't really know what
> image-fetches-per-second translates into at your end, so I guess I'm
> looking for some guidance.

I'm afraid that such frivoulous image fetching would be magnitude or two more 
heavier to serve than fetching the new packages for today from a local Debian 
mirror(s), since users are more likely to performe the latter once or twice 
per day, but the former any time they feel bored or experiencing a long long 
day ;-)

(Continue reading)

Daniel Burrows | 19 Nov 06:12
Favicon

Re: screenshots.debian.net

On Mon, Nov 17, 2008 at 10:02:45PM +0200, George Danchev <danchev <at> spnet.net> was heard to say:
> On Monday 17 November 2008 18:13:55 Daniel Burrows wrote:
> >   When the user clicks on a package in the GUI interface, they see the
> > description of the package.  I don't know what sort of load this would
> > impose once the interface is out of "beta", but I'm guessing it's a lot
> > more than you're seeing through the Web service.
> >
> >   I'd like to make good use of this service, but I don't want to turn
> > it into a smoking crater in the process. ;-) I don't really know what
> > image-fetches-per-second translates into at your end, so I guess I'm
> > looking for some guidance.
> 
> I'm afraid that such frivoulous image fetching would be magnitude or two more 
> heavier to serve than fetching the new packages for today from a local Debian 
> mirror(s), since users are more likely to performe the latter once or twice 
> per day, but the former any time they feel bored or experiencing a long long 
> day ;-)

  I don't think this is "frivolous": for programs that are graphical,
it can be very useful to see what the program looks like before you
run it.

  I'm not surprised that the bandwidth consumption is excessive,
though.  I'll think it over once I figure out why my VteTerminals
self-destruct when I hide them...

  Daniel

Raphael Geissert | 20 Nov 03:54

Re: screenshots.debian.net

Daniel Burrows wrote:
[...]
> 
>   I'm not surprised that the bandwidth consumption is excessive,
> though.  I'll think it over once I figure out why my VteTerminals
> self-destruct when I hide them...

What about using the coral network?

http://screenshots.debian.net.nyud.net/

Have fun! (yes, that reduces both load and bandwidth usage).

Btw, http://wiki.coralcdn.org/wiki.php?n=Main.Servers has some info so that the
coral network can be used automagically (they even have one trick for
slashdot... but I guess the recent news entry wouldn't have been much fun with
it)

> 
>   Daniel

Cheers,
Raphael Geissert

Daniel Burrows | 20 Nov 04:03
Favicon

Re: screenshots.debian.net

On Tue, Nov 18, 2008 at 09:12:08PM -0800, Daniel Burrows <dburrows <at> debian.org> was heard to say:
>   I'm not surprised that the bandwidth consumption is excessive,
> though.  I'll think it over once I figure out why my VteTerminals
> self-destruct when I hide them...

  For anyone who cares, the answer was "your VteTerminals self-destruct
when you tell them to in a corner of the code you forgot about."  D'oh!

  Daniel

Andrei Popescu | 17 Nov 21:46

Re: screenshots.debian.net

On Mon,17.Nov.08, 08:13:55, Daniel Burrows wrote:

>   Let's just say, hypothetically speaking, that I'm the developer of a
> GUI package manager for Debian.  It would be nice (where by nice I mean
> *really UBERCOOL*) if, whenever users see a list of packages, they could
> see a little thumbnail next to each package with a screenshot of the
> package.  When the user mouses over the screenshot, I could pop up a
> tooltip and fetch the full image into it.
> 
>   My comment was that while I think this would be a really nice feature
> for my software, it seems like it would probably put too much of a burden
> on your resources.  I doubt there's any way to do this in a way that
> decreases the load, but maybe you have ideas I'm missing.

Maybe for stable it would make sense to create a "debian-screenshots" 
package that could be used by all package managers wishing to provide 
this or similar functionality.

Regards,
Andrei
--

-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
Paul Wise | 18 Nov 04:20
Favicon

Re: screenshots.debian.net

On Tue, Nov 18, 2008 at 5:46 AM, Andrei Popescu
<andreimpopescu <at> gmail.com> wrote:

> Maybe for stable it would make sense to create a "debian-screenshots"
> package that could be used by all package managers wishing to provide
> this or similar functionality.

There is already a games-thumbnails package (used by goplay), which
contains 320x240 thumbnails.

--

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Michael Vogt | 18 Nov 20:44
Favicon

Re: screenshots.debian.net

On Sun, Nov 16, 2008 at 10:12:26PM -0800, Daniel Burrows wrote:
> On Sun, Nov 16, 2008 at 07:46:27PM +0100, Christoph Haas <email <at> christoph-haas.de> was heard to say:
> > On Sonntag, 16. November 2008, Daniel Burrows wrote:
> > > On Thu, Nov 13, 2008 at 10:18:26PM +0100, Christoph Haas 
> > <haas <at> debian.org> was heard to say:
> > > > Thumbnail (<= 160x120 pixels):
> > > >   http://screenshots.debian.net/thumbnail/PACKAGENAME
> > > >   (this URL returns a dummy thumbnail if no screenshot was found)
> > >
> > >   Just one quick question: will there eventually be support for
> > > different versions to have different screenshots?  Occasionally
> > > there's a big difference across versions, and users might want to
> > > see it.
[..]
>   Oh, and a third question while I'm at it:  what sort of bandwidth is
> available for this system?  I imagine that automatically fetching
> thumbnails for an entire list of a few hundred packages would be poor
> manners.  Do you think you can handle fetching the thumbnail of each
> package the user clicks on?

I was pondering about this problem as well and solved it for now by
adding a little button into the package description in synaptic that
fetches the thumbnail when clicked. Clicking on the thumb again gives
the big image. This ensures that casual browsing of the package list
does not generate network traffic on s.d.n

I think even that will be quite a hit to screenshots.debian.net. I
imagine in the future it may make sense to have a package for this
(this was suggested already IIRC) so that the download bw is spread
over all the mirrors. 
(Continue reading)

Martin Stigge | 19 Nov 08:21

Re: screenshots.debian.net

On Tue, 2008-11-18 at 20:44 +0100, Michael Vogt wrote:
> I was pondering about this problem as well and solved it for now by
> adding a little button into the package description in synaptic that
> fetches the thumbnail when clicked. Clicking on the thumb again gives
> the big image. This ensures that casual browsing of the package list
> does not generate network traffic on s.d.n
>
> I think even that will be quite a hit to screenshots.debian.net. I
> imagine in the future it may make sense to have a package for this
> (this was suggested already IIRC) so that the download bw is spread
> over all the mirrors. 

Local caching may also be an option.

Regards,
Martin

Raphael Geissert | 16 Nov 20:58

Re: screenshots.debian.net

Christoph Haas wrote:
[...]
> 
> There should be a way to select what screenshot you want. I'm saving the
> version number along with the screenshot. So in theory I could tell which
> one is for a newer version of the software than the other (although I'd
> have to 'dpkg --compare-versions' because I couldn't think of an SQL
> function to do that yet). 

http://svn.debian.org/viewsvn/collab-qa/udd/sql/debvercmp.sql?view=markup

> But I wouldn't know which one was for Etch or 
> Lenny without some additional queries on data I don't have yet.

You can always import the data on your own or use udd

> 
> I'm open for suggestions. :)
> 
>  Christoph

Cheers,
Raphael Geissert


Gmane