emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/yasnippet-snippets 56dda449c0 11/13: faust-mode: improve l


From: ELPA Syncer
Subject: [nongnu] elpa/yasnippet-snippets 56dda449c0 11/13: faust-mode: improve license chooser (#470)
Date: Fri, 5 Jan 2024 07:00:47 -0500 (EST)

branch: elpa/yasnippet-snippets
commit 56dda449c0c3801cea1c826a4d8e1d84ec8b4fd4
Author: Bart Brouns <bart@magnetophon.nl>
Commit: GitHub <noreply@github.com>

    faust-mode: improve license chooser (#470)
    
    * faust-mode: improve licenses chooser
    
    Some of them where incorrect or depreciated.
    See https://spdx.org/licenses/
    
    * faust-mode: add copyright to header
---
 snippets/faust-mode/declarelicense | 26 +++++++++++++++++++-------
 snippets/faust-mode/header         | 27 ++++++++++++++++++++-------
 2 files changed, 39 insertions(+), 14 deletions(-)

diff --git a/snippets/faust-mode/declarelicense 
b/snippets/faust-mode/declarelicense
index 608f8a1f86..40af4d992b 100644
--- a/snippets/faust-mode/declarelicense
+++ b/snippets/faust-mode/declarelicense
@@ -4,13 +4,25 @@
 # --
 declare license "${1:$$
   (yas-choose-value '(
-    "AGPLv3"
-    "Apache"
-    "BSD 2-clause"
-    "BSD 3-clause"
-    "GPLv2"
-    "GPLv3"
-    "LGPLv3"
+    "AGPL-3.0-only"
+    "AGPL-3.0-or-later"
+    "Apache-2.0"
+    "BSD-2-Clause"
+    "BSD-3-Clause"
+    "CC-BY-4.0"
+    "CC0-1.0"
+    "EPL-2.0"
+    "GPL-2.0-only"
+    "GPL-2.0-or-later"
+    "GPL-3.0-only"
+    "GPL-3.0-or-later"
+    "ISC"
+    "LGPL-2.1-only"
+    "LGPL-2.1-or-later"
+    "LGPL-3.0-only"
+    "LGPL-3.0-or-later"
     "MIT"
+    "MPL-2.0"
+    "Unlicense"
   ))}";
 $0
\ No newline at end of file
diff --git a/snippets/faust-mode/header b/snippets/faust-mode/header
index fa447b50bd..be1483f452 100644
--- a/snippets/faust-mode/header
+++ b/snippets/faust-mode/header
@@ -7,13 +7,26 @@ declare version "${2:0.1}";
 declare author "$3";
 declare license "${4:$$
   (yas-choose-value '(
-    "AGPLv3"
-    "Apache"
-    "BSD 2-clause"
-    "BSD 3-clause"
-    "GPLv2"
-    "GPLv3"
-    "LGPLv3"
+    "AGPL-3.0-only"
+    "AGPL-3.0-or-later"
+    "Apache-2.0"
+    "BSD-2-Clause"
+    "BSD-3-Clause"
+    "CC-BY-4.0"
+    "CC0-1.0"
+    "EPL-2.0"
+    "GPL-2.0-only"
+    "GPL-2.0-or-later"
+    "GPL-3.0-only"
+    "GPL-3.0-or-later"
+    "ISC"
+    "LGPL-2.1-only"
+    "LGPL-2.1-or-later"
+    "LGPL-3.0-only"
+    "LGPL-3.0-or-later"
     "MIT"
+    "MPL-2.0"
+    "Unlicense"
   ))}";
+declare copyright "${5:starting year} - ${6:`(format-time-string "%Y")`$0}, 
${7:$3}";
 $0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]