Re: 答复: Re: Patches with trivial changes

2017-05-24 Thread Madhan Neethiraj
Colm, Peng.jianhua,

 

> I will encourage future review requests that have a very trivial spelling

> fix to hold on to the fix for a while, so that we can fix multiple spelling

> fixes etc. at the same time.

Consolidating trivial updates into a single patch/JIRA will certainly help.

However, in my experience, such changes do add overheads while

backporting fixes – and as Peng.jianhua rightly pointed out, they add risk

of introducing an error. My suggestion is to avoid updates that solely focus

on trivial changes.

 

> Yes it may make backporting fixes a little more difficult, but it's hardly

> an intractable problem to figure out some whitespace changes between

> branches - it's not as if Ranger is a particularly large project.

The overhead is not only in backporting, but also to folks who currently

have updates (for bug fixes or features) in files modified for trivial changes.

Once again, my suggestion is to avoid updates that solely focus on trivial

changes.

 

> At the same time, we should strictly control the quality of the code

> to avoid similar problems.

Yes, I totally agree here. The more effort we take before a patch make

its way in, the better it is for the project.

 

Thanks,

Madhan

 

From: "peng.jian...@zte.com.cn" <peng.jian...@zte.com.cn>
Reply-To: "dev@ranger.apache.org" <dev@ranger.apache.org>
Date: Wednesday, May 24, 2017 at 2:28 AM
To: "dev@ranger.apache.org" <dev@ranger.apache.org>, 
"comm...@ranger.apache.org" <comm...@ranger.apache.org>
Subject: 答复: Re: Patches with trivial changes

 

Hi Madhan,

 

Merging these small issues to other branches will increase the workload and the 
probability of error. If possible, we can undertake similar tasks when some 
important issues need to be merged into other branches. 

 

With the improvement of quality, these small issues will be gradually reduced 
until the last disappear. The current difficulties will gradually reduce if we 
continue to handle these issues. Otherwise with the function of the perfect, 
such small issue will be accumulated and increased.

At the same time, we should strictly control the quality of the code to avoid 
similar problems.

 

We will respect your opinion and control the quality of the code.

 

Peng.jianhua


发件人: <cohei...@apache.org>;

收件人: <dev@ranger.apache.org>;

抄送人: <comm...@ranger.apache.org>;

日 期 :2017年05月24日 16:49

主 题 :Re: Patches with trivial changes

 

Hi Madhan,

Trivial commits provide a path to get new contributors on board to the
project - something that the project needs IMO. Yes it may make backporting
fixes a little more difficult, but it's hardly an intractable problem to
figure out some whitespace changes between branches - it's not as if Ranger
is a particularly large project.

Having said that I agree that some of the very trivial patches could maybe
be consolidated a bit more. I will encourage future review requests that
have a very trivial spelling fix to hold on to the fix for a while, so that
we can fix multiple spelling fixes etc. at the same time.

Colm.

On Wed, May 24, 2017 at 7:27 AM, Madhan Neethiraj <mad...@apache.org> wrote:

> All,
>
>
>
> I notice a number of recent patches address trivial issues like white
> space, spelling mistakes (one patch just changed a single letter in a
> label). And few other patches update a large number of files for
> trivial/non-functional changes – like whitespaces. I strongly suggest we
> refrain from authoring/encouraging such patches – for many reasons. One of
> the main reasons is the overhead such updates add in backporting
> real/critical fixes (that would come later) to other branches, as these
> changes might force dealing with merge conflicts.
>
>
>
> Since the changes introduced in such patches are not essential, I would
> suggest to take these up when these source files are updated for other
> functional fixes. I would greatly appreciate if the patches focus on
> fixing/enhancing Ranger functionality; this would be benefit the community
> immensely.
>
>
>
> Thanks,
>
> Madhan
>
>
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

 

 



答复: Re: Patches with trivial changes

2017-05-24 Thread peng.jianhua
Hi Madhan,




Merging these small issues to other branches will increase the workload and the 
probability of error. If possible, we can undertake similar tasks when some 
important issues need to be merged into other branches. 




With the improvement of quality, these small issues will be gradually reduced 
until the last disappear. The current difficulties will gradually reduce if we 
continue to handle these issues. Otherwise with the function of the perfect, 
such small issue will be accumulated and increased.

At the same time, we should strictly control the quality of the code to avoid 
similar problems.




We will respect your opinion and control the quality of the code.




Peng.jianhua




发件人: <cohei...@apache.org>







收件人: <dev@ranger.apache.org>
抄送人: <comm...@ranger.apache.org>
日 期 :2017年05月24日 16:49
主 题 :Re: Patches with trivial changes





Hi Madhan,

Trivial commits provide a path to get new contributors on board to the
project - something that the project needs IMO. Yes it may make backporting
fixes a little more difficult, but it's hardly an intractable problem to
figure out some whitespace changes between branches - it's not as if Ranger
is a particularly large project.

Having said that I agree that some of the very trivial patches could maybe
be consolidated a bit more. I will encourage future review requests that
have a very trivial spelling fix to hold on to the fix for a while, so that
we can fix multiple spelling fixes etc. at the same time.

Colm.

On Wed, May 24, 2017 at 7:27 AM, Madhan Neethiraj <mad...@apache.org> wrote:

> All,
>
>
>
> I notice a number of recent patches address trivial issues like white
> space, spelling mistakes (one patch just changed a single letter in a
> label). And few other patches update a large number of files for
> trivial/non-functional changes – like whitespaces. I strongly suggest we
> refrain from authoring/encouraging such patches – for many reasons. One of
> the main reasons is the overhead such updates add in backporting
> real/critical fixes (that would come later) to other branches, as these
> changes might force dealing with merge conflicts.
>
>
>
> Since the changes introduced in such patches are not essential, I would
> suggest to take these up when these source files are updated for other
> functional fixes. I would greatly appreciate if the patches focus on
> fixing/enhancing Ranger functionality this would be benefit the community
> immensely.
>
>
>
> Thanks,
>
> Madhan
>
>
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com