Self committing... allowed or not?

Matthew Seaman matthew at freebsd.org
Wed Aug 5 11:37:15 UTC 2015


On 08/05/15 11:51, Julian H. Stacey wrote:
> Matthew Seaman wrote:
>> On 04/08/2015 17:28, Loganaden Velvindron wrote:
>>> I would like to know how hard would it be for our FreeBSD experts to
>>> hack SVN to allow port maintainers commit to individual ports to speed
>>> up the process :p ?
>>
>> Technically that's probably not too difficult.  Debian has a system like
>> that, using PGP signatures for authentication, which we could probably
>> steal^Wcopy without too much trouble.
>>
>> The real kicker though is about maintaining code quality.  This is
>> pretty much why committers exist: they are people who have shown
>> competence in dealing with src / ports / docs whatever and have
>> demonstrated they can maintain standards.  One of a committers primary
>> functions is to either fix or get the submitter to fix problems with
>> submissions before committing.
>>
>> Now, it's almost certainly true that many port maintainers who aren't
>> already committers would be perfectly competent at updating their own
>> ports.  Chances are though if such a maintainer has been sufficiently
>> active and has submitted enough to establish their competence then
>> they'd be a definite prospect as a full-blown committer anyhow. ie. if
>> you're good enough to commit changes to your own ports, then you're
>> pretty much good enough to commit changes to any port, so you might as
>> well have a ports commit bit.
> 
> Number of commiters ? I vaguely recall about 300 or 400 ?
>   {
>   http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/staff-committers.html
> 	Contains one friend who said he'd resigned his commit bit.
> 	So maybe list out of date.
>   https://wiki.freebsd.org/BecomingACommitter
>   http://www.freebsd.org/doc/en/articles/committers-guide/committer.types.html
> 	A quick skim shows no number
>   }

https://svnweb.freebsd.org/ports/svnadmin/conf/access?revision=393512&view=markup

Shows currently there are 281 ports committers

> Number of Ports Maintainers: 1567
>   {
>   cd /pub/FreeBSD/branches/-current/ports
>   find . -type f -name Makefile | xargs grep MAINTAINER > /tmp/ports_named
>   find . -type f -name Makefile | xargs grep -h MAINTAINER > /tmp/ports_unnamed
>   wc -l po*
>     24295 ports_named
>     24295 ports_unnamed
>   sort ports_unnamed| uniq | grep @  ... a spot of vi trimming of spaces tabs
>   & ?= & = to reduce variance & allow uniq to strip more ...
>   A few of those addresses will be @freebsd list names, & some people at freebsd
>   }

Yeah.  Requests to set up 1500 new @FreeBSD.org accounts with SVN access
would certainly not make anyone popular with the accounts at ... team.  It
is going to be a royal PITA to keep that list up to date as maintainers
come and go, and as they change which ports they maintain and would
certainly result in a great deal of churn and extra complexity in
svnadmin/conf/.

I believe the way the Debian system works is that a correctly PGP signed
and formatted update message will be auto-committed by a bot, so the
administrative load for handling a setup where a port maintainer can
'commit' changes to their own ports consists of curating a gnupg keyring
with the approved maintainer keys and a bit of scripting to correlate
the allowed keys with the maintainer address and checking that they are
the maintainer for the port in question.

(Or we could just have a MAINTAINER_KEYS=0xcafebabefeedface variable
listing the allowed PGP keys directly in the port Makefile.)

Sure it's technically feasible, but unclear as to whether it's worth the
effort to set up or what benefits it would achieve in practice.

	Cheers

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150805/8d16d8fd/attachment.bin>


More information about the freebsd-ports mailing list