[RFC] MAINTAINERS: require a BZ account field
Arsen Arsenović
arsen@aarsen.me
Thu Jul 4 16:20:44 GMT 2024
Hi,
"Richard Earnshaw (lists)" <Richard.Earnshaw@arm.com> writes:
> On 24/06/2024 23:34, Arsen Arsenović via Gcc wrote:
>> Hi,
>>
>> Sam James via Gcc <gcc@gcc.gnu.org> writes:
>>
>>> Hi!
>>>
>>> This comes up in #gcc on IRC every so often, so finally
>>> writing an RFC.
>>>
>>> What?
>>> ---
>>>
>>> I propose that MAINTAINERS be modified to be of the form,
>>> adding an extra field for their GCC/sourceware account:
>>> <Name> <Email> <Email on gcc.gnu.org BZ / sourceware account>
>>> Joe Bloggs joebloggs@example.com jbloggs@gcc.gnu.org
>>>
>>> Further, that the field must not be blank (-> must have a BZ account;
>>> there were/are some without at all)!
>>>
>>> Why?
>>> ---
>>>
>>> 1) This is tied to whether or not people should use their committer email
>>> on Bugzilla or a personal email. A lot of people don't seem to use their
>>> committer email (-> no permissions) and end up not closing bugs, so
>>> pinskia (and often myself these days) end up doing it for them.
>>>
>>> 2) It's standard practice to wish to CC the committer of a bisect result
>>> - or to CC someone who you know wrote patches on a subject area. Doing
>>> this on Bugzilla is challenging when there's no map between committer
>>> <-> BZ account.
>>>
>>> Specifically, there are folks who have git committer+author as
>>> joebloggs@example.com (or maybe even cooldude@example.com) where the
>>> local part of the address has *no relation* to their GCC/sw account,
>>> so finding who to CC is difficult without e.g. trawling through gcc-cvs
>>> mails or asking overseers for help.
>>
>> I was also proposing (and would like to re-air that here) enforcing that
>> the committer field of each commit is a (valid) @gcc.gnu.org email.
>> This can be configured repo-locally via:
>>
>> $ git config committer.email <yourname>@gcc.gnu.org
>>
>> Git has supported this since 39ab4d0951ba64edcfae7809740715991b44fa6d
>> (v2.22.0).
>>
>> This makes a permanent association of each commit to its authors
>> Sourceware account.
>>
>> This should not inhibit pushes, as the committer should be a reflection
>> of who /applied/ a patch, and anyone applying a patch that can also push
>> has a Sourceware account. It also should not inhibit any workflow, as
>> it should be automatic.
>
>
> I think this presumes a strict 'git apply' model for incorporating patches from
> mailing lists, but what about contributors who do not have a sourceware account
> and rely on another developer to fetch from their tree and push it afterwards
> (eg the linux bubble-up model)? In that case the patch fetched will show the
> original author as the committer.
Right - that is a problem that I didn't think of.. A soft requirement
is better here for that reason.
Thanks for pointing it out.
--
Arsen Arsenović
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 381 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20240704/65ae6a84/attachment.sig>
More information about the Gcc
mailing list