ryanuber / go-license Goto Github PK
View Code? Open in Web Editor NEWSoftware licensing standardization library for Golang
License: MIT License
Software licensing standardization library for Golang
License: MIT License
A FYIs.
Here's a special one.. suffix of .code
in the docker repo.
https://github.com/docker/libkv/blob/master/LICENSE.code
here's one in cloud flare's repo
https://github.com/cloudflare/golibs/blob/master/LICENSE-BSD-CloudFlare
I bring these up in case you want to use HasPrefix vs. predefined combos.
Totally ok to close as "won't fix" as these are exceptions.
thanks!
nickgs
@ryanuber could you possibly tag a release for this library so we can use a semantic version in go.mod
for example? Thank you :)
This package is great, I have a similar need and I was wondering if you tried using a Bayesian classifier for this.
Hi @ryanuber I see you are doing some refactors, so I'll hold off on other pull requests, and just file bugs. Feel free to assign to me anything you wish.
First, to my amazement, http://www.wtfpl.net is used, used in go packages and is semi-legit.
https://tldrlegal.com/license/do-wtf-you-want-to-public-license-v2-(wtfpl-2.0)
http://www.gnu.org/licenses/license-list.html#WTFPL
in fact some of the code loaded into our system has a dependency of some code that uses this license.
I was looking at GuessFile
method and it looks like if the license file is
License.txt
(for instance https://github.com/dotnet/roslyn/blob/master/License.txt)LICENSE.TXT
(https://github.com/dotnet/coreclr/blob/master/LICENSE.TXT)it wouldn't match... (I know, microsoft people, right?..)
Perhaps if we do the string comparison case-insensitive, that could also help eliminating the duplication going on at DefaultLicenseFiles
variable.
What do you think @ryanuber ?
Hi guys,
I've found a few projects on github that basically drop in a link to opensource.org in their README* file to say, what license it is. http://opensource.org/licenses/MIT
Here's a sample:
https://github.com/shurcooL/sanitized_anchor_name (used by the popular go-lang markdown processor: https://github.com/russross/blackfriday )
Thoughts on adding this to the pipeline? Im happy to do the work.
regards,
n
Copyleft*
is often used for licenses (maybe not so much golang.. but..)
i.e. instead of NewBSD
one would use BSD-2-Clause
, etc so linking to
http://opensource.org/licenses/BSD-2-Clause would be trivial.
(or add to the data structure, a Link
field would contain the right link to opensource.org)
thoughts? Im happy to do the work.
regards,
n
You might recognize this one :-)
https://github.com/mitchellh/packer/blob/master/LICENSE
there are a number of others:
https://github.com/client9/gosupplychain/blob/master/reports/github-users.md#mitchellh
This is a great library - thank you for making it! Ironically, which license do you distribute this under?
https://github.com/aws/amazon-ecs-cli/blob/master/LICENSE
Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the
License. A copy of the License is located at
http://aws.amazon.com/apache2.0/
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
and limitations under the License.
***
Note: Other license terms may apply to certain, identified software files contained within or distributed with the accompanying software if such terms are included in the directory containing the accompanying software. Such other license terms will then apply in lieu of the terms of the software license above.
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.