I wanted to ask about additions to gendarme framework. In several
rules of mine I am checking the state of the stack by investigating
preceding instructions - the return types of methods, loading locals,
method parameters, etc. I think it would be useful to add such
functionality to gendarme framework itself - checking the type of the
stack topmost value. How should I approach this? What do I put in the
repository, the diffs, the added/updated files or the whole framework
with newly introduced changes?
Lukasz
> I wanted to ask about additions to gendarme framework. In several
> rules of mine I am checking the state of the stack by investigating
> preceding instructions - the return types of methods, loading locals,
> method parameters, etc. I think it would be useful to add such
> functionality to gendarme framework itself - checking the type of the
> stack topmost value. How should I approach this? What do I put in the
> repository, the diffs, the added/updated files or the whole framework
> with newly introduced changes?
In my case, I wrote a patch for allow some parameter config in the
rules.xml file. Then, I sent a mail with the patch attached to the
group, you can see it.
And, I save a copy in my computer and other in the svn, I created a
patches directory in my personal directory in the svn. Then, if my
computer crashes, there won't be any problem recovering the patch.
And finally, for create the patch, I have made a checkout from the cecil
module in the anonsvn module, then I write my code and when all is
tested and working I made a svn diff, then I get the patch.
Hope help you.
Néstor.
Gendarme SVN repo has been kept (mostly) identical this summer to
ensure everyone wouldn't need to update (or sync) from it everyday.
However there are changes planned and coming :-)