licenses / license-templates Goto Github PK
View Code? Open in Web Editor NEWTemplates for open source and other licenses
License: Other
Templates for open source and other licenses
License: Other
I think we should limit the licenses to only the most well-known/the most useful.
I created a new branch without the lesser-known or less useful licenses. (I went by Google Code's license recommendations from 2006-2010: I removed the non-software CC licenses, the BSD/MIT-redundant permissive licenses, and a few others.)
This will make it easier for us to maintain the project, and will also make it less complicated for the end user.
You mentioned keeping licenses used by larger projects. Large projects usually have their own protocols for accepting contributions. Removing their licenses from this project should not cause too many issues for those projects' contributors.
At least we should remove the least-used or project-specific licenses. @rgbkrk mentioned before that he'd rather not include very little-used licenses.
Please use SPDX identifier as file name.
I was using these license templates to add an Apache 2.0 license to a project. Happens that I was faced with a problem, namely the APPENDIX
section.
The Github template reads:
To apply the Apache License to your work, attach the following boilerplate notice [...]
While the official information reads:
To apply the Apache License to specific files in your work, attach the following boilerplate declaration [...]
The problem is that the Github template basically suggests that using the "boilerplate notice" is mandatory in all files. This would raise questions like "how do you license a [standards compliant] JSON file?!" (remember the Apache 2.0 license explicitly include configuration files as licensed material).
Ideally the GH template should be made more in line with the official information.
I'm considering changing the format of the repo to something like:
licenses.js
templates/
- headers/
- license-id.txt
- ...
licenses.js would be a JSON file with a description of the available licenses. Each license would have the following fields: id (slug), full name, version, text file name, header file name. I'm considering something along the format of:
{
id: 'a-license',
name: 'A Generic License',
versions: [
{
number: '2.1',
text: 'a-license.txt',
header: 'a-license-header.txt',
}
]
}
Maybe having separate folders for the header and text files are unnecessary with this config file? A user could specify a specific version as [email protected] or use the newest (or only) version with just a-license.
Thoughts?
currently, the creativecommons licenses have version 3.0
example:
license-templates/templates/cc_by_sa.txt
Lines 1 to 39 in aa0399c
plaintext versions of 4.0 creativecommons licenses:
https://creativecommons.org/2014/01/07/plaintext-versions-of-creative-commons-4-0-licenses/
example:
https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
Attribution-ShareAlike 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution-ShareAlike 4.0 International Public
License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-ShareAlike 4.0 International Public License ("Public
License"). To the extent this Public License may be interpreted as a
contract, You are granted the Licensed Rights in consideration of Your
acceptance of these terms and conditions, and the Licensor grants You
such rights in consideration of benefits the Licensor receives from
making the Licensed Material available under these terms and
conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
the creativecommons licenses seem to grow longer with every version...
also the header files should be updated, for example templates/cc_by_sa-header.txt
{{ project }} (c) {{ year }} by {{ organization }}
{{ project }} is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License.
You should have received a copy of the license along with this
work. If not, see <http://creativecommons.org/licenses/by-sa/4.0/>.
Originally posted by @Scotty1luv in Scotty1luv/eye-p-bot#2
Originally posted by @Scotty1luv in Scotty1luv/eye-p-bot#2
Originally posted by @Scotty1luv in Scotty1luv/eye-p-bot#5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.