【释义详解】Software License (软件许可证)是什么?

您所在的位置:网站首页 onlyyou是什么软件 【释义详解】Software License (软件许可证)是什么?

【释义详解】Software License (软件许可证)是什么?

2024-07-10 11:20| 来源: 网络整理| 查看: 265

文章目录 前言1、Software License的定义2、Open Source Licenses 定义3、怎么选择开源许可证?(我们在开发软件的时候会用到)4、QA:自己的仓库用license的时候怎么在readme里面声明呢?5、在maven项目里面怎么声明license?小结参考文献

前言

创作开始时间:2021年6月25日16:41:39

本文旨在详细解释下Software License 软件许可证的含义。

1、Software License的定义

参考百科。

A software license is a legal instrument (usually by way of contract law, with or without printed material) governing the use or redistribution of software.

Software License:软件许可证。是一个法律文书(通常通过合同法,有打印或电子版的材料),用于管理软件的使用和重新分发。

all software is copyright protected, in both source code and object code forms

所有的软件都是有版权(copyright)保护的,在源码和目标码形式上。

Copyright:

if a person or an organization holds the copyright on a piece of writing, music, etc., they are the only people who have the legal right to publish, broadcast, perform it etc., and other people must ask their permission to use it or any part of it

2、Open Source Licenses 定义

参考:https://opensource.org/licenses

Open Source Licenses:开源许可证。

Open source licenses are licenses that comply with the Open Source Definition — in brief, they allow software to be freely used, modified, and shared. To be approved by the Open Source Initiative (also known as the OSI), a license must go through the Open Source Initiative’s license review process.

3、怎么选择开源许可证?(我们在开发软件的时候会用到)

参考:https://choosealicense.com/

根据里面的提示,选择对应的就好了, 以我个人为例, 我选的是: 在这里插入图片描述

这两种,我觉得这两种都还可以(MIT License和GNU GPLv)。后者貌似更加保守一点。

二者具体信息如下:

在这里插入图片描述

在这里插入图片描述

相比较之下,我更喜欢后者,因为GNU GPLv3 (https://choosealicense.com/licenses/gpl-3.0/#) 不允许闭源传播。这个听起来还不错。

4、QA:自己的仓库用license的时候怎么在readme里面声明呢?

找了几个例子:

This package is licensed under the MIT license. See LICENSE for details.Except as otherwise noted, the Facebook SDK for Android is licensed under the Facebook Platform License (https://github.com/facebook/facebook-android-sdk/blob/master/LICENSE.txt).All software provided in this repository is subject to the CRAPL license. The detectors included in MuBench are subject to the licensing of their respective creators. See the information in the detectors’ folders. The projects referenced in the MuBench dataset are subject to their respective licenses. The project artwork is subject to the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). 5、在maven项目里面怎么声明license?

2021年7月29日22:30:24

参考:https://maven.apache.org/pom.html#Properties

GNU General Public License v3.0 only https://www.gnu.org/licenses/gpl-3.0-standalone.html repo

然后可以在项目内新建一个文件license。复制粘贴 https://choosealicense.com/licenses/gpl-3.0/# 这里面的内容就好。

更多license可以参考:https://spdx.org/licenses/

小结

终于搞明白许可了。其实本质就是软件的使用和分发的协议、规定。

创作结束时间:2021年6月25日17:42:31 更新:2021年6月26日23:42:18

参考文献 什么是License?许可证?协议?都有哪些License?


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3