ilinsky / jquery-xpath

jQuery XPath plugin (with full XPath 2.0 language support)
180 stars 64 forks source link

license? #25

Closed divinity76 closed 4 years ago

divinity76 commented 4 years ago

what's the license for the library?

and if there isn't any, i recommend adding one, not having a license can deter people from adopting it, licenses i personally like includes: MIT, The Unlicense, and CC0

mprins commented 4 years ago

Dual licensed under the MIT and GPL licenses.

https://github.com/ilinsky/jquery-xpath/blob/master/src/jquery-xpath.js#L5

divinity76 commented 4 years ago

I see, thanks for clearing that up,

ILIKEANAL but i believe the GPL demands that you ship a copy of the GPL with everything GPL-licensed, and i can't seem to find the GPL anywhere in this repo,

quoting section 4 of GPL v3:

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

specifically the and give all recipients a copy of this License along with the Program. -part (source: https://www.gnu.org/licenses/gpl-3.0.txt )

should probably add a copy of both

ilinsky commented 4 years ago

License files are in the repo: https://github.com/ilinsky/jquery-xpath/tree/master/res/license