[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

autopkgtest-pkg-perl going forward



Hi,

now that things have settled down a bit, I'd like to have a discussion
about pkg-perl team practices for autopkgtest in the future.

I've documented the current state at
 http://pkg-perl.alioth.debian.org/autopkgtest.html
Summary: I think this is pretty cool :)

I'm proposing the attached patch to the pkg-perl policy, adding Testsuite
to the list of debian/control fields that our packages should have and
referring to the above document.

Paraphrasing the document, this implies that

1. for all the known good pkg-perl packages, as seen at
    http://anonscm.debian.org/cgit/collab-maint/debian-ci-config.git/tree/perl.txt
   we make a mass commit adding the Testsuite: autopkgtest-pkg-perl header

2. people uploading a package with a Testsuite header should try to
   verify it works. This probably means setting up a chroot for adt-run
   to do it properly; there are some pointers for this in autopkgtest.html.

3. we add a pkg-perl specific lintian check that complains about a missing
   Testsuite header. (This is actually already done as of pkg-perl-tools
   0.18: just use "lintian --profile pkg-perl" to activate it along with
   all the other group checks.)

Naturally, it's up to uploaders to decide whether they care about the
lintian warning. People who aren't interested can postpone the addition
of the header to the next upload.  It would be nice to not remove a
Testsuite header if it's already in the archive though.

Overall, this should be considered as best effort at the moment.
Don't worry too much if you can't test the Testsuite declaration, and
don't hesitate to ask for help or clarifications.

Have fun!
-- 
Niko Tyni   ntyni@debian.org
>From 1dffc2a859a32a5f8ffa25c4977fc59ff20cc4cf Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Sun, 5 Oct 2014 22:46:12 +0300
Subject: [PATCH] policy.pod: add Testsuite in debian/control fields

The section is possibly too terse; should we embed something
from autopkgtest.pod here?
---
 policy.pod | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/policy.pod b/policy.pod
index ab42c7b..7433dd3 100644
--- a/policy.pod
+++ b/policy.pod
@@ -160,6 +160,11 @@ The URL for this module's upstream homepage. For CPAN modules, unless the
 author has a specific homepage, you can point to
 L<https://metacpan.org/release/Something>.
 
+=item Testsuite
+
+Normally C<autopkgtest-pkg-perl> for pkg-perl maintained packages. See
+L<http://pkg-perl.alioth.debian.org/autopkgtest.html>.
+
 =back
 
 The other usual fields should, of course, be present and have sensible values. 
-- 
2.1.1


Reply to: