ansible-community / ansible-pygments

Provides Pygments highlighter for Ansible output for use in Sphinx

Home Page:https://pypi.org/p/ansible-pygments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Figure out the license

webknjaz opened this issue · comments

It's currently messed up a bit:

  1. The lexer seems to be BSD
  2. Sphinx integration code says both GPL and BSD in the same module (comment vs var) but I don't see any reason for it to be different from the lexer because it is a thing that is supposed to be linked in various projects so I'd just keep BSD This is not relevant anymore.
  3. The readme and the meta says GPL
  4. The Python dist must contain the license file which is not only not bundled but is also missing from the repo

@felixfontein Let's figure out what we want to do with this and make it consistent.

I'm happy to use BSD for this project. All GPL references are mainly from when this was a part of antsibull. The few non-BSD lines in this repo were all written by me (IIRC) and I'm happy to relicense them :)

Does BSD sound good to you?

I think so but I'd prefer a 3-clause version because of the non-endorsement clause (which looks totally compatible with 2-clause). OTOH I don't have a strong opinion on this.

I don't mind switching to that one, but I have no idea on the legal aspects.

The way I see it the main difference is that one says "don't use our name trying to advertise your derivative product unless we allowed you to do so". Which is good for when that product is bad and you don't want it to be associated with your name.

I like having the additional clause, but I don't know whether we can just add them, since the original authors used BSD 2-clause and not BSD 3-clause.

For the main ansible project, we've made contributors go back and get approval w/ their legal departments to relicense from BSD-3 to BSD-2, which main ansible uses for the module_utils.

@jamescassell oh, I see. I must've misremembered I was sure that it was BSD-3-clause.

I also remembered BSD 3-clause, but it clearly is 2-clause: https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py#L3

I also remembered BSD 3-clause, but it clearly is 2-clause: https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py#L3

Yep, I also had to look it up after James' comment :)