Bug#690414: PTS: screenshots related improvements

2012-12-08 Thread Christoph Haas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Believe it or not - I'm finally working on the web application behind
screenshots.debian.net. Slight delay of one year or something. :)
I had to fix a dependency module and was actually waiting for artistic
help from the Ubuntu project but I still don't have a good template.
So I'll hack something myself.

Am 08.12.2012 08:07, schrieb Paul Wise:
> On Sun, 2012-10-14 at 12:45 +0800, Paul Wise wrote:
> 
>> For packages that have screenshots on screenshots.d.n, the PTS
>> should link to them so maintainers know about them and can review
>> them.
>> 
>> It would also be good to have a todo item for packages that need
>> a screenshot, using various criteria such as debtags or
>> dependencies.
> 
> Christoph, I'd like to link to screenshots.d.n from the PTS. Would
> it be possible for you to add per-source-package pages for the PTS
> to link to?

You mean where lookup is possible from the source package name instead
of the binary package name? Yes, that should work. I'll reflect that
in the database schema.

> Also, do you think the PTS should do the checks for my suggested
> TODO item or should that be done on screenshots.d.n?

IMHO the PTS only works for specific packages and does not provide a
generalized list. Of course it can be implemented in the PTS but
screenshots.debian.net provides a list of packages with missing
screenshots anyway.

User-friendly version:
http://screenshots.debian.net/packages/without_screenshots

JSON version:
http://screenshots.debian.net/json/packages-without-screenshots

I could implement a certain URL returning information about
screenshots for a certain source package if that helps.

…Christoph

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDDNKIACgkQCV53xXnMZYZ/0ACfalz80d3rQkRlZdLf+7iWx6u9
ABEAn0bKVLKzRg/Tk3t/TzRfJ/49D9IJ
=GnWS
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50c334a2.7030...@debian.org



Bug#690414: PTS: screenshots related improvements

2012-12-08 Thread Paul Wise
On Sat, 2012-12-08 at 13:37 +0100, Christoph Haas wrote:

> You mean where lookup is possible from the source package name instead
> of the binary package name? Yes, that should work. I'll reflect that
> in the database schema.

Yeah, like the binary package page but listing all the binary packages
and their screenshots if any. Thanks.

> IMHO the PTS only works for specific packages and does not provide a
> generalized list. Of course it can be implemented in the PTS but
> screenshots.debian.net provides a list of packages with missing
> screenshots anyway.

Ok.

> User-friendly version:
> http://screenshots.debian.net/packages/without_screenshots
> 
> JSON version:
> http://screenshots.debian.net/json/packages-without-screenshots
> 
> I could implement a certain URL returning information about
> screenshots for a certain source package if that helps.

Well, we don't want a "Please upload a screenshot" TODO item on the PTS
pages of packages without any user interface or other screenshot-needing
part. For example some libraries provide a UI, others don't. Font
package screenshots are probably a good idea but packages containing
music/audio don't need screenshots. We need screenshots for games but
not really for game data packages. Screenshots for debug packages aren't
needed. Screenshots for metapackages could be interesting depending on
what they are. I think we need some heuristics for suggesting screenshot
uploading; based on package names, contents, dependencies and debtags.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#690414: PTS: screenshots related improvements

2012-12-08 Thread Christoph Haas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 08.12.2012 14:22, schrieb Paul Wise:
> Well, we don't want a "Please upload a screenshot" TODO item on the
> PTS pages of packages without any user interface or other
> screenshot-needing part. For example some libraries provide a UI,
> others don't. Font package screenshots are probably a good idea but
> packages containing music/audio don't need screenshots. We need
> screenshots for games but not really for game data packages.
> Screenshots for debug packages aren't needed. Screenshots for
> metapackages could be interesting depending on what they are. I
> think we need some heuristics for suggesting screenshot uploading;
> based on package names, contents, dependencies and debtags.

Indeed. Currently the software mainly uses debtags as heuristics to
determine if a package would be an interesting target for having
screenshots assigned. I'm open to ideas. After all the web site will
have to support other distributions (DEB or RPM) as well and I'm not
sure whether they have something similar to debtags.

…Christoph

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDDZYAACgkQCV53xXnMZYZZMwCeIVbbEBu/tOVHfm2HVFSPTFlb
6rcAnREgCjflDx8Y8aSPHldWt7TzR1D1
=HT3q
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50c36580.4090...@debian.org



Bug#690414: PTS: screenshots related improvements

2012-12-08 Thread Paul Wise
On Sat, 2012-12-08 at 17:06 +0100, Christoph Haas wrote:

> Indeed. Currently the software mainly uses debtags as heuristics to
> determine if a package would be an interesting target for having
> screenshots assigned. I'm open to ideas.

That sounds like a good start, are you exporting this list? We can make
adjustments to the heuristics as feedback comes in.

I'm thinking for the PTS side, we should have a todo item like this:

Your package probably meets the criteria for needing a screenshot, please 
upload one.

With "criteria" being a link to the human-readable explanation of the
heuristics and "upload" simply links source package page.

> After all the web site will have to support other distributions (DEB
> or RPM) as well and I'm not sure whether they have something similar
> to debtags.

Even if they don't using distromatch, those other distributions can map
their packages to Debian packages and thus use debtags in some way.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part