Re: Drill commits with improper author name

2018-05-14 Thread Timothy Farkas
Thanks Path,

I'll be sure to attribute any formatting changes I make to myself from now on.

Tim


From: Vlad Rozov 
Sent: Friday, May 11, 2018 11:16:18 PM
To: dev@drill.apache.org
Subject: Re: Drill commits with improper author name

My 2 cents:

1. Most of the time massive format related changes are done using tools
such as IDE or maven plugins and they are not a result of manual editing
source code and there is no IP involved into those changes.
2. In many cases code refactoring (moving class from one package to
another for example) results in incorrect author being attributed by git
(it is possible to force git to track changes properly, but it requires
additional effort on a contributor side and I don't think that Drill
follows that practice).
2. Git is not the only way Apache accepts contributions. Contributors
are not required to have git (and/or svn) account and may contribute by
attaching a patch to JIRA, so SCM may not always have info on a
contributor. Even when SCM(git) does not have info on who contributed a
patch, that information is always available in JIRA.

Vlad

On 5/11/18 15:25, Parth Chandra wrote:
> Ted as usual puts it succinctly. It doesn't matter what the nature of the
> change, the author name should be accurate.
>
> Not blaming anyone, we frequently look to other projects to learn how
> things are done. Let's just not do it in Drill.
>
>
>
> On Fri, May 11, 2018 at 3:10 PM, Ted Dunning  wrote:
>
>> Tim,
>>
>> It is important to attribute *all* changes to after real person. If you
>> make a change, we should track back to you. If you, as a committer accept a
>> change from someone else, the original author should be preserved and your
>> name should be recorded as well.
>>
>> A big claim that is made by all Apache projects is that provenance of all
>> changes is documented. We have to support that claim by credit the right
>> person.
>>
>> On Fri, May 11, 2018, 12:51 Timothy Farkas  wrote:
>>
>>> Hi Parth,
>>>
>>> I'm the culprit for that. It was suggested during the code review for my
>>> change that sweeping formatting only changes should be attributed to a
>> fake
>>> Drill Dev user. Having this separate commit was approved by the reviewer
>>> when my change was reviewed. This practice is also done in other open
>>> source projects such as Apache Apex, see an example of such a commit here
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_apex-2Dcore_commit_&d=DwICaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=HtGhZK8op5Mwg0z9TjERBfHDra-WjpD8Tm__dfy2VBs&s=TaQco0GD1Gen16M8KLSBwsyTYDhbJq2hUtQBj5h8r5o&e=
>> 4a91c30c25c0c10562aec4350fb03e40a06d4a89
>>> .
>>>
>>> If this is not the right way to go about things, how should formatting
>>> only changes be committed? I will likely be making more formatting
>> changes
>>> as I improve the checkstyle checks and want to make sure I follow the
>> right
>>> process.
>>>
>>> Thanks,
>>> Tim
>>>
>>> 
>>> From: Parth Chandra 
>>> Sent: Friday, May 11, 2018 11:59:09 AM
>>> To: dev
>>> Subject: Drill commits with improper author name
>>>
>>> Can we please not use Drill-Dev as the author email?
>>> Committers please watch out and ask contributors to provide a valid
>> email.
>>>
>>>
>>>
>>>
>>> This is an automated email from the ASF dual-hosted git repository.
>>>> in repository
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__gitbox.
>> apache.org_repos_asf_drill.git&d=DwIBaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=
>> 4eQVr8zB8ZBff-yxTimdOQ&m=lfd0vh9Lq713LfH65fSXfgqQoh7qpIEQoZn76R_h5Gw&s=
>> MyvLwOdgKMfhD1RWp15iDV39r8xI1ry9kkC6zcMsZL8&e=
>>>> commit 8a1a7c53fb211dcba6e7b2f2ce90c28af4b9c518
>>>> Author: Drill Dev 
>>>> AuthorDate: Tue May 8 13:57:37 2018 -0700
>>>>
>>>>  DRILL-6386: Remove unused imports and star imports.
>>>> ---
>>>>
>>>>



Re: Drill commits with improper author name

2018-05-11 Thread Vlad Rozov

My 2 cents:

1. Most of the time massive format related changes are done using tools 
such as IDE or maven plugins and they are not a result of manual editing 
source code and there is no IP involved into those changes.
2. In many cases code refactoring (moving class from one package to 
another for example) results in incorrect author being attributed by git 
(it is possible to force git to track changes properly, but it requires 
additional effort on a contributor side and I don't think that Drill 
follows that practice).
2. Git is not the only way Apache accepts contributions. Contributors 
are not required to have git (and/or svn) account and may contribute by 
attaching a patch to JIRA, so SCM may not always have info on a 
contributor. Even when SCM(git) does not have info on who contributed a 
patch, that information is always available in JIRA.


Vlad

On 5/11/18 15:25, Parth Chandra wrote:

Ted as usual puts it succinctly. It doesn't matter what the nature of the
change, the author name should be accurate.

Not blaming anyone, we frequently look to other projects to learn how
things are done. Let's just not do it in Drill.



On Fri, May 11, 2018 at 3:10 PM, Ted Dunning  wrote:


Tim,

It is important to attribute *all* changes to after real person. If you
make a change, we should track back to you. If you, as a committer accept a
change from someone else, the original author should be preserved and your
name should be recorded as well.

A big claim that is made by all Apache projects is that provenance of all
changes is documented. We have to support that claim by credit the right
person.

On Fri, May 11, 2018, 12:51 Timothy Farkas  wrote:


Hi Parth,

I'm the culprit for that. It was suggested during the code review for my
change that sweeping formatting only changes should be attributed to a

fake

Drill Dev user. Having this separate commit was approved by the reviewer
when my change was reviewed. This practice is also done in other open
source projects such as Apache Apex, see an example of such a commit here
https://github.com/apache/apex-core/commit/

4a91c30c25c0c10562aec4350fb03e40a06d4a89

.

If this is not the right way to go about things, how should formatting
only changes be committed? I will likely be making more formatting

changes

as I improve the checkstyle checks and want to make sure I follow the

right

process.

Thanks,
Tim


From: Parth Chandra 
Sent: Friday, May 11, 2018 11:59:09 AM
To: dev
Subject: Drill commits with improper author name

Can we please not use Drill-Dev as the author email?
Committers please watch out and ask contributors to provide a valid

email.





This is an automated email from the ASF dual-hosted git repository.

in repository

https://urldefense.proofpoint.com/v2/url?u=https-3A__gitbox.

apache.org_repos_asf_drill.git&d=DwIBaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=
4eQVr8zB8ZBff-yxTimdOQ&m=lfd0vh9Lq713LfH65fSXfgqQoh7qpIEQoZn76R_h5Gw&s=
MyvLwOdgKMfhD1RWp15iDV39r8xI1ry9kkC6zcMsZL8&e=

commit 8a1a7c53fb211dcba6e7b2f2ce90c28af4b9c518
Author: Drill Dev 
AuthorDate: Tue May 8 13:57:37 2018 -0700

 DRILL-6386: Remove unused imports and star imports.
---






Re: Drill commits with improper author name

2018-05-11 Thread Parth Chandra
Ted as usual puts it succinctly. It doesn't matter what the nature of the
change, the author name should be accurate.

Not blaming anyone, we frequently look to other projects to learn how
things are done. Let's just not do it in Drill.



On Fri, May 11, 2018 at 3:10 PM, Ted Dunning  wrote:

> Tim,
>
> It is important to attribute *all* changes to after real person. If you
> make a change, we should track back to you. If you, as a committer accept a
> change from someone else, the original author should be preserved and your
> name should be recorded as well.
>
> A big claim that is made by all Apache projects is that provenance of all
> changes is documented. We have to support that claim by credit the right
> person.
>
> On Fri, May 11, 2018, 12:51 Timothy Farkas  wrote:
>
> > Hi Parth,
> >
> > I'm the culprit for that. It was suggested during the code review for my
> > change that sweeping formatting only changes should be attributed to a
> fake
> > Drill Dev user. Having this separate commit was approved by the reviewer
> > when my change was reviewed. This practice is also done in other open
> > source projects such as Apache Apex, see an example of such a commit here
> > https://github.com/apache/apex-core/commit/
> 4a91c30c25c0c10562aec4350fb03e40a06d4a89
> > .
> >
> > If this is not the right way to go about things, how should formatting
> > only changes be committed? I will likely be making more formatting
> changes
> > as I improve the checkstyle checks and want to make sure I follow the
> right
> > process.
> >
> > Thanks,
> > Tim
> >
> > 
> > From: Parth Chandra 
> > Sent: Friday, May 11, 2018 11:59:09 AM
> > To: dev
> > Subject: Drill commits with improper author name
> >
> > Can we please not use Drill-Dev as the author email?
> > Committers please watch out and ask contributors to provide a valid
> email.
> >
> >
> >
> >
> >
> > This is an automated email from the ASF dual-hosted git repository.
> > >
> > > in repository
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__gitbox.
> apache.org_repos_asf_drill.git&d=DwIBaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=
> 4eQVr8zB8ZBff-yxTimdOQ&m=lfd0vh9Lq713LfH65fSXfgqQoh7qpIEQoZn76R_h5Gw&s=
> MyvLwOdgKMfhD1RWp15iDV39r8xI1ry9kkC6zcMsZL8&e=
> > >
> > > commit 8a1a7c53fb211dcba6e7b2f2ce90c28af4b9c518
> > > Author: Drill Dev 
> > > AuthorDate: Tue May 8 13:57:37 2018 -0700
> > >
> > > DRILL-6386: Remove unused imports and star imports.
> > > ---
> > >
> > >
> >
>


