Skip to contentSkip to conversation

Add SPDX license headers to layerindex-web source files

PATCH In review Meh Mbeh Ida Delphine 2 participants 2 messages Oct 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add SPDX license headers to layerindex-web source files

Added SPDX identifiers to all .py files except those in migrations directory.

Fixes [YOCTO #13527]
---
 __init__.py                               | 1 +
 docker/settings.py                        | 2 ++
 dockersetup.py                            | 2 ++
 layerindex/__init__.py                    | 5 +++++
 layerindex/admin.py                       | 2 ++
 layerindex/auth_forms.py                  | 2 ++
 layerindex/auth_views.py                  | 2 ++
 layerindex/bulkchange.py                  | 2 ++
 layerindex/context_processors.py          | 2 ++
 layerindex/forms.py                       | 2 ++
 layerindex/layerconfparse.py              | 1 +
 layerindex/middleware.py                  | 2 ++
 layerindex/models.py                      | 2 ++
 layerindex/querysethelper.py              | 8 ++++++++
 layerindex/recipedesc.py                  | 2 ++
 layerindex/recipeparse.py                 | 2 ++
 layerindex/restperm.py                    | 6 ++++++
 layerindex/restviews.py                   | 2 ++
 layerindex/securityquestions.py           | 8 ++++++++
 layerindex/tasks.py                       | 2 ++
 layerindex/templatetags/__init__.py       | 5 +++++
 layerindex/templatetags/extrafilters.py   | 6 ++++++
 layerindex/tools/fedora-fetch.py          | 2 ++
 layerindex/tools/fixup_duplicates.py      | 2 ++
 layerindex/tools/github-fetch.py          | 2 ++
 layerindex/tools/import_classic.py        | 2 ++
 layerindex/tools/import_classic_wiki.py   | 2 ++
 layerindex/tools/import_layer.py          | 2 ++
 layerindex/tools/import_layers.py         | 2 ++
 layerindex/tools/import_otherdistro.py    | 2 ++
 layerindex/tools/import_project.py        | 2 ++
 layerindex/tools/import_wiki_layers.py    | 2 ++
 layerindex/tools/site_name.py             | 2 ++
 layerindex/tools/update_classic_status.py | 2 ++
 layerindex/tools/webapi-test.py           | 2 ++
 layerindex/update.py                      | 2 ++
 layerindex/update_layer.py                | 2 ++
 layerindex/urls.py                        | 2 ++
 layerindex/urls_branch.py                 | 2 ++
 layerindex/utils.py                       | 2 ++
 layerindex/views.py                       | 2 ++
 manage.py                                 | 2 ++
 password_validation.py                    | 5 +++++
 pytest.ini                                | 5 +++++
 rrs/__init__.py                           | 5 +++++
 rrs/admin.py                              | 2 ++
 rrs/apps.py                               | 6 ++++++
 rrs/context_processors.py                 | 2 ++
 rrs/models.py                             | 2 ++
 rrs/tools/common.py                       | 2 ++
 rrs/tools/dump_upgrades.py                | 2 ++
 rrs/tools/historytool.py                  | 2 ++
 rrs/tools/rrs_distros.py                  | 2 ++
 rrs/tools/rrs_maintainer_history.py       | 2 ++
 rrs/tools/rrs_upgrade_history.py          | 2 ++
 rrs/tools/rrs_upstream_email.py           | 2 ++
 rrs/tools/rrs_upstream_history.py         | 2 ++
 rrs/tools/upgrade_history_internal.py     | 2 ++
 rrs/urls.py                               | 8 ++++++++
 rrs/views.py                              | 8 ++++++++
 rrs/wsgi.py                               | 6 ++++++
 settings.py                               | 2 ++
 tests/test_update.py                      | 2 ++
 urls.py                                   | 2 ++
 wsgi.py                                   | 5 +++++
 65 files changed, 186 insertions(+)
__init__.py +1 -0
index e69de29..d589fc3 100644
@@ -0,0 +1 @@
+# SPDX-License-Identifier: MIT
\ No newline at end of file
docker/settings.py +2 -0
index fb7d376..7330ab9 100644
@@ -2,6 +2,8 @@
 #
 # Based on settings.py from the Django project template
 # Copyright (c) Django Software Foundation and individual contributors.
+#
+# SPDX-License-Identifier: MIT
 
 import os
 
dockersetup.py +2 -0
index 3cc8b2d..e45a846 100755
@@ -6,6 +6,8 @@
 # Author: Amber Elliot <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 # This script will make a cluster of 5 containers:
 #
layerindex/__init__.py +5 -0
index e69de29..83d0f2f 100644
@@ -0,0 +1,5 @@
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
\ No newline at end of file
layerindex/admin.py +2 -0
index 9ef781d..9ed6102 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from layerindex.models import *
 from django.contrib import admin
layerindex/auth_forms.py +2 -0
index fc3d2d1..7af48f9 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from captcha.fields import CaptchaField
 from django import forms
layerindex/auth_views.py +2 -0
index 152f171..08e0334 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.contrib import messages
 from django.contrib.auth import logout
layerindex/bulkchange.py +2 -0
index 3d1ee2b..6382053 100644
@@ -5,6 +5,8 @@
 # Copyright (C) 2013, 2016, 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/context_processors.py +2 -0
index 3352e63..2cc0380 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013, 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from layerindex.models import Branch, LayerItem, SiteNotice
 from django.contrib.sites.models import Site
layerindex/forms.py +2 -0
index 4061d4b..9615859 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013, 2016-2019 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import re
 from collections import OrderedDict
layerindex/layerconfparse.py +1 -0
index a812140..84ec005 100644
@@ -5,6 +5,7 @@
 #
 # Licensed under the MIT license, see COPYING.MIT for details
 #
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/middleware.py +2 -0
index afe34a3..527cc8b 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2019 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.utils.deprecation import MiddlewareMixin
 from django.http import HttpResponseRedirect
layerindex/models.py +2 -0
index 99c68e1..329cc33 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013-2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.db import models
 from datetime import datetime
layerindex/querysethelper.py +8 -0
index 5a856ee..fb26a17 100644
@@ -1,3 +1,11 @@
+# layerindex-web - queryset helper definitions
+#
+# Copyright (C) 2013-2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 import operator
 import functools
 from django.db.models import Q, CharField
layerindex/recipedesc.py +2 -0
index 26280ee..be47f6e 100644
@@ -4,6 +4,8 @@
 #
 # Copyright (C) 2012 Intel Corporation
 # Author: Paul Eggleton <[email protected]>
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
layerindex/recipeparse.py +2 -0
index 35867ad..62c08e9 100644
@@ -4,6 +4,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/restperm.py +6 -0
index fb9f715..5d74c66 100644
@@ -1,3 +1,9 @@
+# Copyright (C) 2013-2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 from rest_framework import permissions
 
 class ReadOnlyPermission(permissions.BasePermission):
layerindex/restviews.py +2 -0
index 7de4cd7..91779f5 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2014, 2016-2019 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from layerindex.models import Branch, LayerItem, LayerMaintainer, YPCompatibleVersion, LayerNote, LayerBranch, LayerDependency, Recipe, Machine, Distro, BBClass, Source, Patch, PackageConfig, StaticBuildDep, DynamicBuildDep, RecipeFileDependency, BBAppend, IncFile
 from rest_framework import viewsets, serializers, pagination
layerindex/securityquestions.py +8 -0
index a6a0e1c..1883b11 100644
@@ -1,3 +1,11 @@
+# layerindex-web - Security Questions
+#
+# Copyright (C) 2013-2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 security_questions = ["What was the name of your first pet?",
                        "What was the last name of your third grade teacher?",
                        "What is your favorite pizza topping?",
layerindex/tasks.py +2 -0
index ae62b91..da85539 100644
@@ -4,6 +4,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from celery import Celery
 from django.core.mail import EmailMessage
layerindex/templatetags/__init__.py +5 -0
index e69de29..c88e412 100644
@@ -0,0 +1,5 @@
+# Copyright (C) 2017, 2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
\ No newline at end of file
layerindex/templatetags/extrafilters.py +6 -0
index d79f9a1..2a9e764 100644
@@ -1,3 +1,9 @@
+# Copyright (C) 2017, 2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 from django import template
 from .. import utils
 
layerindex/tools/fedora-fetch.py +2 -0
index 492082a..a16fc80 100755
@@ -5,6 +5,8 @@
 # Copyright (C) 2017, 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/tools/fixup_duplicates.py +2 -0
index 5abe2c2..6c60959 100644
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/github-fetch.py +2 -0
index 11c977a..0dbe509 100755
@@ -5,6 +5,8 @@
 # Copyright (C) 2017 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/tools/import_classic.py +2 -0
index fca054c..0216221 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/import_classic_wiki.py +2 -0
index bfebcd9..aa33b7a 100755
@@ -7,6 +7,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
layerindex/tools/import_layer.py +2 -0
index ace58e5..dfe887c 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/import_layers.py +2 -0
index 3548568..57b0f86 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/import_otherdistro.py +2 -0
index 46eeeca..0c6640f 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/import_project.py +2 -0
index 27a0de3..44cf6cc 100755
@@ -9,6 +9,8 @@
 # Author: Liam R. Howlett <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from urllib.parse import urlparse
 import logging
layerindex/tools/import_wiki_layers.py +2 -0
index 71f26ea..707d90e 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/site_name.py +2 -0
index 836a0c1..e1cff02 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/tools/update_classic_status.py +2 -0
index 4edfc75..0bcf2e7 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/tools/webapi-test.py +2 -0
index 20fc36b..562fbe2 100755
@@ -5,6 +5,8 @@
 # Copyright (C) 2019 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/update.py +2 -0
index e2aa96e..5a2642b 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/update_layer.py +2 -0
index 1e5950c..42f99be 100644
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/urls.py +2 -0
index ab2d028..7264b11 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013, 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.conf.urls import *
 from django.views.generic import TemplateView, DetailView, ListView, RedirectView
layerindex/urls_branch.py +2 -0
index 9756f90..86b8b77 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013-2016 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.conf.urls import *
 from django.views.defaults import page_not_found
layerindex/utils.py +2 -0
index 2a1689b..9e28668 100644
@@ -4,6 +4,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/views.py +2 -0
index 83adb6a..91b3280 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013-2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import os
 import sys
manage.py +2 -0
index a815fa3..0c073ac 100755
@@ -6,6 +6,8 @@
 #
 # Copyright (c) Django Software Foundation and individual contributors.
 # All rights reserved.
+#
+# SPDX-License-Identifier: MIT
 
 import os
 import sys
password_validation.py +5 -0
index 8669250..8c2fbbe 100644
@@ -1,3 +1,8 @@
+# Copyright (c) Django Software Foundation and individual contributors.
+# All rights reserved.
+#
+# SPDX-License-Identifier: MIT
+
 from django.core.exceptions import ValidationError
 from django.utils.translation import ugettext as _
 
pytest.ini +5 -0
index c067b05..a8d7834 100644
@@ -1,3 +1,8 @@
+# Copyright (c) Django Software Foundation and individual contributors.
+# All rights reserved.
+#
+# SPDX-License-Identifier: MIT
+
 [pytest]
 DJANGO_SETTINGS_MODULE = settings
 norecursedirs = .git layers
rrs/__init__.py +5 -0
index 3eab2fe..e2e9143 100644
@@ -1,2 +1,7 @@
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 default_app_config = 'rrs.apps.RecipeReportingSystemConfig'
rrs/admin.py +2 -0
index a4712f2..402279f 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2014 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.utils.functional import curry
 
rrs/apps.py +6 -0
index ea25060..1230718 100644
@@ -1,3 +1,9 @@
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 from django.apps import AppConfig
 
 
rrs/context_processors.py +2 -0
index 0d79bd1..52e2c30 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2014 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import settings
 from django.contrib.sites.models import Site
rrs/models.py +2 -0
index ba7e63c..f1bb527 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2014 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
rrs/tools/common.py +2 -0
index 6149792..1ce5dd5 100644
@@ -4,6 +4,8 @@
 # Author: Anibal Limon <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
rrs/tools/dump_upgrades.py +2 -0
index 011b91e..982f5a3 100755
@@ -5,6 +5,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
rrs/tools/historytool.py +2 -0
index 06456d1..9f03ade 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
rrs/tools/rrs_distros.py +2 -0
index e803328..e4c6045 100755
@@ -6,6 +6,8 @@
 # Author: Anibal Limon <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/rrs_maintainer_history.py +2 -0
index b5cc510..15e1d17 100755
@@ -6,6 +6,8 @@
 # Author: Anibal Limon <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/rrs_upgrade_history.py +2 -0
index 5070cc2..9b74a05 100755
@@ -9,6 +9,8 @@
 #          Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/rrs_upstream_email.py +2 -0
index 0c3dbe2..8a6b188 100755
@@ -7,6 +7,8 @@
 # Author: Aníbal Limón <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/rrs_upstream_history.py +2 -0
index 4451c15..7dbf64c 100755
@@ -6,6 +6,8 @@
 # Author: Anibal Limon <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/upgrade_history_internal.py +2 -0
index f48ea71..e3a96d9 100644
@@ -7,6 +7,8 @@
 #          Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
rrs/urls.py +8 -0
index 30d86b7..63426a9 100644
@@ -1,3 +1,11 @@
+# rrs-web - URLS
+#
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 from django.conf.urls import include, url
 
 from rrs.models import Release, Milestone
rrs/views.py +8 -0
index 9c36a48..68fc4f9 100644
@@ -1,3 +1,11 @@
+# rrs-web - views
+#
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 import urllib
 
 import csv
rrs/wsgi.py +6 -0
index 1d7e7b7..c25232e 100644
@@ -1,3 +1,9 @@
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 import os
 
 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
settings.py +2 -0
index 525a0c1..1dd6ebc 100644
@@ -2,6 +2,8 @@
 #
 # Based on settings.py from the Django project template
 # Copyright (c) Django Software Foundation and individual contributors.
+#
+# SPDX-License-Identifier: MIT
 
 import os
 
tests/test_update.py +2 -0
index e00775d..588b2ed 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 # NOTE: requires pytest-django. Run using "pytest" from the root
 # of the repository (add -s to avoid suppressing the output of commands
urls.py +2 -0
index 67d64b2..76f2f73 100644
@@ -4,6 +4,8 @@
 #
 # Copyright (c) Django Software Foundation and individual contributors.
 # All rights reserved.
+#
+# SPDX-License-Identifier: MIT
 
 from django.conf.urls import include, url
 from django.urls import reverse_lazy
wsgi.py +5 -0
index 99f0915..b0d82ac 100644
@@ -1,3 +1,8 @@
+# Copyright (c) Django Software Foundation and individual contributors.
+# All rights reserved.
+#
+# SPDX-License-Identifier: MIT
+
 import os, sys
 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
 sys.path.append('/var/www/html/layerindex')
Signature · 1 line
2.17.1
#1 lore raw
Quoted 112 lines · Meh Mbeh Ida Delphine

Added SPDX identifiers to all .py files except those in migrations directory.

Fixes [YOCTO #13527]
---
 __init__.py                               | 1 +
 docker/settings.py                        | 2 ++
 dockersetup.py                            | 2 ++
 layerindex/__init__.py                    | 5 +++++
 layerindex/admin.py                       | 2 ++
 layerindex/auth_forms.py                  | 2 ++
 layerindex/auth_views.py                  | 2 ++
 layerindex/bulkchange.py                  | 2 ++
 layerindex/context_processors.py          | 2 ++
 layerindex/forms.py                       | 2 ++
 layerindex/layerconfparse.py              | 1 +
 layerindex/middleware.py                  | 2 ++
 layerindex/models.py                      | 2 ++
 layerindex/querysethelper.py              | 8 ++++++++
 layerindex/recipedesc.py                  | 2 ++
 layerindex/recipeparse.py                 | 2 ++
 layerindex/restperm.py                    | 6 ++++++
 layerindex/restviews.py                   | 2 ++
 layerindex/securityquestions.py           | 8 ++++++++
 layerindex/tasks.py                       | 2 ++
 layerindex/templatetags/__init__.py       | 5 +++++
 layerindex/templatetags/extrafilters.py   | 6 ++++++
 layerindex/tools/fedora-fetch.py          | 2 ++
 layerindex/tools/fixup_duplicates.py      | 2 ++
 layerindex/tools/github-fetch.py          | 2 ++
 layerindex/tools/import_classic.py        | 2 ++
 layerindex/tools/import_classic_wiki.py   | 2 ++
 layerindex/tools/import_layer.py          | 2 ++
 layerindex/tools/import_layers.py         | 2 ++
 layerindex/tools/import_otherdistro.py    | 2 ++
 layerindex/tools/import_project.py        | 2 ++
 layerindex/tools/import_wiki_layers.py    | 2 ++
 layerindex/tools/site_name.py             | 2 ++
 layerindex/tools/update_classic_status.py | 2 ++
 layerindex/tools/webapi-test.py           | 2 ++
 layerindex/update.py                      | 2 ++
 layerindex/update_layer.py                | 2 ++
 layerindex/urls.py                        | 2 ++
 layerindex/urls_branch.py                 | 2 ++
 layerindex/utils.py                       | 2 ++
 layerindex/views.py                       | 2 ++
 manage.py                                 | 2 ++
 password_validation.py                    | 5 +++++
 pytest.ini                                | 5 +++++
 rrs/__init__.py                           | 5 +++++
 rrs/admin.py                              | 2 ++
 rrs/apps.py                               | 6 ++++++
 rrs/context_processors.py                 | 2 ++
 rrs/models.py                             | 2 ++
 rrs/tools/common.py                       | 2 ++
 rrs/tools/dump_upgrades.py                | 2 ++
 rrs/tools/historytool.py                  | 2 ++
 rrs/tools/rrs_distros.py                  | 2 ++
 rrs/tools/rrs_maintainer_history.py       | 2 ++
 rrs/tools/rrs_upgrade_history.py          | 2 ++
 rrs/tools/rrs_upstream_email.py           | 2 ++
 rrs/tools/rrs_upstream_history.py         | 2 ++
 rrs/tools/upgrade_history_internal.py     | 2 ++
 rrs/urls.py                               | 8 ++++++++
 rrs/views.py                              | 8 ++++++++
 rrs/wsgi.py                               | 6 ++++++
 settings.py                               | 2 ++
 tests/test_update.py                      | 2 ++
 urls.py                                   | 2 ++
 wsgi.py                                   | 5 +++++
 65 files changed, 186 insertions(+)
__init__.py +1 -0
index e69de29..d589fc3 100644
@@ -0,0 +1 @@
+# SPDX-License-Identifier: MIT
\ No newline at end of file
docker/settings.py +2 -0
index fb7d376..7330ab9 100644
@@ -2,6 +2,8 @@
 #
 # Based on settings.py from the Django project template
 # Copyright (c) Django Software Foundation and individual contributors.
+#
+# SPDX-License-Identifier: MIT
 
 import os
 
dockersetup.py +2 -0
index 3cc8b2d..e45a846 100755
@@ -6,6 +6,8 @@
 # Author: Amber Elliot <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 # This script will make a cluster of 5 containers:
 #
layerindex/__init__.py +0 -0
index e69de29..83d0f2f 100644

layerindex/__init__.py line 5

Quoted 6 lines
layerindex/__init__.py +5 -0
@@ -0,0 +1,5 @@
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
\ No newline at end of file

It looks like your editor is not adding a final newline in some of these files. Most editors should have a setting to ensure a final newline is included in each file, if you can't find this you can also manually add a final newline where needed.

Quoted 811 lines
layerindex/admin.py +2 -0
index 9ef781d..9ed6102 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from layerindex.models import *
 from django.contrib import admin
layerindex/auth_forms.py +2 -0
index fc3d2d1..7af48f9 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from captcha.fields import CaptchaField
 from django import forms
layerindex/auth_views.py +2 -0
index 152f171..08e0334 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.contrib import messages
 from django.contrib.auth import logout
layerindex/bulkchange.py +2 -0
index 3d1ee2b..6382053 100644
@@ -5,6 +5,8 @@
 # Copyright (C) 2013, 2016, 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/context_processors.py +2 -0
index 3352e63..2cc0380 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013, 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from layerindex.models import Branch, LayerItem, SiteNotice
 from django.contrib.sites.models import Site
layerindex/forms.py +2 -0
index 4061d4b..9615859 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013, 2016-2019 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import re
 from collections import OrderedDict
layerindex/layerconfparse.py +1 -0
index a812140..84ec005 100644
@@ -5,6 +5,7 @@
 #
 # Licensed under the MIT license, see COPYING.MIT for details
 #
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/middleware.py +2 -0
index afe34a3..527cc8b 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2019 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.utils.deprecation import MiddlewareMixin
 from django.http import HttpResponseRedirect
layerindex/models.py +2 -0
index 99c68e1..329cc33 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013-2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.db import models
 from datetime import datetime
layerindex/querysethelper.py +8 -0
index 5a856ee..fb26a17 100644
@@ -1,3 +1,11 @@
+# layerindex-web - queryset helper definitions
+#
+# Copyright (C) 2013-2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 import operator
 import functools
 from django.db.models import Q, CharField
layerindex/recipedesc.py +2 -0
index 26280ee..be47f6e 100644
@@ -4,6 +4,8 @@
 #
 # Copyright (C) 2012 Intel Corporation
 # Author: Paul Eggleton <[email protected]>
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
layerindex/recipeparse.py +2 -0
index 35867ad..62c08e9 100644
@@ -4,6 +4,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/restperm.py +6 -0
index fb9f715..5d74c66 100644
@@ -1,3 +1,9 @@
+# Copyright (C) 2013-2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 from rest_framework import permissions
 
 class ReadOnlyPermission(permissions.BasePermission):
layerindex/restviews.py +2 -0
index 7de4cd7..91779f5 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2014, 2016-2019 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from layerindex.models import Branch, LayerItem, LayerMaintainer, YPCompatibleVersion, LayerNote, LayerBranch, LayerDependency, Recipe, Machine, Distro, BBClass, Source, Patch, PackageConfig, StaticBuildDep, DynamicBuildDep, RecipeFileDependency, BBAppend, IncFile
 from rest_framework import viewsets, serializers, pagination
layerindex/securityquestions.py +8 -0
index a6a0e1c..1883b11 100644
@@ -1,3 +1,11 @@
+# layerindex-web - Security Questions
+#
+# Copyright (C) 2013-2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 security_questions = ["What was the name of your first pet?",
                        "What was the last name of your third grade teacher?",
                        "What is your favorite pizza topping?",
layerindex/tasks.py +2 -0
index ae62b91..da85539 100644
@@ -4,6 +4,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from celery import Celery
 from django.core.mail import EmailMessage
layerindex/templatetags/__init__.py +5 -0
index e69de29..c88e412 100644
@@ -0,0 +1,5 @@
+# Copyright (C) 2017, 2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
\ No newline at end of file
layerindex/templatetags/extrafilters.py +6 -0
index d79f9a1..2a9e764 100644
@@ -1,3 +1,9 @@
+# Copyright (C) 2017, 2018 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 from django import template
 from .. import utils
 
layerindex/tools/fedora-fetch.py +2 -0
index 492082a..a16fc80 100755
@@ -5,6 +5,8 @@
 # Copyright (C) 2017, 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/tools/fixup_duplicates.py +2 -0
index 5abe2c2..6c60959 100644
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/github-fetch.py +2 -0
index 11c977a..0dbe509 100755
@@ -5,6 +5,8 @@
 # Copyright (C) 2017 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/tools/import_classic.py +2 -0
index fca054c..0216221 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/import_classic_wiki.py +2 -0
index bfebcd9..aa33b7a 100755
@@ -7,6 +7,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
layerindex/tools/import_layer.py +2 -0
index ace58e5..dfe887c 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/import_layers.py +2 -0
index 3548568..57b0f86 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/import_otherdistro.py +2 -0
index 46eeeca..0c6640f 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/import_project.py +2 -0
index 27a0de3..44cf6cc 100755
@@ -9,6 +9,8 @@
 # Author: Liam R. Howlett <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from urllib.parse import urlparse
 import logging
layerindex/tools/import_wiki_layers.py +2 -0
index 71f26ea..707d90e 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/tools/site_name.py +2 -0
index 836a0c1..e1cff02 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/tools/update_classic_status.py +2 -0
index 4edfc75..0bcf2e7 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/tools/webapi-test.py +2 -0
index 20fc36b..562fbe2 100755
@@ -5,6 +5,8 @@
 # Copyright (C) 2019 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/update.py +2 -0
index e2aa96e..5a2642b 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/update_layer.py +2 -0
index 1e5950c..42f99be 100644
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
layerindex/urls.py +2 -0
index ab2d028..7264b11 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013, 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.conf.urls import *
 from django.views.generic import TemplateView, DetailView, ListView, RedirectView
layerindex/urls_branch.py +2 -0
index 9756f90..86b8b77 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013-2016 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.conf.urls import *
 from django.views.defaults import page_not_found
layerindex/utils.py +2 -0
index 2a1689b..9e28668 100644
@@ -4,6 +4,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
layerindex/views.py +2 -0
index 83adb6a..91b3280 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2013-2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import os
 import sys
manage.py +2 -0
index a815fa3..0c073ac 100755
@@ -6,6 +6,8 @@
 #
 # Copyright (c) Django Software Foundation and individual contributors.
 # All rights reserved.
+#
+# SPDX-License-Identifier: MIT
 
 import os
 import sys
password_validation.py +5 -0
index 8669250..8c2fbbe 100644
@@ -1,3 +1,8 @@
+# Copyright (c) Django Software Foundation and individual contributors.
+# All rights reserved.
+#
+# SPDX-License-Identifier: MIT
+
 from django.core.exceptions import ValidationError
 from django.utils.translation import ugettext as _
 
pytest.ini +5 -0
index c067b05..a8d7834 100644
@@ -1,3 +1,8 @@
+# Copyright (c) Django Software Foundation and individual contributors.
+# All rights reserved.
+#
+# SPDX-License-Identifier: MIT
+
 [pytest]
 DJANGO_SETTINGS_MODULE = settings
 norecursedirs = .git layers
rrs/__init__.py +5 -0
index 3eab2fe..e2e9143 100644
@@ -1,2 +1,7 @@
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 default_app_config = 'rrs.apps.RecipeReportingSystemConfig'
rrs/admin.py +2 -0
index a4712f2..402279f 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2014 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 from django.utils.functional import curry
 
rrs/apps.py +6 -0
index ea25060..1230718 100644
@@ -1,3 +1,9 @@
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 from django.apps import AppConfig
 
 
rrs/context_processors.py +2 -0
index 0d79bd1..52e2c30 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2014 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import settings
 from django.contrib.sites.models import Site
rrs/models.py +2 -0
index ba7e63c..f1bb527 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2014 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
rrs/tools/common.py +2 -0
index 6149792..1ce5dd5 100644
@@ -4,6 +4,8 @@
 # Author: Anibal Limon <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os
rrs/tools/dump_upgrades.py +2 -0
index 011b91e..982f5a3 100755
@@ -5,6 +5,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
rrs/tools/historytool.py +2 -0
index 06456d1..9f03ade 100755
@@ -6,6 +6,8 @@
 # Author: Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
rrs/tools/rrs_distros.py +2 -0
index e803328..e4c6045 100755
@@ -6,6 +6,8 @@
 # Author: Anibal Limon <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/rrs_maintainer_history.py +2 -0
index b5cc510..15e1d17 100755
@@ -6,6 +6,8 @@
 # Author: Anibal Limon <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/rrs_upgrade_history.py +2 -0
index 5070cc2..9b74a05 100755
@@ -9,6 +9,8 @@
 #          Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/rrs_upstream_email.py +2 -0
index 0c3dbe2..8a6b188 100755
@@ -7,6 +7,8 @@
 # Author: Aníbal Limón <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/rrs_upstream_history.py +2 -0
index 4451c15..7dbf64c 100755
@@ -6,6 +6,8 @@
 # Author: Anibal Limon <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 import sys
 import os.path
rrs/tools/upgrade_history_internal.py +2 -0
index f48ea71..e3a96d9 100644
@@ -7,6 +7,8 @@
 #          Paul Eggleton <[email protected]>
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 
 import sys
rrs/urls.py +8 -0
index 30d86b7..63426a9 100644
@@ -1,3 +1,11 @@
+# rrs-web - URLS
+#
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 from django.conf.urls import include, url
 
 from rrs.models import Release, Milestone
rrs/views.py +8 -0
index 9c36a48..68fc4f9 100644
@@ -1,3 +1,11 @@
+# rrs-web - views
+#
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 import urllib
 
 import csv
rrs/wsgi.py +6 -0
index 1d7e7b7..c25232e 100644
@@ -1,3 +1,9 @@
+# Copyright (C) 2014 Intel Corporation
+#
+# Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
+
 import os
 
 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
settings.py +2 -0
index 525a0c1..1dd6ebc 100644
@@ -2,6 +2,8 @@
 #
 # Based on settings.py from the Django project template
 # Copyright (c) Django Software Foundation and individual contributors.
+#
+# SPDX-License-Identifier: MIT
 
 import os
 
tests/test_update.py +2 -0
index e00775d..588b2ed 100644
@@ -3,6 +3,8 @@
 # Copyright (C) 2018 Intel Corporation
 #
 # Licensed under the MIT license, see COPYING.MIT for details
+#
+# SPDX-License-Identifier: MIT
 
 # NOTE: requires pytest-django. Run using "pytest" from the root
 # of the repository (add -s to avoid suppressing the output of commands
urls.py +2 -0
index 67d64b2..76f2f73 100644
@@ -4,6 +4,8 @@
 #
 # Copyright (c) Django Software Foundation and individual contributors.
 # All rights reserved.
+#
+# SPDX-License-Identifier: MIT
 
 from django.conf.urls import include, url
 from django.urls import reverse_lazy
wsgi.py +5 -1
index 99f0915..b0d82ac 100644
@@ -1,3 +1,8 @@
+# Copyright (c) Django Software Foundation and individual contributors.
+# All rights reserved.
+#
+# SPDX-License-Identifier: MIT
+
 import os, sys
 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
 sys.path.append('/var/www/html/layerindex')
--

2.17.1

Signature · 2 lines
Paul Barker
Konsulko Group