Does what I call the open source license file matter?

I started trying to upload some of my stuff on GitHub , and I read a few articles recently with some hard data showing that most repositories on GitHub are not properly licensed . I wish it werenโ€™t. I decided to start with a MIT license with most of my projects from now on, and I wondered if I should call it LICENSE.txt or maybe LICENSE.md (I like this one), would it be better? Then I began to wonder about a more general question: does it matter what you call the file that contains your open source license? For example, is your project really licensed correctly if you have a valid license inside, but the file has the name VOIDLICENSE.md ? I know this is a little far-fetched, but it demonstrates what I'm trying to ask. Are there any restrictions on what I call the file where I put my license, or if this is where the file is located? If he is buried deep in the directory structure, is he still considered somewhere? If there is anything else in the file, is it still counted? I assume that if the license was changed from the template at all, it will not be considered a valid MIT license, but if something else is in the file, does it invalidate it?

+6
source share
2 answers

It is not so important if you choose something reasonable.

Since you are using an open source license, you probably want another developer to find out that he can actually use your code under the MIT license. This is done by simply searching the license file.

Everything that LICENSE, LICENSE.MD, LICENSE.TXT in the root of the repository can be considered easily accessible. I think you can also assume that if a person does not find the LICENSE file, he will look for something else - say, COPY. You want to prevent conflicting licensing requirements. Do not say in your README that something is licensed under the BSD, but in a separate license file it says that it is MIT.

You may also consider detecting with agents other than humans. npm looks for the license field in package.json and displays this on the package information page in npmjs.org.

The CommonJS specification actually speaks of the "license" field. I know that "license" is also supported by npm, although I use it myself. I also know that npm takes a simple string value for the license field. those. "license":"MIT" working.

license - an array of licenses for which the package is provided. This property is not legally binding and does not necessarily mean that your package is licensed in accordance with the conditions that you define in this property. Each license is a hash with a type property that determines the type of license and the url property that is associated with the actual text. If the license is one of the official open source licenses, the official name of the license or its abbreviation can be disclosed using the type property. If an abbreviation is indicated (in parentheses), the abbreviation should be used.

http://wiki.commonjs.org/wiki/Packages/1.1

In addition, itโ€™s good to know that, in principle, you retain the copyright to everything that you publish. If a license is not indicated, or the (potential) user cannot find the license, he must assume that he does not have ANY license to use your work, except for any fair use provisions in accordance with the copyright laws in the country. See Discussion: https://softwareengineering.stackexchange.com/questions/148146/open-source-code-with-no-license-can-i-fork-it http://www.codinghorror.com/blog/2007 /04/pick-a-license-any-license.html

if the license is altered at all from the template, it will not be considered a valid MIT license, but if something else in the file cancels it?

In fact, it would not be clear that you are making something available under the MIT license, while the actual text of the license says something (slightly) different. However, you absolutely have the right to license your work as you wish (within the law. Some requirements cannot be made - and are invalid).

I think that the biggest risk (if at all) of a small ambiguity in licensing is that a potential user may claim that he had the impression that he had the right to use your work in accordance with the terms of the MIT license, since your license the headline said so. You will have more problems filing a lawsuit against this person in court for any violations if he did not adhere to any additional conditions. He could claim innocence, as it were.

I would say: do not use the name of the installed license (MIT, BSD, GPL, etc.) if you do not want to license these conditions. Or, if you use that name, always say "MIT + MY_REQUIREMENTS" or so. โ€œMITโ€ simply will not be the right โ€œresumeโ€.

+8
source

You can change the name of the license without worries, but there are requirements regarding the location. you must:

  • provide the full license text in the root directory of the source project (usually in the LICENSE.TXT file)
  • provide the full license text in the root directory of your distributions without a source (usually in the LICENSE.TXT file).

Check out this link for more details: http://www.oss-watch.ac.uk/resources/opensourceyourcode#applying-the-licence

+1
source

Source: https://habr.com/ru/post/945333/


All Articles