kitamstudios / rust-analyzer.vs

Rust language support for Visual Studio 2022
https://marketplace.visualstudio.com/items?itemName=kitamstudios.RustAnalyzer
Other
138 stars 10 forks source link

Choose a suitable licence applicable to code #40

Closed simonsan closed 8 months ago

simonsan commented 8 months ago

There is a website: https://choosealicense.com/ that can help to choose a licence for your code. The licence of this repository seems like a pretty unusual one for code. Why is that?

parthopdas commented 8 months ago

Personal principles. Happy to update as necessary. What's the issue?

simonsan commented 8 months ago

https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software

[Full quote]

Can I apply a Creative Commons license to software?

We recommend against using Creative Commons licenses for software. Instead, we strongly encourage you to use one of the very good software licenses which are already available. We recommend considering licenses listed as free by the Free Software Foundation and listed as “open source” by the Open Source Initiative.

Unlike software-specific licenses, CC licenses do not contain specific terms about the distribution of source code, which is often important to ensuring the free reuse and modifiability of software. Many software licenses also address patent rights, which are important to software but may not be applicable to other copyrightable works. Additionally, our licenses are currently not compatible with the major software licenses, so it would be difficult to integrate CC-licensed work with other free software. Existing software licenses were designed specifically for use with software and offer a similar set of rights to the Creative Commons licenses.

Version 4.0 of CC’s Attribution-ShareAlike (BY-SA) license is one-way compatible with the GNU General Public License version 3.0 (GPLv3). This compatibility mechanism is designed for situations in which content is integrated into software code in a way that makes it difficult or impossible to distinguish the two. There are special considerations required before using this compatibility mechanism. Read more about it here.

Also, the CC0 Public Domain Dedication is GPL-compatible and acceptable for software. For details, see the relevant CC0 FAQ entry.

While we recommend against using a CC license on software itself, CC licenses may be used for software documentation, as well as for separate artistic elements such as game art or music.

via: https://opensource.stackexchange.com/a/1718

parthopdas commented 8 months ago

Dude what is the issue you are facing? Happy to update license or anything based on that.

Don't give me some lawyer document. I wrote the code I get to apply whatever license strikes my fancy.

simonsan commented 8 months ago

The problem here is, that you chose a licence for code that is recommended against by the creative commons. I'll change the headline. You can apply whatever licence you want, if it makes sense, is another question. Hence, I'm stating here, that this is something to be rethought. ;-)

parthopdas commented 8 months ago

Okay. If you are facing issues with this licence (eg your employer wont allow OSS with this license to be used) like I said I am happy to change the license.

A metaphysical discussion on licenses & lack of specifics is honestly disappointing.

If you do face issues in the future - adoption or other technical issues - reactivate, even better send a PR acceptable to your employer.

simonsan commented 8 months ago

I don't use this, I'm more a fan of open-source, hence no Visual Studio. But I'm unsure if this will be ever used with this licence. I'm a bit saddened to see, that you can't even explain, why you have chosen it against the recommendations on the FAQ by the same people that made the licence, though. "Personal principles" is a pretty bad take on that, if it seems to be uninformed. But what do I know, have a nice day.