Re: Drill commits with improper author name

2018-05-11 Thread Ted Dunning
Tim,

It is important to attribute *all* changes to after real person. If you
make a change, we should track back to you. If you, as a committer accept a
change from someone else, the original author should be preserved and your
name should be recorded as well.

A big claim that is made by all Apache projects is that provenance of all
changes is documented. We have to support that claim by credit the right
person.

On Fri, May 11, 2018, 12:51 Timothy Farkas  wrote:

> Hi Parth,
>
> I'm the culprit for that. It was suggested during the code review for my
> change that sweeping formatting only changes should be attributed to a fake
> Drill Dev user. Having this separate commit was approved by the reviewer
> when my change was reviewed. This practice is also done in other open
> source projects such as Apache Apex, see an example of such a commit here
> https://github.com/apache/apex-core/commit/4a91c30c25c0c10562aec4350fb03e40a06d4a89
> .
>
> If this is not the right way to go about things, how should formatting
> only changes be committed? I will likely be making more formatting changes
> as I improve the checkstyle checks and want to make sure I follow the right
> process.
>
> Thanks,
> Tim
>
> 
> From: Parth Chandra 
> Sent: Friday, May 11, 2018 11:59:09 AM
> To: dev
> Subject: Drill commits with improper author name
>
> Can we please not use Drill-Dev as the author email?
> Committers please watch out and ask contributors to provide a valid email.
>
>
>
>
>
> This is an automated email from the ASF dual-hosted git repository.
> >
> > in repository
> https://urldefense.proofpoint.com/v2/url?u=https-3A__gitbox.apache.org_repos_asf_drill.git&d=DwIBaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=lfd0vh9Lq713LfH65fSXfgqQoh7qpIEQoZn76R_h5Gw&s=MyvLwOdgKMfhD1RWp15iDV39r8xI1ry9kkC6zcMsZL8&e=
> >
> > commit 8a1a7c53fb211dcba6e7b2f2ce90c28af4b9c518
> > Author: Drill Dev 
> > AuthorDate: Tue May 8 13:57:37 2018 -0700
> >
> > DRILL-6386: Remove unused imports and star imports.
> > ---
> >
> >
>


Re: Drill commits with improper author name

2018-05-11 Thread Timothy Farkas
Hi Parth,

I'm the culprit for that. It was suggested during the code review for my change 
that sweeping formatting only changes should be attributed to a fake Drill Dev 
user. Having this separate commit was approved by the reviewer when my change 
was reviewed. This practice is also done in other open source projects such as 
Apache Apex, see an example of such a commit here 
https://github.com/apache/apex-core/commit/4a91c30c25c0c10562aec4350fb03e40a06d4a89
 .

If this is not the right way to go about things, how should formatting only 
changes be committed? I will likely be making more formatting changes as I 
improve the checkstyle checks and want to make sure I follow the right process.

Thanks,
Tim


From: Parth Chandra 
Sent: Friday, May 11, 2018 11:59:09 AM
To: dev
Subject: Drill commits with improper author name

Can we please not use Drill-Dev as the author email?
Committers please watch out and ask contributors to provide a valid email.





This is an automated email from the ASF dual-hosted git repository.
>
> in repository 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__gitbox.apache.org_repos_asf_drill.git&d=DwIBaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=lfd0vh9Lq713LfH65fSXfgqQoh7qpIEQoZn76R_h5Gw&s=MyvLwOdgKMfhD1RWp15iDV39r8xI1ry9kkC6zcMsZL8&e=
>
> commit 8a1a7c53fb211dcba6e7b2f2ce90c28af4b9c518
> Author: Drill Dev 
> AuthorDate: Tue May 8 13:57:37 2018 -0700
>
> DRILL-6386: Remove unused imports and star imports.
> ---
>
>


Drill commits with improper author name

2018-05-11 Thread Parth Chandra
Can we please not use Drill-Dev as the author email?
Committers please watch out and ask contributors to provide a valid email.





This is an automated email from the ASF dual-hosted git repository.
>
> in repository https://gitbox.apache.org/repos/asf/drill.git
>
> commit 8a1a7c53fb211dcba6e7b2f2ce90c28af4b9c518
> Author: Drill Dev 
> AuthorDate: Tue May 8 13:57:37 2018 -0700
>
> DRILL-6386: Remove unused imports and star imports.
> ---
>
>