Is the licence file content {code...} where the licence file is stored?
The following is the licence File Content
Copyright (c) 2008 Alan SzlosekPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.
Is it possible to place the licence file somewhere?
Reply content:
The following is the licence File Content
Copyright (c) 2008 Alan SzlosekPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.
Is it possible to place the licence file somewhere?
Thank you for your invitation.
I think you can put it in this way.
Html and pdf.
If you reference third-party open-source software, you can place the copyright file as follows:
- Retain the directory structure of the third-party software. Generally, there is a copyright statement file under the root directory.
- Copyright descriptions of your software root directory, such as vemplator_license.txt
- If you reference a large number of third-party software, you can also create a folder in the root directory of your software to specifically store the copyright files of the open source software you reference.
There is no rigid rule on the location of Open-Source Licenses, but the open-source community has formed some agreements over the years.
Place the LICENCE. TXT file in the source code root directory.
You can check all open-source code, and the license file will be put in this place. The first response from all users who want to find this file is to find this file. And the file names are generally namedLICENCE.TXT
.
Declare the open source license in the code file comment
This is also a good habit. When we look at code outside China, they usually have a large segment of copyright statement in the header, sometimes its length even exceeds the Code itself, this is often ridiculed by Chinese people. In fact, this is very necessary. In particular, if your code includes Open-Source Licenses of multiple styles, you can assign appropriate copyright licenses to different modules. For example, php code starts
As long as it is the copyright that can be distributed, it is okay to put it in the respective directories of third-party libraries like you.
I suggest you refer to the yii framework practice and place the copyright statement in a directory.
Https://github.com/yiisoft/yii/tree/m...