From 1345af88e47a3fbf556a50625747f8d3a32bb9cf Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Sun, 21 Oct 2018 15:07:51 -0700 Subject: [PATCH] add gplcc note to gpl-2.0 and lgpl-2.1 sidebars --- _includes/sidebar.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 93b5512..9e72e6e 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -15,14 +15,20 @@

{{ page.how | markdownify | remove: '

' | remove: '

' }}

+
+

Optional steps

{% if page.note %} -

- Note: {{ page.note | markdownify | remove: '

' | remove: '

' }} +

+ {{ page.note | markdownify | remove: '

' | remove: '

' }}

{% endif %} {% assign xgpl = false %} {% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %} -

Optional: Add {{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}{% if xgpl %} (or {{ page.spdx-id }}-only to disallow future versions){% endif %} to your project's package description, if applicable (e.g., Node.js, Ruby, and Rust). This will ensure the license is displayed in package directories.

+

Add {{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}{% if xgpl %} (or {{ page.spdx-id }}-only to disallow future versions){% endif %} to your project's package description, if applicable (e.g., Node.js, Ruby, and Rust). This will ensure the license is displayed in package directories.

+ {% if page.spdx-id contains 'GPL-2' %} +

If you would like your project to adopt the GPL-3.0's cure provision, add the text of the GPL Cooperation Commitment to a file named COMMITMENT in the same directory as your {{ page.spdx-id }} license file.

+ {% endif %} +