You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Sajith Kariyawasam <sa...@wso2.com> on 2014/10/08 09:16:58 UTC

Maintaining Code formatters / templates

Hi Devs,

With the introduction of Code quality standards and guidelines, we need to
maintain set of code templates / formatters which to be used by the
Developers.

Where can we maintain those files? In code repository or any other place?


Thanks,
Sajith

-- 
*Sajith Kariyawasam*


*Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
<http://wso2.com>AMIE (SL)Mobile: +94772269575*

Re: Maintaining Code formatters / templates

Posted by Sajith Kariyawasam <sa...@wso2.com>.
Thanks guys,

+1 for the tools folder.
I added sonar quality profile into
stratos/tools/code-quality/Apache-Stratos-Sonar-Quality-Profile.xml
location.
Will add the other templates and formatters also there

On Wed, Oct 8, 2014 at 11:04 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:
>
>
>
> On Wed, Oct 8, 2014 at 11:01 PM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>> May be we can place them in the tools folder in git.
>
>
> Yah. May be in a directory called "code-quality" in tools.
>>
>>
>> On Wed, Oct 8, 2014 at 9:22 PM, Chamila De Alwis <ch...@wso2.com>
wrote:
>>>
>>> IMO since code formatters don't have anything that would behave
different in different environments, the best choice would be to simply add
it to version control.
>>>
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>>
>>> On Wed, Oct 8, 2014 at 12:46 PM, Sajith Kariyawasam <sa...@wso2.com>
wrote:
>>>>
>>>> Hi Devs,
>>>>
>>>> With the introduction of Code quality standards and guidelines, we
need to maintain set of code templates / formatters which to be used by the
Developers.
>>>>
>>>> Where can we maintain those files? In code repository or any other
place?
>>>>
>>>>
>>>> Thanks,
>>>> Sajith
>>>>
>>>> --
>>>> Sajith Kariyawasam
>>>> Committer and PMC member, Apache Stratos,
>>>> WSO2 Inc., http://wso2.com
>>>> AMIE (SL)
>>>> Mobile: +94772269575
>>>>
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>



-- 
Sajith Kariyawasam
Committer and PMC member, Apache Stratos,
WSO2 Inc., http://wso2.com
AMIE (SL)
Mobile: +94772269575

Re: Maintaining Code formatters / templates

Posted by Lahiru Sandaruwan <la...@wso2.com>.
On Wed, Oct 8, 2014 at 11:01 PM, Imesh Gunaratne <im...@apache.org> wrote:

> May be we can place them in the tools folder in git.
>

Yah. May be in a directory called "code-quality" in tools.

>
> On Wed, Oct 8, 2014 at 9:22 PM, Chamila De Alwis <ch...@wso2.com>
> wrote:
>
>> IMO since code formatters don't have anything that would behave different
>> in different environments, the best choice would be to simply add it to
>> version control.
>>
>>
>> Regards,
>> Chamila de Alwis
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>> On Wed, Oct 8, 2014 at 12:46 PM, Sajith Kariyawasam <sa...@wso2.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> With the introduction of Code quality standards and guidelines, we need
>>> to maintain set of code templates / formatters which to be used by the
>>> Developers.
>>>
>>> Where can we maintain those files? In code repository or any other place?
>>>
>>>
>>> Thanks,
>>> Sajith
>>>
>>> --
>>> *Sajith Kariyawasam*
>>>
>>>
>>> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
>>> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>>>
>>
>>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Maintaining Code formatters / templates

Posted by Imesh Gunaratne <im...@apache.org>.
May be we can place them in the tools folder in git.

On Wed, Oct 8, 2014 at 9:22 PM, Chamila De Alwis <ch...@wso2.com> wrote:

> IMO since code formatters don't have anything that would behave different
> in different environments, the best choice would be to simply add it to
> version control.
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Wed, Oct 8, 2014 at 12:46 PM, Sajith Kariyawasam <sa...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> With the introduction of Code quality standards and guidelines, we need
>> to maintain set of code templates / formatters which to be used by the
>> Developers.
>>
>> Where can we maintain those files? In code repository or any other place?
>>
>>
>> Thanks,
>> Sajith
>>
>> --
>> *Sajith Kariyawasam*
>>
>>
>> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
>> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>>
>
>


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: Maintaining Code formatters / templates

Posted by Chamila De Alwis <ch...@wso2.com>.
IMO since code formatters don't have anything that would behave different
in different environments, the best choice would be to simply add it to
version control.


Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Wed, Oct 8, 2014 at 12:46 PM, Sajith Kariyawasam <sa...@wso2.com> wrote:

> Hi Devs,
>
> With the introduction of Code quality standards and guidelines, we need to
> maintain set of code templates / formatters which to be used by the
> Developers.
>
> Where can we maintain those files? In code repository or any other place?
>
>
> Thanks,
> Sajith
>
> --
> *Sajith Kariyawasam*
>
>
> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>