On Fri, 4 Sep 2020 at 20:18, Steffen Moeller <moel...@debian.org> wrote:
> For team-maintained packages, my NAME <EMAIL> goes to the Uploaders line and 
> the team's mailing list is the maintainer.
>
> This is something I keep forgetting to adjust.
>
> Could dh_make please cater for team maintenance? Secondary to the maintenance 
> is that the path on salsa can be preset to
> https://salsa.debian.org/TEAMNAME-team/SOURCEPACKAGE
> which is something else that dh_make could do for me.
>
> I suggest to add a "-t TEAMNAME" argument.
As was already said, we cannot use -t as it is used for the templating option.

So let's look at the situations.
For a standard setup, the control file has a Maintainer line, there is
no Uploaders line and the changelog has the same maintainer address as
the control file.

For a team maintainership, it's the same except we need to make two
changes to the control file:
1) Maintainer line needs to be some "team email" or similar
2) Add Uploaders: line, by default the uploader would be whatever used
to be on the Maintainers line
That should be reasonably ok to add.

I don't think it's useful to be able to add multiple uploaders within
dh_make, for places that want to do that a lot you are better off with
overlay templates.

For the salsa URL, I can see that being a problem. For example, you
would need to specify both the teamname and the team email address and
possibly the team fullname for the email address.
That also assumes that team maintenance means a team salsa URL, which
often they are not. net-snmp uses a repository under debian. python is
close but you can also have:

Maintainer: Craig Small <csm...@debian.org>
Uploaders: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Vcs-Browser: https://salsa.debian.org/python-team/modules/mastodon

Which is hard to do programmatically. You might notice that the
Maintainer and Uploader are flipped here. This happens in python
programs[1]

I think the only thing we could do here would be to add a maintainer
line on the command line.  To me for your specific needs an overlay
file would be better for you.

 - Craig

1: 
https://salsa.debian.org/python-team/tools/python-modules/blob/master/policy.rst#maintainership

Reply via email to