我的公共github项目可以不是开源的吗? [英] Can my public github project not be open source?

查看:981
本文介绍了我的公共github项目可以不是开源的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在github中有一个新项目.它是公开的.但是我不记得有人问过要授予什么许可证.

I have a new project in github. It is public. However I don't remember being asked what license to give it.

在启动新存储库之前,在google代码/sourceforge中,我记得被要求提交开放源代码许可证.

In google code / sourceforge before starting a new repository I recall being asked to commit to an open source license.

当然,公共和开源之间是有区别的.例如,我可以说您可以免费下载,阅读和研究代码,但必须为运行代码付钱.还是不能分叉?还是其他非开源兼容条款?

Of course there is a difference between public and open source. Can I say, for example, you are free to download, read, and study the code but you have to pay $$$ for running it? Or you cannot fork it? Or whatever non-open-source-compatible-clause-here?

推荐答案

我在github中有一个新项目.它是公开的.但是我不记得有人问过要授予什么许可证.

I have a new project in github. It is public. However I don't remember being asked what license to give it.

在GitHub上托管的未经任何明确许可的代码大多属于保留所有权利"子句(

Code hosted at GitHub without any explicit licence mostly falls under the "All rights reserved" clause (cf. InfoWorld post on this subject). Below a relevant excerpt of the item:

在所有这些GitHub项目中提供代码的条件是什么?确切的答案取决于您的司法管辖区,需要律师的建议,但对于大多数人来说,答案可能是全部".保留所有权利";换句话说,您无权使用该代码.GitHub在其服务条款中未包含任何有用的默认许可条款;最有可能的情况是,在其中任何一项中,对受版权保护的材料的任何使用-许可项目在形式上是对版权的侵犯.根据版权法,没有许可的代码不能合法共享,因为受版权保护的材料的默认设置是保留所有权利."

但是,为了清楚地说明您的意图,最好在回购中明确添加许可证(作为单独的文本文件(例如,COPYING.txt)和作为README.txt文件的一部分.) /p>

However, in order to clearly state your intent, maybe would it be better to clearly add a licence in your repo (as a separate text file (eg. COPYING.txt) and as part of the README.txt file.

当然,公共和开源之间是有区别的.例如,我可以说您可以免费下载,阅读和研究代码,但必须为运行代码付钱吗?

Of course there is a difference between public and open source. Can I say, for example, you are free to download, read, and study the code but you have to pay $$$ for running it?

您可以从 RavenDb 项目 双重许可 模式,其使用方式受到以下限制:

You could get some inspiration from the RavenDb project dual licencing mode which limits the usage as follows:

  • 商业版可以在封闭源环境中使用,并且可以通过订阅或永久定价模式获得.价格按实例计算.只要订阅有效,新版本就会自动包含在其中.
  • 如果您的项目是开源",则可以免费使用Raven.

如果您接受请求请求,则最好确保贡献者遵守许可方式,并使其明确接受与知识产权相关的条款以及版权所有权的转移.例如,您可以参考RavenDb 贡献指南 .

Provided you accept Pull Requests, it may be a good idea to make sure contributors abide to the licencing mode and make them explicitly accept the Intellectual Property related terms and the transfer of the ownership of the copyright. As an example, you can refer to the RavenDb contributing guide.

这篇关于我的公共github项目可以不是开源的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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