r11491 - in /scripts/qa: DebianQA/Watch.pm README debianqa.conf-sample

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Sun Dec 23 04:58:05 UTC 2007


Author: tincho-guest
Date: Sun Dec 23 04:58:04 2007
New Revision: 11491

URL: http://svn.debian.org/wsvn/?sc=1&rev=11491
Log:
README: The documentation about the cronjob and about the repo layout was wrong.
Watch.pm + conf: cpan_mirror should only be the root of the mirror, so we can
grab different things from there.

Modified:
    scripts/qa/DebianQA/Watch.pm
    scripts/qa/README
    scripts/qa/debianqa.conf-sample

Modified: scripts/qa/DebianQA/Watch.pm
URL: http://svn.debian.org/wsvn/scripts/qa/DebianQA/Watch.pm?rev=11491&op=diff
==============================================================================
--- scripts/qa/DebianQA/Watch.pm (original)
+++ scripts/qa/DebianQA/Watch.pm Sun Dec 23 04:58:04 2007
@@ -294,7 +294,7 @@
     }
     $cpan = {};
 
-    my $url = $CFG{watch}{cpan_mirror};
+    my $url = $CFG{watch}{cpan_mirror} . "/ls-lR.gz";
     info("Rebuilding CPAN cache from $url");
     open(TMP, "+>", undef) or die $!;
     my $res = $ua->get($url, ":content_cb" => sub {

Modified: scripts/qa/README
URL: http://svn.debian.org/wsvn/scripts/qa/README?rev=11491&op=diff
==============================================================================
--- scripts/qa/README (original)
+++ scripts/qa/README Sun Dec 23 04:58:04 2007
@@ -29,22 +29,22 @@
 
 Cheat sheet for usual svn layouts:
 
-Layout 1 (pkg-perl example):
-----------------------------
+Layout 1 (python-modules example):
+----------------------------------
 
 For a structure like:
 
-svn://svn.debian.org/svn/pkg-perl/trunk/<package>/debian/
+svn://svn.debian.org/svn/python-modules/packages/<package>/trunk/
 
 You should use:
 
 [qareport_cgi]
-wsvn_url = http://svn.debian.org/wsvn/pkg-perl/trunk/%s
+wsvn_url = http://svn.debian.org/wsvn/python-modules/packages/%s/trunk
 
 [svn]
-repository = svn://svn.debian.org/svn/pkg-perl/
-packages_path = /trunk/
-post_path = /
+repository = svn://svn.debian.org/svn/python-modules/
+packages_path = packages
+post_path = trunk
 
 
 Layout 2 (pkg-perl example):
@@ -61,7 +61,7 @@
 
 [svn]
 repository = svn://svn.debian.org/svn/pkg-perl/
-packages_path = /trunk/
+packages_path = trunk
 post_path = /
 
 
@@ -137,7 +137,7 @@
 $ crontab -l
 # m h  dom mon dow   command
 
-0 * * * * BASE=<path_to_your_local_copy> PERL5LIB=$BASE \
-          $BASE/fetchdata -c <path_to_conf>/qa.conf -r "$REV"
+0 * * * * BASE=<path_to_your_local_copy> PERL5LIB=$BASE $BASE/fetchdata \
+          -c <path_to_conf>/qa.conf
 
 $Id$

Modified: scripts/qa/debianqa.conf-sample
URL: http://svn.debian.org/wsvn/scripts/qa/debianqa.conf-sample?rev=11491&op=diff
==============================================================================
--- scripts/qa/debianqa.conf-sample (original)
+++ scripts/qa/debianqa.conf-sample Sun Dec 23 04:58:04 2007
@@ -32,7 +32,7 @@
 [watch] # Not implemented yet
 ttl = 360 # 6 hours
 use_cpan = 1
-cpan_mirror = ftp://cpan.org/ls-lR.gz
+cpan_mirror = ftp://cpan.org
 cpan_ttl = 360 # 6 hours
 
 [bts]




More information about the Pkg-perl-cvs-commits mailing list