[hibernate-dev] Copyright notice
Emmanuel Bernard
emmanuel at hibernate.org
Tue Oct 6 08:24:42 EDT 2009
If LF is really considered straight as opposed to CRLF, then option B.
But are you sure it's not a problem with your checkout / svn client
config? You did not have the problem before.
On 6 oct. 09, at 13:26, Sanne Grinovero wrote:
> Hi,
> I'm having trouble with line terminators, it appears that many source
> files in Hibernate Search are having CRLF as line terminator (windows
> style),
> while most files are using LF (Unix style).
> As I use LF (working on Fedora), and I'm changing all source files
> because of the copyright notice, if I commit it appears I've
> completely rewritten many classes, making in hard to track changes as
> each line is considered different than before.
>
> I see 2 options here:
>
> A) to mark these wrong-formatted (IMHO) source files with a Subversion
> property svn:eol-style=CRLF
> B) to recommit as-is, fixing line formats but making it hard to spot
> changes (whole files replaced)
>
> I'd vote for B to make it straight before it gets more complex.
>
> WDYT?
>
> Sanne
>
> 2009/10/6 Emmanuel Bernard <emmanuel at hibernate.org>:
>> Yes that's a good time.
>>
>> On 6 oct. 09, at 10:19, Sanne Grinovero wrote:
>>
>>> Search is missing them, AFAIK on all files;
>>> Eclipse has a plugin to add/edit the copyright notice on all sources
>>> (I've always avoided it to avoid conflicts) but if you think it's a
>>> good time to add them all I can do that.
>>> (Nobody has pending changes right?)
>>>
>>> Sanne
>>>
>>> 2009/10/6 Emmanuel Bernard <emmanuel at hibernate.org>:
>>>>
>>>> Here are a few guidelines on copyright notice.
>>>>
>>>> When you touch an existing file or create a new one, set 2009 to
>>>> the
>>>> copyright notice (no need to keep the previous year around).
>>>>
>>>> Aside from that the correct copyright notice is as followed:
>>>> - notice Red Hat, Inc. and Red Hat, Inc. and/or its affiliates
>>>>
>>>> /*
>>>> * Hibernate, Relational Persistence for Idiomatic Java
>>>> *
>>>> * Copyright (c) 2009, Red Hat, Inc. and/or its affiliates or
>>>> third-
>>>> party contributors as
>>>> * indicated by the @author tags or express copyright attribution
>>>> * statements applied by the authors. All third-party
>>>> contributions
>>>> are
>>>> * distributed under license by Red Hat, Inc.
>>>> *
>>>> * This copyrighted material is made available to anyone wishing to
>>>> use, modify,
>>>> * copy, or redistribute it subject to the terms and conditions of
>>>> the GNU
>>>> * Lesser General Public License, as published by the Free Software
>>>> Foundation.
>>>> *
>>>> * This program is distributed in the hope that it will be useful,
>>>> * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>>> MERCHANTABILITY
>>>> * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
>>>> Public License
>>>> * for more details.
>>>> *
>>>> * You should have received a copy of the GNU Lesser General Public
>>>> License
>>>> * along with this distribution; if not, write to:
>>>> * Free Software Foundation, Inc.
>>>> * 51 Franklin Street, Fifth Floor
>>>> * Boston, MA 02110-1301 USA
>>>> */
>>>> _______________________________________________
>>>> hibernate-dev mailing list
>>>> hibernate-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>
>>
>>
More information about the hibernate-dev
mailing list