Skip to content

Commit

Permalink
chore: Change license to GPL v3
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jul 15, 2024
1 parent 798fb90 commit 7814115
Show file tree
Hide file tree
Showing 23 changed files with 33,306 additions and 32,512 deletions.
9 changes: 0 additions & 9 deletions LICENSE

This file was deleted.

36 changes: 36 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# License
Copyright (C) Vendure GmbH

This software is available under two different licenses:
* GNU General Public License version 3 (GPLv3) as Vendure Community Edition
* Vendure Commercial License (VCL)

The default Vendure license, without a valid Vendure Commercial License agreement, is the Open-Source GPLv3 license.

## GNU General Public License version 3 (GPLv3)

If you decide to choose the GPLv3 license, you must comply with the following terms:

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

## Vendure Commercial License (VCL)

Alternatively, commercial and supported versions of the program - also known as
Commercial Distributions - must be used in accordance with the terms and conditions
contained in a separate written agreement between you and Vendure GmbH.
For more information about the Vendure Commercial License (VCL) please contact [email protected].

Please see also (files in this directory):
[Licensing FAQ - license-faq.md](license/license-faq.md)
[GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - gpl-3.0.txt](license/gpl-3.0.txt)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ The reason we do not rely on Lerna to push the release to Git is that this repo

## License

MIT
See [LICENSE.md](./LICENSE.md)
674 changes: 674 additions & 0 deletions license/gpl-3.0.txt

Large diffs are not rendered by default.

81 changes: 81 additions & 0 deletions license/license-faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Vendure - Licensing FAQ

## What is the license for Vendure?

Vendure and all contributed files in this Git repository are available under two different licenses:

* GNU General Public License version 3 (GPLv3)
* Vendure Commercial License (VCL)
If you don't have a separate written licensing agreement between you and Vendure GmbH then always GPLv3 applies to you.

The following FAQ covers only GPLv3.

# GPLv3 FAQ

## What does "licensed under the GPLv3" actually mean?
That means you are free to download, reuse, modify, and distribute
any files hosted in the Vendure Git repository under the terms of the GPL version 3, and to run Vendure in
combination with any code with any license that is compatible with GPL version 3, such as the
Affero General Public License (AGPL) version 3.

## Does the license cover just TypeScript, or everything?
We require that all files in this repository (TypeScript, CSS, HTML) that are not part of a bundled 3rd party library are under the terms of the GPLv3.

## Copyright & contributions
All Vendure contributors retain copyright on their code, but agree to release it under the same licenses as Vendure.
If you are unable or unwilling to contribute a patch under the GPL version 3 and the Vendure Commercial License, do not submit a patch.

## I want to release my work under a different license than GPLv3, is that possible?
No. You can only release your work under any GPL version 3 or later compatible license.

## The GPL requires that I distribute the "source code" of my files. What does that mean for a web application?
The "source code" of a file means the format that is intended for people to edit.

For TypeScript, CSS, and HTML code, the file itself, without any compression or obfuscation, is its own source code.
The "source code" is whichever version is intended to be edited by people.

## If I write a plugin for my Vendure application, do I have to license it under the GPL?
Yes. Vendure plugins for your application are a derivative work of Vendure.
If you distribute them, you must do so under the terms of the GPL version 3 or later.

You are not required to distribute them at all, however.

However, when distributing your own Vendure-based work, it is important to keep in mind what the GPLv3 applies to.
The GPLv3 on code applies to code that interacts with that code, but not to data.
That is, Vendure's TypeScript code is under the GPLv3, and so all TypeScript code that interacts with it must also be
under the GPLv3 or GPLv3 compatible. Images and JSON files that TypeScript sends to the browser are not
affected by the GPL because they are data

When distributing your own plugin, therefore,
the GPLv3 applies to any pieces that directly interact with parts of Vendure that are under the GPLv3.
Images and other asset files you create yourself are not affected.

## If I write a plugin for my application, do I have to give it away to everyone?
No. The GPL requires that if you make a derivative work of Vendure and distribute it to someone else,
you must provide that person with the source code under the terms of the GPLv3 so that they may modify and redistribute
it under the terms of the GPLv3 as well. However, you are under no obligation to distribute the code to anyone else.
If you do not distribute the code but use it only within your organization,
then you are not required to distribute it to anyone at all.

However, if your plugin is of general use then it is often a good idea to contribute it back to the community anyway.
You can get feedback, bug reports, and new feature patches from others who find it useful.

## Is it permitted for me to sell Vendure or a Vendure plugin?
Yes. However, you must distribute it under the GPL version 3 or later,
so those you sell it to must be allowed to modify and redistribute it as well. See questions above.

## Do I have to give the code for my web site to anyone who visits it?

No. The GPL does not consider viewing a web site to count as "distributing",
so you are not required to share the code running on your server.

## I have a question not answered here. What should I do?
**If you have a question about your specific case, please consult with a copyright attorney in your area.**
**We cannot and will not offer legal advice.**

If you have a general question about Vendure licensing or other legal issues,
please post your question in the [Vendure discord community](https://vendure.io/community).

### Credits / License of this FAQ page
This FAQ is based on https://www.drupal.org/licensing/faq (modified)- many thanks to the Drupal Association!
License: Creative Commons Attribution-ShareAlike license 2.0 (http://creativecommons.org/licenses/by-sa/2.0/)
Loading

0 comments on commit 7814115

Please sign in to comment.