[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Reference to GPL licence in source files

From: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2006-01-29 17:07:57 CET

Hi Stefan,

I have just implemented #213 (Files draggable from commit dialog). Before I
commit I have a few questions.

What licence header should new files have? Should I take SVNStatusListCtrl.h
as a template? Who's name do I write there?

Some files have a GPL at the top at the file and the following in the
documentation comments. For example: src/TortoiseProc/CopyDlg.h

/**
 * \ingroup TortoiseProc
 * Prompts the user for the required information needed for a copy command.
 * The required information is a single URL to copy the current URL of the
 * working copy to.
 *
 * \par requirements
 * win95 or later
 * winNT4 or later
 * MFC
 *
 * \version 1.0
 * first version
 *
 * \date 11-21-2002
 *
 * \author Stefan Kueng
 *
 * \par license
 * This code is absolutely free to use and modify. The code is provided "as
is" with
 * no expressed or implied warranty. The author accepts no liability if it
causes
 * any damage to your computer, causes your pet to fall ill, increases
baldness
 * or makes your car start emitting strange noises when you start it up.
 * This code has no bugs, just undocumented features!
 */

Shouldn't "\par license" reference the GPL?

I would remove "\par requirements" completely. "win95 and winNT4" support has
been dropped.

"\version" will alway be out out of date. I would also remove that.

I have just noticed that the "about" dialog doesn't mention the licence. I
remember having accepted the licence when installing TSVN but IMHO it should
also be mentioned in the "about" dialog.

Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Jan 29 17:10:04 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.