Giter VIP home page Giter VIP logo

Comments (6)

lelit avatar lelit commented on June 12, 2024

I use GPLv3 for almost anything I write. What problem do you see with the license?

from pglast.

qarthandgi avatar qarthandgi commented on June 12, 2024

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.

lelit avatar lelit commented on June 12, 2024

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.

lfittl avatar lfittl commented on June 12, 2024

@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.

lelit avatar lelit commented on June 12, 2024

Ok, will do.

from pglast.

lelit avatar lelit commented on June 12, 2024

This has been done, and the just released version 1.0 carries the new name, pglast.

from pglast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.