Skip to contentSkip to conversation

Add SPDX license headers to source files

PATCH Milan Shah 2 participants 3 messages May 1, 2020 – May 15, 2020 1 message not in the archive

lore
Share & tools
lore

Milan Shah

author
#1 lore raw
In reply to a message not in the archive

Hi All,

This is Gentle Reminder to review these changes.

This address bug #13530
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13530

Patch to review:
https://patchwork.openembedded.org/patch/170541/

Thanks & Regards,
*Milan Shah*
MontaVista Software, Bangaluru, India

Quoted 157 lines · Milan Shah via Lists.Yoctoproject.Org

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

---
 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
index f11ff65..43aa9a6 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT
+#
 # error reporting tool - admin interface definitions
 #
 # Copyright (C) 2013 Intel Corporation
Post/createStatistics.py +1 -0
index 213927a..09d098e 100644
@@ -1,4 +1,5 @@
 #!/usr/bin/env python
+# SPDX-License-Identifier: MIT
 
 # Create statistics. Update database.
 #
Post/feed.py +2 -0
index 745ee23..7e5bfdb 100644
@@ -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
index 698537c..bd70ffc 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT
+#
 # error-reporting-tool -  culldb
 #
 # Copyright (C) 2015 Intel Corporation
Post/models.py +2 -0
index ddf2fc7..cf8c1c2 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT
+#
 # error-reporting-tool - model definitions
 #
 # Copyright (C) 2013 Intel Corporation
Post/parser.py +1 -0
index 9639308..ed65d4f 100644
@@ -1,4 +1,5 @@
 #!/usr/bin/env python
+# SPDX-License-Identifier: MIT
 
 # Add errors to database from client
 #
Post/views.py +2 -0
index 7f2cffb..cc6aed9 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT
+#
 # error-reporting-tool - view definitions
 #
 # Copyright (C) 2013 Intel Corporation
manage.py +2 -0
index 82cfa83..8edb2e4 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/env python
+# SPDX-License-Identifier: MIT
+
 import os
 import sys
 
project/settings.py +2 -0
index 3c6c87e..2d1ab92 100644
@@ -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
index 0e8f39c..1f51c7c 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: MIT
+#
 # error-reporting-tool - URL definitions
 #
 # Copyright (C) 2013 Intel Corporation
project/wsgi.py +4 -0
index 7d4fc73..8d3ba66 100644
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
 """
 WSGI config for errorsreport project.
 
test-data/test-send-error.py +2 -2
index 7070c18..1252855 100755
@@ -1,5 +1,6 @@
 #!/usr/bin/env python
-#
+# SPDX-License-Identifier: MIT
+
 # test/example script for sending data to error-report-web
 
 import urllib2
--

2.7.4

#2 lore raw
Quoted 11 lines · Milan Shah

Hi All,

This is Gentle Reminder to review these changes.

This address bug #13530
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13530

Patch to review:
https://patchwork.openembedded.org/patch/170541/

Thanks Milan.
Looks good to me.

Michael,
Are you still maintaining the repo?

../Randy

Quoted 169 lines

Thanks & Regards,
*Milan Shah*
MontaVista Software, Bangaluru, India

On Wed, Feb 26, 2020 at 3:17 PM Milan Shah via Lists.Yoctoproject.Org <http://Lists.Yoctoproject.Org> <[email protected] <mailto:[email protected]>> wrote:

    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] <mailto:[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(-)

    diff --git a/Post/admin.py b/Post/admin.py
    index f11ff65..43aa9a6 100644
    --- a/Post/admin.py
    +++ b/Post/admin.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error reporting tool - admin interface definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/Post/createStatistics.py b/Post/createStatistics.py
    index 213927a..09d098e 100644
    --- a/Post/createStatistics.py
    +++ b/Post/createStatistics.py
    @@ -1,4 +1,5 @@
      #!/usr/bin/env python
    +# SPDX-License-Identifier: MIT

      # Create statistics. Update database.
      #
    diff --git a/Post/feed.py b/Post/feed.py
    index 745ee23..7e5bfdb 100644
    --- a/Post/feed.py
    +++ b/Post/feed.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool - URL definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/Post/management/commands/culldb.py
    b/Post/management/commands/culldb.py
    index 698537c..bd70ffc 100644
    --- a/Post/management/commands/culldb.py
    +++ b/Post/management/commands/culldb.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool -  culldb
      #
      # Copyright (C) 2015 Intel Corporation
    diff --git a/Post/models.py b/Post/models.py
    index ddf2fc7..cf8c1c2 100644
    --- a/Post/models.py
    +++ b/Post/models.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool - model definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/Post/parser.py b/Post/parser.py
    index 9639308..ed65d4f 100644
    --- a/Post/parser.py
    +++ b/Post/parser.py
    @@ -1,4 +1,5 @@
      #!/usr/bin/env python
    +# SPDX-License-Identifier: MIT

      # Add errors to database from client
      #
    diff --git a/Post/views.py b/Post/views.py
    index 7f2cffb..cc6aed9 100644
    --- a/Post/views.py
    +++ b/Post/views.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool - view definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/manage.py b/manage.py
    index 82cfa83..8edb2e4 100755
    --- a/manage.py
    +++ b/manage.py
    @@ -1,4 +1,6 @@
      #!/usr/bin/env python
    +# SPDX-License-Identifier: MIT
    +
      import os
      import sys

    diff --git a/project/settings.py b/project/settings.py
    index 3c6c87e..2d1ab92 100644
    --- a/project/settings.py
    +++ b/project/settings.py
    @@ -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.
    diff --git a/project/urls.py b/project/urls.py
    index 0e8f39c..1f51c7c 100644
    --- a/project/urls.py
    +++ b/project/urls.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool - URL definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/project/wsgi.py b/project/wsgi.py
    index 7d4fc73..8d3ba66 100644
    --- a/project/wsgi.py
    +++ b/project/wsgi.py
    @@ -1,3 +1,7 @@
    +#
    +# SPDX-License-Identifier: MIT
    +#
    +
      """
      WSGI config for errorsreport project.

    diff --git a/test-data/test-send-error.py b/test-data/test-send-error.py
    index 7070c18..1252855 100755
    --- a/test-data/test-send-error.py
    +++ b/test-data/test-send-error.py
    @@ -1,5 +1,6 @@
      #!/usr/bin/env python
    -#
    +# SPDX-License-Identifier: MIT
    +
      # test/example script for sending data to error-report-web

      import urllib2
    -- 
    2.7.4
