Ummm... what do you think when you think of a rejection policy? We already have patch rejection policies when problems are found...
-David On Jan 15, 2007, at 9:44 PM, Chris Howe wrote:
I agree. I think it's better that we strongly encourage certain practices (as we are doing now) and bring people to notice when those practices could be improved, but rejection policies put your _means perspective ahead of your _ends. Contributions may be easier to review, but I can gaurantee you with rejection policies, you will then have less of it to review and thereby less solutions making it back into the project. --- "David E. Jones" <[EMAIL PROTECTED]> wrote:Yes, we want more people, but I don't think anyone wants indiscriminate changes going into SVN! I hate surprises when I check out as much as the next guy, probably more than the next guy in many cases. Thinking about the next guy is the real key here. You may want to get your patches in ASAP, but if your patch breaks existing code (for example), then that needs to be fixed before the commit is done (either by the committer, the contributor, or an interested third party). So, yeah, that slows things down and is inconvenient, but keep in mind that a large portion of patches that come into OFBiz break existing functionality. This seems to happen around once a week or so, at least. It's great that people want to contribute, but in or to contribute to something as large and complex as OFBiz a large amount of effort is necessary, and anyone that wants to help out will err on the side of extra effort, caution and review, and consideration of more general requirements and designs rather just one's own requirements. -David On Jan 15, 2007, at 7:42 PM, Jonathon -- Improov wrote:Heh. True. I definitely want MORE people involvedin OFBiz.But since I'm not a committer, I'd rather makethings easier forthe committers. I have no control over how easy ordifficult it isto handle patches with "extra unintendedfootprints".If I were a committer, I would try toautomatically filter outformatting changes in my audit, and then INCLUDEthe formattingchanges. After all, there's no harm removing someextra spaces atthe end of lines, part of clean up. We often try to make things easier for the personwho is doing atask that we have no control over. Eg, I'd keep mymouth reallywide open for my dentist just so his vision is20/20, no argumentsfrom me; I could afford to be slack about this"mouth wide-openpolicy" if I were able to do the dentistry myself. But you're certainly right that it'll exclude somepeople,especially folks who use editors that do not givevery much controlto users. Jonathon Chris Howe wrote:I don't know that rejection policies are very community friendly. Treating SVN code changeslikethe keeper of the Bridge of Death (Monty Python Reference, smile) may find less people willing todoin this do-ocracy. Many of us rather like what'sleftof our anarco-sydicalist commune (oh look,there'sanother :-) ). --- Jonathon -- Improov <[EMAIL PROTECTED]> wrote:David, I agree with the rejection policy. One suggestion on procedure to take when self-reviewing a patch before submitting it.Look atthe diff to see if there are changes we cannotaccountfor. Using KDiff also makes things easier, evenwhen dealing withformatting changes. In Emacs, it's also easy to go through every setofchanges, do an interactive-search for 1st entryof each set, andsee if the 2nd entry is highlighted similarly. Meaning, if it ishighlighted similarly,the set of changes is bogus (formatting only). In general, we should submit patches that are intentional, ie just the intended changes only.We should notsubmit patches that contain unintended changes that have extra unintended footprints. Jonathon David E. Jones wrote:Moving this back to the mailing list... On Jan 15, 2007, at 5:34 PM, Adrian Crum wrote:David E. Jones wrote:When reviewing a patch lines with formattingchanges only areEXTREMELY time consuming, and the patchattached that issue is agood example of a painful one. For each ofthose line you have tostare at it looking at every character tryingto figure out what thepoint of the bloody change was, or to makesurethat the change is"invisible"...That really puzzles me. You keep mentioningformatting changes when Idon't see any. I didn't make any formattingchanges when modifying thefiles. Even now when I look at the patch inJira,it shows only thelines I changed in the file. *shrug*As others may have the same question I'llanswerit on the mailing list.Below is the first section from theframework_v2.patch file on the[https://issues.apache.org/jira/browse/OFBIZ-605]issue.Each change is marked with a "-" for a lineremoved or a "+" for a lineadded. First Set: formatting, or "invisible" change Second Set: add comment (not necessary, BTW asitdescribes somethingthat no longer exists; if people want to seeoldstuff they can look atthe SVN history); remove tabstyles.css link tag Third Set: formatting, or "invisible" change Of all of these changes, only the "removetabstyles.css link tag" wasactually intended and necessary, but getting tothis fact when reviewingthe changes takes some time... this making itmoredifficult to review,commit, etc. People tend to slip things into patchesaccidentally all the time. I'mtempted to begun the voting process for a newpolicy that says that ifthere is anything in the patch file notdescribedin the summary of thepatch, then it will be rejected... -David ======================== Index: common/webcommon/includes/header.ftl=== message truncated ===
smime.p7s
Description: S/MIME cryptographic signature