[Mondrian] new p4 submit triggers
John V. Sichi
jsichi at gmail.com
Wed Aug 27 19:45:49 EDT 2008
Rushan Chen wrote:
> Hi John,
> Is it possible to set the formatting triggers for MLO branch?
I can, but unless you integrate down from main, there will be a lot of
existing violations which may cause trouble if you need to check in
anything further on the MLO branch (unless you fix them incrementally as
you go). Do you want me to go ahead with adding the trigger anyway?
The problem with integrating down as Julian suggested is that MLO is a
stabilized release branch, so we don't want any non-cosmetic changes
from main to slip in.
Next release, we'll have started from main, so we'll be starting clean
(the problem this time was that we had branched off before the
enforcement and cleanup came in on main).
> John V. Sichi wrote:
>> Julian has scripted some new enforcement, and I've installed the
>> scripts on the Perforce server. Now if you try to submit a .java file
>> containing tabs, or containing lines which end with spaces, or for
>> which the last line is not
>> // End YerFileName.java
>> you'll get an error describing the problem, and you'll be asked to
>> reattempt the submit after fixing it.
>> If you get any bogus rejects, please let us know and we'll fix the
>> The checking script is available in //open/util/bin/checkFile, and you
>> can run it locally if you need to (the diagnostics should be the same
>> as what the server spits back).
>> Mondrian currently has one file in violation; it'll need to be fixed
>> as part of its next edit:
>> jvs at kotick:~/open/mondrian/src/main/mondrian$ checkFile */*/*/*.java
>> gui/validate/impl/WorkbenchJDBCValidator.java: 8: Line ends in space
>> gui/validate/impl/WorkbenchJDBCValidator.java: 38: Last line should be
>> "// End WorkbenchJDBCValidator.java"
>> Mondrian mailing list
>> Mondrian at pentaho.org
More information about the Mondrian