cme fails to set Vcs fields for r-* packages when Maintainer r-pkg-team is set
Hi,
the R pkg team has decided to set
Maintainer: Debian R Packages Maintainers <r-pkg-team@alioth-lists.debian.net>
If this is done in a control file the Vcs-Fields are not set (actually
removed when pointing to alioth). My understanding was that Vcs fields
are set according to the source package name ^r-(bioc|cran)-* which is
obviously wrong. If I use
diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index 77e3f790..90ec9e5c 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -411,6 +411,7 @@ A package including binaries from grub2 and loadlin would have this field in its
: $maintainer =~ /debian-science-maintainers/ ? "https://salsa.debian.org/science-team/$pkgname"
: $maintainer =~ /pkg-phototools-devel/ ? "https://salsa.debian.org/debian-phototools-team/$pkgname"
: $maintainer =~ /pkg-java-maintainers/ ? "https://salsa.debian.org/java-team/$pkgname"
+: $maintainer =~ /r-pkg-team/ ? "https://salsa.debian.org/r-pkg-team/$pkgname"
: undef ;',
'use_eval' => '1',
'variables' => {
@@ -503,6 +504,7 @@ The information is meant to be useful for a user knowledgeable in the given Vers
: $maintainer =~ /debian-science-maintainers/ ? "https://salsa.debian.org/science-team/$pkgname.git"
: $maintainer =~ /pkg-phototools-devel/ ? "https://salsa.debian.org/debian-phototools-team/$pkgname.git"
: $maintainer =~ /pkg-java-maintainers/ ? "https://salsa.debian.org/java-team/$pkgname.git"
+: $maintainer =~ /r-pkg-team/ ? "https://salsa.debian.org/r-pkg-team/$pkgname.git"
: \'\' ;',
'use_eval' => '1',
'variables' => {
setting the Vcs fields works again. While the latter is surely sensible to
do in libconfig-model-dpkg-perl I'm simply wondering why the source package
name based setting of the Vcs-fields stopped working.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: