Dear all,

It was proposed in 2009 to formalise "Team uploads" in analogy to the "QA
uploads", as a special case of NMU, where most conventions are relaxed.

http://lists.debian.org/e13a36b30904052052g73850787vcc8b2035640d7...@mail.gmail.com

While there was interest, the discussion eventually ended with no action.

In the context of the Debian Med packaging team, I have started to make “Team
uploads”, for packages that are maintained by my team but for which I do not
want to add myself in the Uploaders field.

For these NMUs, I apply the following exceptions:

 - Normal incementation of version number,
 - no delay,
 - no patch to the BTS, but a direct commit to our repository,
 - start the changelog by a “Team upload.” entry.

This triggers Lintian warnings, that I ignore. The attached untested patch
may solve the problem.

If others are interested to follow the same approach, I propose to use the 
following
wiki page to draft a common reference: http://wiki.debian.org/TeamUpload.

Have a nice sunday,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan
diff --git a/checks/nmu b/checks/nmu
index fd2febf..80a5eb5 100644
--- a/checks/nmu
+++ b/checks/nmu
@@ -42,6 +42,7 @@ my $info = shift;
 my $changelog_mentions_nmu = 0;
 my $changelog_mentions_local = 0;
 my $changelog_mentions_qa = 0;
+my $changelog_mentions_team_upload = 0;
 
 # This isn't really an NMU check, but right now no other check looks at
 # debian/changelog in source packages.  Catch a debian/changelog file that's a
@@ -60,7 +61,7 @@ my $changes = $entry->Changes;
 $changes =~ s/^(\s*\n)+//;
 my $firstline = (split('\n', $changes))[0];
 
-# Check the first line for QA and NMU mentions.
+# Check the first line for QA, NMU or team upload mentions.
 if ($firstline) {
 	local $_ = $firstline;
 	if (/\bnmu\b/i or /non-maintainer upload/i) {
@@ -70,6 +71,8 @@ if ($firstline) {
 	}
 	$changelog_mentions_local = 1 if /\blocal\s+package\b/i;
 	$changelog_mentions_qa = 1 if /orphan/i or /qa (?:group )?upload/i;
+	$changelog_mentions_team_upload = 1 if /* Team upload/i;
+
 }
 
 my $version = $info->field("version");
@@ -111,6 +114,9 @@ if ($maintainer =~ /packag...@qa.debian.org/) {
 		if $version_nmuness == 1;
 	tag "changelog-should-mention-qa", ""
 		if !$changelog_mentions_qa;
+} elsif ($changelog_mentions_team_upload) {
+	tag "team-upload-has-incorrect-version-number", "$version"
+		if $version_nmuness == 1;
 } else {
 	# Local packages may be either NMUs or not.
 	unless ($changelog_mentions_local || $version_local) {

Reply via email to