Re: a friendly suggestion for developers when uploading patches

2014-12-17 Thread Steve Loughran
On 16 December 2014 at 16:24, Yongjun Zhang wrote: > Interesting to see that the setting is not configurable and it is not a > simple fix. > that's the price of closed source software -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which

Re: a friendly suggestion for developers when uploading patches

2014-12-16 Thread Yongjun Zhang
bout how many digits to use, I personally find it's > > not > > > > > > > annoying > > > > > > > >> to > > > > > > > >> >> > type > > > > > > > >> >> > >> one extra digit, but as long as we

Re: a friendly suggestion for developers when uploading patches

2014-12-15 Thread Konstantin Shvachko
>> >> > >> About the rest of the name, as long as we keep it the > > same > > > > for > > > > > > the > > > > > > >> >> same > > > > > > >> >> > >> patch, it would work fi

Re: a friendly suggestion for developers when uploading patches

2014-12-15 Thread Andrew Wang
gt; > >> >> > >> > > > > > >> >> > >> *.[branchName.].patch* > > > > > >> >> > >> > > > > > >> >> > >> - Example jiraNameId: HADOOP-1234, HDFS-4321 > > > > &g

Re: a friendly suggestion for developers when uploading patches

2014-12-15 Thread Konstantin Shvachko
n there is > no > > > > need > > > > >> for > > > > >> >> > the > > > > >> >> > >> branchName portion, otherwise, specify the branchName > > > > accordingly. > > > > >> >> > Example

Re: a friendly suggestion for developers when uploading patches

2014-12-14 Thread Steve Loughran
> > >> >> better > > > >> >> > >> sorting of different versions of patches. > > > >> >> > >> > > > >> >> > >> Would anyone who has the privilege please help to modify the > > > >> followi

Re: a friendly suggestion for developers when uploading patches

2014-12-13 Thread Yongjun Zhang
to modify the > > >> following > > >> >> > page > > >> >> > >> > > >> >> > >> > http://wiki.apache.org/hadoop/HowToContribute#Naming_your_patch > > >> >> > >> > >

Re: a friendly suggestion for developers when uploading patches

2014-12-13 Thread Andrew Wang
lowing > > >> >> > page > > >> >> > >> > > >> >> > >> > http://wiki.apache.org/hadoop/HowToContribute#Naming_your_patch > > >> >> > >> > > >> >> > >> accordingly? >

Re: a friendly suggestion for developers when uploading patches

2014-12-13 Thread Konstantin Shvachko
t; >> > >> >> > >> accordingly? > >> >> > >> > >> >> > >> Thanks a lot. > >> >> > >> > >> >> > >> --Yongjun > >> >> > >> > >> >

Re: a friendly suggestion for developers when uploading patches

2014-12-04 Thread Tsuyoshi OZAWA
du >> >> > >> >> > >> wrote: >> >> > >> >> >> > >>> On Wed, Nov 26, 2014 at 2:58 PM, Karthik Kambatla < >> >> ka...@cloudera.com> >> >> > >>> wrote: >> >> >

Re: a friendly suggestion for developers when uploading patches

2014-12-04 Thread Yongjun Zhang
ka...@cloudera.com> > >> > >>> wrote: > >> > >>> > >> > >>>> Yongjun, thanks for starting this thread. I personally like > Steve's > >> > >>>> suggestions, but think two digits should be enough. > >

Re: a friendly suggestion for developers when uploading patches

2014-12-04 Thread Harsh J
t;> >> > >>>> Yongjun, thanks for starting this thread. I personally like Steve's >> > >>>> suggestions, but think two digits should be enough. >> > >>>> >> > >>>> I propose we limit the restrictions to vers

Re: a friendly suggestion for developers when uploading patches

2014-12-02 Thread Yongjun Zhang
e enough. > > >>>> > > >>>> I propose we limit the restrictions to versioning the patches with > > >>> version > > >>>> numbers and .patch extension. People have their own preferences for > > the > > >>>> rest

Re: a friendly suggestion for developers when uploading patches

2014-12-02 Thread Andrew Wang
, mr, mapred) and I > don't > >>>> see a gain in forcing everyone to use one. > >>>> > >>>> Putting the suggestions (tight and loose) on the wiki would help new > >>>> contributors as well. > >>>> > >>>&g

Re: a friendly suggestion for developers when uploading patches

2014-12-02 Thread Allen Wittenauer
tributors as well. >>>> >>>> >>> +1 >>> >>> best, >>> Colin >>> >>> >>>> On Wed, Nov 26, 2014 at 2:43 PM, Eric Payne >>> >>>> >>>> wrote: >>>> >&

Re: a friendly suggestion for developers when uploading patches

2014-12-02 Thread Tsuyoshi OZAWA
gt;> > On Wed, Nov 26, 2014 at 2:43 PM, Eric Payne >> > > > >> > wrote: >> > >> > > +1.The "different color for newest patch" doesn't work very well if you >> > > are color blind, so I do appreciate a revision number in the nam

Re: a friendly suggestion for developers when uploading patches

2014-12-02 Thread Yongjun Zhang
> > > +1.The "different color for newest patch" doesn't work very well if you > > > are color blind, so I do appreciate a revision number in the name. > > > > > > From: Yongjun Zhang > > > To: common-dev@hadoop.apache.org > > > Sent:

