[gnome-builder/license-snippets: 2/4] Add SPDX license identifier



commit df0acde1623dd2bb656c79bbfaf312cae76d048d
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Jan 28 23:45:29 2018 +0000

    Add SPDX license identifier
    
    The SPDX is an attempt at standardising the licensing attribution of
    free and open source software in a way that is machine parseable.
    
    Since we're shipping snippets that autogenerate the licensing blurb, it
    would be a good thing to include this annotation in them, so that newly
    written code can immediately be compliant.

 data/snippets/licenses.snippets | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/data/snippets/licenses.snippets b/data/snippets/licenses.snippets
index 74e136722..73b3afc00 100644
--- a/data/snippets/licenses.snippets
+++ b/data/snippets/licenses.snippets
@@ -16,6 +16,8 @@ snippet gpl
         *
         * You should have received a copy of the GNU General Public License
         * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        *
+        * SPDX-License-Identifier: GPL-3.0-or-later
         */
        $0
 - scope python, python3
@@ -35,6 +37,8 @@ snippet gpl
        #
        # You should have received a copy of the GNU General Public License
        # along with this program.  If not, see <http://www.gnu.org/licenses/>.
+       #
+       # SPDX-License-Identifier: GPL-3.0-or-later
        $0
 - scope c-sharp, rust
        //
@@ -55,6 +59,7 @@ snippet gpl
        // You should have received a copy of the GNU General Public License
        // along with this program.  If not, see <http://www.gnu.org/licenses/>.
        //
+       // SPDX-License-Identifier: GPL-3.0-or-later
        $0
 snippet lgpl
 - scope c, chdr, cpp, css, js, vala
@@ -74,6 +79,8 @@ snippet lgpl
         *
         * You should have received a copy of the GNU Lesser General Public
         * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
+        *
+        * SPDX-License-Identifier: LGPL-3.0-or-later
         */
        $0
 - scope python, python3
@@ -94,6 +101,7 @@ snippet lgpl
        # You should have received a copy of the GNU Lesser General Public
        # License along with this program.  If not, see <http://www.gnu.org/licenses/>.
        #
+       # SPDX-License-Identifier: LGPL-3.0-or-later
        $0
 - scope c-sharp, rust
        //
@@ -114,4 +122,5 @@ snippet lgpl
        // You should have received a copy of the GNU Lesser General Public
        // License along with this program.  If not, see <http://www.gnu.org/licenses/>.
        //
+       // SPDX-License-Identifier: LGPL-3.0-or-later
        $0


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