mirror of
https://github.com/spf13/cobra
synced 2024-11-25 07:07:15 +00:00
96d04d97d5
* the current GPL 2 and 3 templates are incorrect on two counts: 1. the headers make a reference to the Lesser GPL instead of the GPL 2. the texts are incomplete and truncated: including a partial GPL is as good as not including it at all from a GPL standpoint. * this patch corrects the header templates and also removes nice but not needed templating of appName. * it also ensure the full text of the GPL licenses. Both header and texts are copied verbatim from these URLs (with a minor change: backticks have been replaced with single quotes to work around escaping limitations on golang raw strings that are backtick-delimited and do not accept escaping): https://www.gnu.org/licenses/gpl-3.0.txt https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com> |
||
---|---|---|
.. | ||
add.go | ||
helpers.go | ||
helpers_test.go | ||
init.go | ||
licenses.go | ||
root.go |