On Sat, Aug 03, 2024 at 09:40:51PM +0900, Kentaro Hayashi wrote:
> Hi,
> 
> Even though +1 for DEP-18 basically, I think that it might be better
> to add an option
> to formalize package owner's (single person maintainer) collaboration policy
> especially about non-team maintained packages under
> https://salsa.debian.org/debian/.
> 
(...)

> If such a package repository enables merge request feature, then I
> will send merge request and
> send E-mail to bugs.d.o about url of the MR to notify it.
> But it is not true that such MR is merged in timely manner.
> (Surely collaboration takes longer time, I know.)
> 
> If the package owner expresses a collaboration policy in advance, it
> can improve such a situation
> in a particular case and we can respect it.
> 
> NOTE: The following idea might be out-of-scope in DEP-18, but specific
> use-case to improve
> collaboration in Debian, IMHO.
> 
> Here is just an idea: put collaboration policy metadata in debian/control.
> (The following idea assumes that non-maintainer DD tend to hesitate to
> commit/merge it)
> 
> * Collaboration-Policy: debian/CONTRIBUTION.md
>   Yes, we have README.source already, but it might be better to note
> in a separate file about collaboration.
> * Collaboration-Policy-Commit: yes
>   It declares that the package owner encourages non-maintainer DD to
> commit directly without merge request.
> * Collaboration-Policy-Merge: yes
>   It declares that the package owner encourages non-maintainer DD to
> allow merge requests.
>   (DD has maintainer right in salsa.d.o by default as you know, but
> you can merge without worry if there is it.)
> * Collaboration-Policy-LowThresholdNmu: yes
>   It declares that LowThresholdNmu rule [1] is applied.
> * Collabollation-Policy-NMU-Delay: 15
>   It declares that NMU delay the package owner wants.
> 
> [1] https://wiki.debian.org/LowThresholdNmu
> 
> Pros:
> * DD/DM and contributors can respect the package owner's intent about
> the package collaboration.
> * Reduce a chance to cause inconsistency between the content of each
> package repository on salsa.d.o and NMU'ed package source.
>   * Because other DD (non package owner) can commit/merge, then ship
> NMU package.
> Cons:
> * Maintainers will be bothered to add that new field to every package
>   (If there is no Collaboration-Policy, it is safe that sending merge
> request and let it the package manager, thus nothing changed)
> * No mechanism to enforce Collaboration-Policy-Commit: no or
> Collaboration-Policy-Merge: no policy
>   because DD has maintainer rights on salsa.d.o and can commit/merge
> it in reality.
> 
> It might worry too much, but it might be able to block an unfortunate
> accident, a so-called package hijack
> with incomplete communication in some cases.

by placing a package in the debian namespace on salsa, the packagee is
declared as team maintained by everyone, so above is alrady today
acceptble, even without explict placet by the maintainer.

https://wiki.debian.org/Salsa/Doc#Collaborative_Maintenance:_.22Debian.22_group


-- 
tobi

Reply via email to