[hibernate-dev] Copyright notice
sanne.grinovero at gmail.com
Tue Oct 6 07:26:06 EDT 2009
I'm having trouble with line terminators, it appears that many source
files in Hibernate Search are having CRLF as line terminator (windows
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
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.
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?)
>> 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
>>> * 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
>>> * This program is distributed in the hope that it will be useful,
>>> * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>> * 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
>>> * 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
More information about the hibernate-dev