On Sat, 05 May 2018 22:21:28 +0200, Andreas Tille wrote:
> 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.
It's "$pkgname =~ /r-cran-/"
> 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
Added in git, thanks.
> I'm simply wondering why the source package
> name based setting of the Vcs-fields stopped working.
If the source package is named r-cran-* then I don't know ...
Do we need this part any more after adding the fix for the maintainer
address?
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- NP: Led Zeppelin: In My Time Of Dying
Attachment:
signature.asc
Description: Digital Signature