Comments (6)
I use GPLv3 for almost anything I write. What problem do you see with the license?
from pglast.
As summarized in this answer, any code that touches a GPL library must also become GPL licensed if it is distributed in any way. This forces any software that has the potential to be distributed to stray away from a GPL license under threat that it's source code will have to be made public.
With this tight restriction, it makes GPLv3 licensed code unusable unless there is absolutely no potential for any commercial or distribution use. I feel this is an unnecessary restriction to put on a library that is derived from a less restrictive one.
I feel a more reasonable license would be either the MIT License, or follow suit with libpg_query and release it under the BSD-3-Clause license.
Any consideration into this is appreciated.
from pglast.
Yes, I know about the particularity of the GPL, and I also happen to believe it's a good thing indeed: there's a reason if I usually prefer that license for my own works.
If you think that the GPL license makes “code unusable” and not distributable, well, I beg to differ: there are tons of examples of happy and ethical usages of this kind of software, from Python itself, that uses several different GPL licensed libraries under the hood although it is released under a different license, to companies like Canonical or RedHat that actually built a business around, let see, a GPLed Unix-like kernel...
If you really think that this "issue" damages your freedom, then I'd encourage you to revamp my initial implementation of the functionality, based on psqlparse (see details in the README.rst).
I hope this clarifies my thought.
from pglast.
@lelit To add some more thoughts from my end as well, as the author of libpg_query
and pg_query
(the original Ruby library):
I previously had not noticed that you licensed this under GPLv3 instead of a license like MIT or 3-clause-BSD (or the PostgreSQL license).
Given that you've also chosen the exact same name as the base library (pg_query), I don't feel comfortable with the license choice either, as it may lead to end-user confusion when they search for pg_query.
We have also in the past exchanged code snippets between the various libpg_query wrapper libraries where it made sense, which we can't easily do if this library uses a license with strict copyleft requirements.
Whilst I understand your personal choice in using GPLv3, I would therefore request that you either:
A) Rename this library to something that clearly distinguishes it from the base library and its other wrappers (by using a different name than pg_query
)
B) Reconsider your license choice for this library
Hope you understand & thanks!
from pglast.
Ok, will do.
from pglast.
This has been done, and the just released version 1.0 carries the new name, pglast
.
from pglast.
Related Issues (20)
- Visualization HOT 3
- Tag a release? HOT 2
- Improve SubLink printer
- Improved(?) referenced_relations function HOT 17
- Using visitors you cannot replace elements from a list of values. HOT 5
- Extra parens when formatting different operations HOT 2
- Support PG 15 HOT 5
- deparse_protobuf() broken on big-endian HOT 9
- Deparsing of modified queries and query parts HOT 3
- Double Quotes NOT preserved after parsing HOT 2
- Support statement types similar to referenced relations HOT 3
- Failed to install with pip (python 3.10.11) HOT 1
- ParseError when handling a statement containing a UUID HOT 1
- Token's reported location shifts when query has Turkish characters HOT 6
- Safety belt triggered HOT 2
- Duplicate `DEFERRABLE INITIALLY DEFERRED` in output HOT 3
- Can't compile with glibc >= 2.38 HOT 2
- pgpp remove important parentheses HOT 3
- Support PG16 HOT 6
- TypeError while init RawStmt from query parse tree dict which has A_Star. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pglast.