Signature · 2 lines
# Randy MacLeod
# Wind River Linux
author
#3 lore raw

Randy

Thanks for reviewing it. Hope it will be merged into the main repo soon.

Thanks & Regards,
*Milan Shah*
MontaVista Software, Bangaluru, India

Quoted 200 lines · Randy MacLeod
Quoted 11 lines · Milan Shah

Hi All,

This is Gentle Reminder to review these changes.

This address bug #13530
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13530

Patch to review:
https://patchwork.openembedded.org/patch/170541/

Thanks Milan.
Looks good to me.

Michael,
Are you still maintaining the repo?

../Randy

Quoted 7 lines

Thanks & Regards,
*Milan Shah*
MontaVista Software, Bangaluru, India

Quoted 5 lines

On Wed, Feb 26, 2020 at 3:17 PM Milan Shah via Lists.Yoctoproject.Org
<http://Lists.Yoctoproject.Org> <[email protected] <mailto:[email protected]>> wrote:

Post/* all ( except Post/migrations/* , __init__.py and

templatetags/* )

Quoted 134 lines

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

Quoted 1 line
    ---
      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(-)

    diff --git a/Post/admin.py b/Post/admin.py
    index f11ff65..43aa9a6 100644
    --- a/Post/admin.py
    +++ b/Post/admin.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error reporting tool - admin interface definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/Post/createStatistics.py b/Post/createStatistics.py
    index 213927a..09d098e 100644
    --- a/Post/createStatistics.py
    +++ b/Post/createStatistics.py
    @@ -1,4 +1,5 @@
      #!/usr/bin/env python
    +# SPDX-License-Identifier: MIT

      # Create statistics. Update database.
      #
    diff --git a/Post/feed.py b/Post/feed.py
    index 745ee23..7e5bfdb 100644
    --- a/Post/feed.py
    +++ b/Post/feed.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool - URL definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/Post/management/commands/culldb.py
    b/Post/management/commands/culldb.py
    index 698537c..bd70ffc 100644
    --- a/Post/management/commands/culldb.py
    +++ b/Post/management/commands/culldb.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool -  culldb
      #
      # Copyright (C) 2015 Intel Corporation
    diff --git a/Post/models.py b/Post/models.py
    index ddf2fc7..cf8c1c2 100644
    --- a/Post/models.py
    +++ b/Post/models.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool - model definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/Post/parser.py b/Post/parser.py
    index 9639308..ed65d4f 100644
    --- a/Post/parser.py
    +++ b/Post/parser.py
    @@ -1,4 +1,5 @@
      #!/usr/bin/env python
    +# SPDX-License-Identifier: MIT

      # Add errors to database from client
      #
    diff --git a/Post/views.py b/Post/views.py
    index 7f2cffb..cc6aed9 100644
    --- a/Post/views.py
    +++ b/Post/views.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool - view definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/manage.py b/manage.py
    index 82cfa83..8edb2e4 100755
    --- a/manage.py
    +++ b/manage.py
    @@ -1,4 +1,6 @@
      #!/usr/bin/env python
    +# SPDX-License-Identifier: MIT
    +
      import os
      import sys

    diff --git a/project/settings.py b/project/settings.py
    index 3c6c87e..2d1ab92 100644
    --- a/project/settings.py
    +++ b/project/settings.py
    @@ -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.
    diff --git a/project/urls.py b/project/urls.py
    index 0e8f39c..1f51c7c 100644
    --- a/project/urls.py
    +++ b/project/urls.py
    @@ -1,3 +1,5 @@
    +# SPDX-License-Identifier: MIT
    +#
      # error-reporting-tool - URL definitions
      #
      # Copyright (C) 2013 Intel Corporation
    diff --git a/project/wsgi.py b/project/wsgi.py
    index 7d4fc73..8d3ba66 100644
    --- a/project/wsgi.py
    +++ b/project/wsgi.py
    @@ -1,3 +1,7 @@
Quoted 8 lines
    +#
    +# SPDX-License-Identifier: MIT
    +#
    +
      """
      WSGI config for errorsreport project.

    diff --git a/test-data/test-send-error.py

b/test-data/test-send-error.py

Quoted 5 lines
    index 7070c18..1252855 100755
    --- a/test-data/test-send-error.py
    +++ b/test-data/test-send-error.py
    @@ -1,5 +1,6 @@
      #!/usr/bin/env python
Quoted 13 lines
    -#
    +# SPDX-License-Identifier: MIT
    +
      # test/example script for sending data to error-report-web

      import urllib2
    --
    2.7.4

--
# Randy MacLeod
# Wind River Linux