[wildfly-dev] Github repo line endings unification advice

Lukas Kubik lkubik at redhat.com
Mon Jun 15 14:30:02 EDT 2015


Hi Eduardo,

I haven't found this settings in the Wildfly checkstyle settings so that's one of the reasons why I asked about the line endings.
Thanks for the possible solution.


Regards,
Lukas

----- Original Message -----
From: "Eduardo Sant´Ana da Silva" <eduardo.santanadasilva at gmail.com>
To: "Lukas Kubik" <lkubik at redhat.com>
Cc: wildfly-dev at lists.jboss.org
Sent: Wednesday, June 10, 2015 1:52:50 PM
Subject: Re: [wildfly-dev] Github repo line endings unification advice

I believe that this is done by checkstyle.
I found this on the checkstyle project:

https://github.com/checkstyle/checkstyle/issues/893

<module name="RegexpMultiline">
    <property name="format" value="\r\n"/>
    <property name="message" value="Do not use Windows line endings"/>
</module>


2015-06-10 8:41 GMT-03:00 Lukas Kubik <lkubik at redhat.com>:

> Hi,
>
> I'm sorry that this is a little bit off-topic question but I already asked
> in the forum and nobody answered me. How do you guys deal with the line
> endings unification in your github repo? I saw that you don't have for
> example .jsp files in the .gitattributes file however all .jsp files in the
> WF repo uses LF ending. How do you check that windows CRLF won't get merged
> with some PR?
>
> We are currently discussing the unification of the line endings in the
> Keycloak repo so I would like to kindly ask you for any advice.
>
>
> Thank you for the answer.
> Regards,
>
> Lukas
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>



-- 
__________________________
Eduardo Sant'Ana da Silva - Dr.
Pesquisador / Consultor de TI



More information about the wildfly-dev mailing list