Обсуждение: commit fest app: Authors

Поиск
Список
Период
Сортировка

commit fest app: Authors

От
Peter Eisentraut
Дата:
Why does the commit fest app not automatically fill in the author for a
new patch?

And relatedly, every commit fest, there are a few patches registered
without authors, probably because of the above behavior.

Could this be improved?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Re: commit fest app: Authors

От
Magnus Hagander
Дата:


On Fri, Jan 4, 2019 at 12:26 PM Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
Why does the commit fest app not automatically fill in the author for a
new patch?

And relatedly, every commit fest, there are a few patches registered
without authors, probably because of the above behavior.

Could this be improved?

Can't say I recall why it was done that way originally. I assume you're suggesting author should default to whomever adds it to the app? Or to somehow try to match it out of the attached email?

I'm guessing the original discussion could have something to do with a time when a lot of authors didn't register their own patches (think good old wiki days), it was just a third party who filled it all out. But today there is probably no reason not to default it to that, as long as it can be changed. 

I'm not sure it's a good idea to *enforce* it -- because you can't register an author until they have logged into the CF app once. And I think registering it with no author is better than registering it with the wrong author.

--

Re: commit fest app: Authors

От
Tom Lane
Дата:
Magnus Hagander <magnus@hagander.net> writes:
> On Fri, Jan 4, 2019 at 12:26 PM Peter Eisentraut <
> peter.eisentraut@2ndquadrant.com> wrote:
>> Why does the commit fest app not automatically fill in the author for a
>> new patch?

> I'm not sure it's a good idea to *enforce* it -- because you can't register
> an author until they have logged into the CF app once. And I think
> registering it with no author is better than registering it with the wrong
> author.

Yeah --- I've not checked in detail, but I supposed that most/all of the
cases of that correspond to authors with no community account to connect
the patch to.

            regards, tom lane


Re: commit fest app: Authors

От
Michael Paquier
Дата:
On Fri, Jan 04, 2019 at 10:05:25AM -0500, Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> On Fri, Jan 4, 2019 at 12:26 PM Peter Eisentraut <
>> peter.eisentraut@2ndquadrant.com> wrote:
>>> Why does the commit fest app not automatically fill in the author for a
>>> new patch?
>
>> I'm not sure it's a good idea to *enforce* it -- because you can't register
>> an author until they have logged into the CF app once. And I think
>> registering it with no author is better than registering it with the wrong
>> author.
>
> Yeah --- I've not checked in detail, but I supposed that most/all of the
> cases of that correspond to authors with no community account to connect
> the patch to.

Agreed.  It is worse to not track a patch than to track it without an
author, whom can be guessed from the thread attached to a patch
anyway...
--
Michael

Вложения