Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 01/27/2012 05:49 AM, Muthu Subramanian K wrote:
Its nice to see those patches. But, it will be nice to see/use the
tools/scripts directly? Especially if they can be hooked to git (like
the current white space/tabs removal ones)?

@lubos: Alexander is good with scripts, so as a starter he wanted to do
something like
"http://cgit.freedesktop.org/libreoffice/core/commit/?id=59cefd339d0c3fcde5b614d7f142a957397672d9";
. So, yes, I had asked him to give it a shot. I guess, the patch is good
as well?

One problem with scripted mass-modifications is that they might be too aggressive. For example, with a script that changes "( )" -> "()", there might be legitimate uses of "( )" (within string literals, say) that must not be changed. And if the resulting patch is large, even a review may not find those erroneous changes.

Hence, it would be highly desirable to publish any used scripts along with such a patch, so that reviewers can judge better how "dangerous" the patch might be.

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.