RA Coding standards and contribution
Posted: Sun Jul 21, 2013 5:15 am
Okay, So I've been doing a lot of updates and such on my own code but I'm ready to re-integrate back to the standard RA dev branch on github so I can get updates you guys have been making instead of being off on my own little fork. I would like to contribute to the project. I'm hoping you guys are receptive to this.
Are you okay with the standard github way of doing things? I fork, make my changes, push them into my fork, and then submit pull requests?
I'm using Jan Baeyens eclipse arduino plugin http://blog.baeyens.it/#home. The newest version is working really well for me. To make this work with git I cloned my fork, created a new general eclipse project pointing to the clone folder, and then created a new arduino sketch using the eclipse plugin. Then I add the required RA libraries from the general project via the arduino plugin interface. When I need to push or pull I will do that via the general project. I think this should work out okay.
What I'm wondering is do you have particular set of coding standards you are using for the RA libraries? If so I can setup the eclipse code formatter to those standards and make my life easier.
So far it looks like tabs instead of spaces. Also looks like method and control statement opening braces on a new line. That is what I usually use for my symfony php coding so I'm used to that. I usually do opening braces on the same line with C and javascript though. 6 to one, half dozen to the other, doesn't matter to me, just need to know how you guys want things formatted and I'll submit my pull requests like that.
Are you okay with the standard github way of doing things? I fork, make my changes, push them into my fork, and then submit pull requests?
I'm using Jan Baeyens eclipse arduino plugin http://blog.baeyens.it/#home. The newest version is working really well for me. To make this work with git I cloned my fork, created a new general eclipse project pointing to the clone folder, and then created a new arduino sketch using the eclipse plugin. Then I add the required RA libraries from the general project via the arduino plugin interface. When I need to push or pull I will do that via the general project. I think this should work out okay.
What I'm wondering is do you have particular set of coding standards you are using for the RA libraries? If so I can setup the eclipse code formatter to those standards and make my life easier.
So far it looks like tabs instead of spaces. Also looks like method and control statement opening braces on a new line. That is what I usually use for my symfony php coding so I'm used to that. I usually do opening braces on the same line with C and javascript though. 6 to one, half dozen to the other, doesn't matter to me, just need to know how you guys want things formatted and I'll submit my pull requests like that.