r4371 - in software: ! dirs' list truncated !

Gonéri Le Bouder goneri-guest at alioth.debian.org
Mon Oct 8 20:12:28 UTC 2007


Author: goneri-guest
Date: 2007-10-08 20:12:28 +0000 (Mon, 08 Oct 2007)
New Revision: 4371

Added:
   software/lintian-debian-games/
   software/lintian-debian-games/debian/
   software/lintian-debian-games/usr/
   software/lintian-debian-games/usr/share/
   software/lintian-debian-games/usr/share/lintian/
   software/lintian-debian-games/usr/share/lintian/checks/
   software/lintian-debian-games/usr/share/lintian/checks/goplayscreenshot
   software/lintian-debian-games/usr/share/lintian/checks/goplayscreenshot.desc
Log:
a lintian check for goplay screenshot


Added: software/lintian-debian-games/usr/share/lintian/checks/goplayscreenshot
===================================================================
--- software/lintian-debian-games/usr/share/lintian/checks/goplayscreenshot	                        (rev 0)
+++ software/lintian-debian-games/usr/share/lintian/checks/goplayscreenshot	2007-10-08 20:12:28 UTC (rev 4371)
@@ -0,0 +1,26 @@
+package Lintian::goplayscreenshot;
+
+use Tags;
+
+use LWP::UserAgent;
+use File::Find;
+
+sub run {
+	my $pkg = shift;
+
+	if (-d "unpacked/usr/games") {
+        my $ua = LWP::UserAgent->new;
+	        $ua->timeout(10);
+
+		my $r = $ua->head("http://svn.debian.org/svn/pkg-games/software/thumbnails/$pkg.png");
+		if ($r->code eq "404") {
+			tag "goplay-screenshot-is-missing";
+		}
+	}
+	open ZOB,">/tmp/zob" or die;
+	print ZOB $pkg;
+	close ZOB;
+
+
+}
+1;

Added: software/lintian-debian-games/usr/share/lintian/checks/goplayscreenshot.desc
===================================================================
--- software/lintian-debian-games/usr/share/lintian/checks/goplayscreenshot.desc	                        (rev 0)
+++ software/lintian-debian-games/usr/share/lintian/checks/goplayscreenshot.desc	2007-10-08 20:12:28 UTC (rev 4371)
@@ -0,0 +1,12 @@
+Check-Script: goplayscreenshot
+Author: Gonéri Le Bouder <goneri at rulezlan.org>  
+Abbrev: sshot 
+Standards-Version: 3.5.0
+Type: binary
+Unpack-Level: 1
+Info: This looks for GO Play screenshot
+
+Tag: goplay-screenshot-is-missing
+Type: error
+Info: A screenshot for your package should be avalaible in 
+ svn://svn.debian.org/svn/pkg-games/software/thumbnails/




More information about the Pkg-games-commits mailing list