Finding contributor email is imposible - was - Re: Phabricator: All repositories registered - upcoming workflow changes

Ben Cooksley bcooksley at kde.org
Tue Feb 7 19:18:54 UTC 2017


On Wed, Feb 8, 2017 at 4:03 AM, Fredrik Höglund <fredrik at kde.org> wrote:
> On Monday 06 February 2017, Albert Astals Cid wrote:
>> El diumenge, 29 de gener de 2017, a les 8:32:21 CET, Ben Cooksley va escriure:
>> > Hi everyone,
>> >
>> > From this point forward, communities should be moving away from
>> > Reviewboard to Phabricator for conducting code review. Sysadmin will
>> > be announcing a timeline for the shutdown of Reviewboard in the near
>> > future.
>>
>> Today i wanted to commit https://phabricator.kde.org/D4432 since the person
>> that opened it does not have a developer account.
>>
>> Easy peasy, it's just a line, i download the patch and then
>>
>> git commit --author ...
>>
>> and what, it says "Authored by rikmills" that's probably not the guys name,
>> but i can click on the name and on https://phabricator.kde.org/p/rikmills/ i
>> learn he is Rik Mills, good.
>>
>> $ git commit --author=="Rik Mills"
>> fatal: --author 'Rik Mills' is not 'Name <email>' and matches no existing
>> author
>>
>> ouch, so i need his email, where do i get it?
>>
>> Nowhere it seems.
>>
>> I resorted to searching for it in identity.kde.org but i think that i can only
>> do that because i have some special power over there that allows me to see
>> everyone's email, and even if everyone can, it's very cumbsersome, and
>> probably what i would end up doing is asking in Differential, the author would
>> have to answer, potentially either him or me forgetting about it.
>>
>> On reviewboard it was as simple as going to
>> https://git.reviewboard.kde.org/users/rikmills/ (that i just realized i could
>> have used instead of identity :D but it's going away so it's not a solution
>> either).
>
> This is the wrong solution.  Phabricator should provide the patch in a format
> that you can apply to the repository with git am -s <patch>, and get the
> original commit message, date and author.
>
> You should never have to enter the author or commit message yourself
> when you are committing something for someone else.

Phabricator also supports Subversion and Mercurial repositories, along
with reviews for which a repository is not set.
It's also debatable which fields from the review should end up in the
commit message.

>
> Fredrik
>

Regards,
Ben


More information about the Kde-frameworks-devel mailing list