Re: a friendly suggestion for developers when uploading patches

2014-12-01 Thread Colin McCabe
Yongjun Zhang > > To: common-dev@hadoop.apache.org > > Sent: Tuesday, November 25, 2014 11:37 PM > > Subject: Re: a friendly suggestion for developers when uploading patches > > > > Thanks Harsh for the info and Andrew for sharing the script. It looks > that &

Re: a friendly suggestion for developers when uploading patches

2014-11-27 Thread Steve Loughran
ted, leading zeros make it easy to sort in directories when downloaded. Works well if you download incoming patches to the same dir, or save your own generated patches to the same folder (which I do to track what number to use next & maintain that history) On 26 November 2014 at 23:52, Ted Yu wr

Re: a friendly suggestion for developers when uploading patches

2014-11-26 Thread Ted Yu
bq. in the format of 001 It is hard to anticipate how many revisions a patch would go through. So the leading zero's in the rev number should be optional. Cheers On Sat, Nov 22, 2014 at 11:11 AM, Yongjun Zhang wrote: > Hi Steve, > > Thanks for the good suggestion. > > I like the idea to have e

Re: a friendly suggestion for developers when uploading patches

2014-11-26 Thread Karthik Kambatla
doesn't work very well if you > are color blind, so I do appreciate a revision number in the name. > > From: Yongjun Zhang > To: common-dev@hadoop.apache.org > Sent: Tuesday, November 25, 2014 11:37 PM > Subject: Re: a friendly suggestion for developers when uploa

Re: a friendly suggestion for developers when uploading patches

2014-11-26 Thread Eric Payne
+1.The "different color for newest patch" doesn't work very well if you are color blind, so I do appreciate a revision number in the name. From: Yongjun Zhang To: common-dev@hadoop.apache.org Sent: Tuesday, November 25, 2014 11:37 PM Subject: Re: a friendly suggestion

Re: a friendly suggestion for developers when uploading patches

2014-11-25 Thread Yongjun Zhang
Thanks Harsh for the info and Andrew for sharing the script. It looks that the script is intelligent enough to pick the latest attachment even if all attachments have the same name. Yet, I hope we use the following as the guideline for patch names: <*projectName*>-<*jiraNum*>-<*revNum*>.patch S

Re: a friendly suggestion for developers when uploading patches

2014-11-25 Thread Andrew Wang
This might be a good time to mention my fetch-patch script, I use it to easily download the latest attachment on a jira: https://github.com/umbrant/dotfiles/blob/master/bin/fetch-patch On Tue, Nov 25, 2014 at 5:44 PM, Harsh J wrote: > For the same filename, you can observe also that the JIRA co

Re: a friendly suggestion for developers when uploading patches

2014-11-25 Thread Harsh J
For the same filename, you can observe also that the JIRA colors the latest one to be different than the older ones automatically - this is what I rely on. On Sat, Nov 22, 2014 at 12:36 AM, Yongjun Zhang wrote: > Hi, > > When I look at patches uploaded to jiras, from time to time I notice that >

Re: a friendly suggestion for developers when uploading patches

2014-11-22 Thread Yongjun Zhang
Hi Ted, Thanks for sharing, this is a good tool to view the patch. For those who haven't tried: once you install it, then when you mouse-click on an uploaded patch in Chrome, Chrome will render the patch as if you are diffing the patch against the base side by side, with left side showing the bas

Re: a friendly suggestion for developers when uploading patches

2014-11-22 Thread Yongjun Zhang
Hi Steve, Thanks for the good suggestion. I like the idea to have even a more specific guideline for patch file naming, and I agree using 3-digit is a good choice here: <*projectName*>-<*jiraNum*>-<*revNum*>.patch where revNum is 3-digit, in the format of 001, 002, ..., 010, 011, ... Thanks.

Re: a friendly suggestion for developers when uploading patches

2014-11-22 Thread Ted Yu
For patch viewing, David Deng has a Chrome extension for rendering patch on JIRA. See this thread: http://search-hadoop.com/m/DHED4LHEYI FYI On Sat, Nov 22, 2014 at 10:24 AM, Steve Loughran wrote: > can we do HADOOP--001.patch > > with the 001 being the revision. > > -That numbering scheme

Re: a friendly suggestion for developers when uploading patches

2014-11-22 Thread Steve Loughran
can we do HADOOP--001.patch with the 001 being the revision. -That numbering scheme guarantees listing order in directories &c -having .patch come after ensures that those people who have .patch bound in their browser to a text editor (e.g. textmate) can view the patch with ease I know havin

Re: a friendly suggestion for developers when uploading patches

2014-11-21 Thread Ted Yu
bq. include a revision number in the patch file name +1 On Fri, Nov 21, 2014 at 11:06 AM, Yongjun Zhang wrote: > Hi, > > When I look at patches uploaded to jiras, from time to time I notice that > different revisions of the patch is uploaded with the same patch file name, > some time for quite

a friendly suggestion for developers when uploading patches

2014-11-21 Thread Yongjun Zhang
Hi, When I look at patches uploaded to jiras, from time to time I notice that different revisions of the patch is uploaded with the same patch file name, some time for quite a few times. It's confusing which is which. I'd suggest that as a guideline, we do the following when uploading a patch: