silverwind / idTip

WoW Addon: Adds IDs to the ingame tooltips
BSD 2-Clause "Simplified" License
41 stars 32 forks source link

Add a license to this repo #69

Closed t-mart closed 3 years ago

t-mart commented 3 years ago

Hey @silverwind,

Would you please consider adding a license to this repository and/or code reuse guidelines?

I'd like to use a snippet of your code at https://github.com/silverwind/idTip/blob/master/idTip.lua#L241, which is a workaround for broken the broken links that Blizzard returns from GameTooltip:GetItem() calls for crafting reagents. My project is here, and the issue is here. You can see in my code snippet that, while I am giving you credit in a comment, if you are reserving your copyright, I cannot copy your code.

According to https://choosealicense.com/no-permission/, source code without a license is copyrighted by default.

If you'd like to add a license, people usually just add a file named LICENSE to the repository root with the contents of the license you'd like to use. Happy to submit a PR if you're interested.

Kherae commented 3 years ago

After looking at it, you basically can't write the code any other way, outside changing a few variable names. there's basically nothing to copyright because of it. Virtually all WoW API/lua functions.

silverwind commented 3 years ago

Thanks for adding it, I forgot it on this repo.