Add SPDX license headers to source files
PATCH 1/1 Add SPDX license headers to source files
Post/* all ( except Post/migrations/* , __init__.py and templatetags/* ) have some sort of MIT headers; adding SPDX header to make it obvious.
project/* & test-data/* all ( except __init__.py ) have some sort of MIT headers; adding SPDX header to make it obvious.
This address bug #13530
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13530
Signed-off-by Milan Shah <[email protected]>
--- Post/admin.py | 2 ++ Post/createStatistics.py | 1 + Post/feed.py | 2 ++ Post/management/commands/culldb.py | 2 ++ Post/models.py | 2 ++ Post/parser.py | 1 + Post/views.py | 2 ++ manage.py | 2 ++ project/settings.py | 2 ++ project/urls.py | 2 ++ project/wsgi.py | 4 ++++ test-data/test-send-error.py | 3 ++- 12 files changed, 24 insertions(+), 1 deletion(-)
Post/admin.py +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MIT +# # error reporting tool - admin interface definitions # # Copyright (C) 2013 Intel Corporation
Post/createStatistics.py +1 -0
@@ -1,4 +1,5 @@ #!/usr/bin/env python +# SPDX-License-Identifier: MIT # Create statistics. Update database. #
Post/feed.py +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MIT +# # error-reporting-tool - URL definitions # # Copyright (C) 2013 Intel Corporation
Post/management/commands/culldb.py +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MIT +# # error-reporting-tool - culldb # # Copyright (C) 2015 Intel Corporation
Post/models.py +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MIT +# # error-reporting-tool - model definitions # # Copyright (C) 2013 Intel Corporation
Post/parser.py +1 -0
@@ -1,4 +1,5 @@ #!/usr/bin/env python +# SPDX-License-Identifier: MIT # Add errors to database from client #
Post/views.py +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MIT +# # error-reporting-tool - view definitions # # Copyright (C) 2013 Intel Corporation
manage.py +2 -0
@@ -1,4 +1,6 @@ #!/usr/bin/env python +# SPDX-License-Identifier: MIT + import os import sys
project/settings.py +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MIT +# # Django settings for error-reporting-tool project. # Based on settings.py from the Django project template # Copyright (c) Django Software Foundation and individual contributors.
project/urls.py +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MIT +# # error-reporting-tool - URL definitions # # Copyright (C) 2013 Intel Corporation
project/wsgi.py +4 -0
@@ -1,3 +1,7 @@ +# +# SPDX-License-Identifier: MIT +# + """ WSGI config for errorsreport project.
test-data/test-send-error.py +2 -1
@@ -1,5 +1,6 @@ #!/usr/bin/env python -# +# SPDX-License-Identifier: MIT + # test/example script for sending data to error-report-web import urllib2
Signature · 1 line
2.7.4