贡献新文件时的GPL版权声明 [英] GPL copyright notice when contributing new files

查看:125
本文介绍了贡献新文件时的GPL版权声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在贡献新文件而不是修改文件时,我该如何写GPL版权声明?在项目中,所有文件均以:

How do I go about writing a GPL copyright notice when contributing new files rather than modifying a file? In the project, all files start with:

/**
 * Some open source application
 * Component Foo
 * (C) 20?? by Scruffy H. Hacker (scruffy@foo.bar)
 * Released under the GPL
 *
 * Awesome description here.
 */

我应该只将我的名字放在版权声明中吗?

Should I only put my name in the copyright notice, like so:

/**
 * Some open source application
 * Component Bar
 * (C) 20?? by Tobier Hackerson <tobier@foo.bar)
 * Released under the GPL
 *
 * Awesome description here.
 */

或者我应该包括该项目的原始创建者吗?

Or should I include the original creator of the project:

/**
 * Some open source application
 * Component Bar
 * (C) 20?? by Scruffy H. Hacker (scruffy@foo.bar)
 * (C) 20?? by Tobier Hackerson (tobier@foo.bar)
 * Released under the GPL
 *
 * Awesome description here.
 */

推荐答案

IANAL

如果原始作者贡献了此文件中的任何代码(例如,您复制了他的一个文件并对其进行了修改),则两个文件均应记入.如果您编写了所有代码,则只需输入名称.

IANAL

If the original author contributed any of the code in this file (you copied one of his files and modified it, for example), then both should be credited. If you wrote all the code, your name is all that's needed.

您应遵循项目模板,但通常情况下,您应包括以下内容:

You should conform to the project template, but normally you'd include something like:

* Released under the GNU General Public License

'GPL'并没有达到应有的精确度.您可能还需要指定版本.查看许可证(版本2

'GPL' is not really as precise as it should be. You might need to specify the version, too. See the license (Version 2 or Version 3) itself for details. As it stands, it could theoretically be released under GPL Version 1, though that's unlikely to be what anyone had in mind (but lawyers would not find any problem with assuming it).

GNU GPL版本2建议(最后,在如何将这些条款应用于新程序"下):

The GNU GPL Version 2 suggests (at the end, under 'How to Apply These Terms to Your New Programs'):

one line to give the program's name and an idea of what it does.
Copyright (C) yyyy  name of author

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

(以及另外两个段落).

(and two more paragraphs).

这篇关于贡献新文件时的GPL版权声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