From 4d62f1c1d858628838e45307d4640e2293612ec7 Mon Sep 17 00:00:00 2001 From: Venu Vardhan Reddy Tekula Date: Sun, 1 Mar 2020 22:19:39 +0530 Subject: [PATCH 1/2] [prosoul] add license and copyright info This commit adds the license and copyright information to the files which doesn't have it. Signed-off-by: Venu Vardhan Reddy Tekula --- django-prosoul/prosoul/admin.py | 22 ++++++++++++++++++++++ django-prosoul/prosoul/apps.py | 22 ++++++++++++++++++++++ django-prosoul/prosoul/data.py | 22 ++++++++++++++++++++++ django-prosoul/prosoul/data_editor.py | 22 ++++++++++++++++++++++ django-prosoul/prosoul/forms.py | 24 ++++++++++++++++++++++++ django-prosoul/prosoul/forms_editor.py | 24 ++++++++++++++++++++++++ django-prosoul/prosoul/models.py | 23 +++++++++++++++++++++++ django-prosoul/prosoul/prosoul_utils.py | 23 +++++++++++++++++++++++ django-prosoul/prosoul/rest.py | 22 ++++++++++++++++++++++ django-prosoul/prosoul/tests.py | 23 +++++++++++++++++++++++ django-prosoul/prosoul/urls.py | 23 +++++++++++++++++++++++ django-prosoul/prosoul/views.py | 24 ++++++++++++++++++++++++ django-prosoul/prosoul/views_editor.py | 24 ++++++++++++++++++++++++ 13 files changed, 298 insertions(+) diff --git a/django-prosoul/prosoul/admin.py b/django-prosoul/prosoul/admin.py index cb160ba..b78d4be 100644 --- a/django-prosoul/prosoul/admin.py +++ b/django-prosoul/prosoul/admin.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# +# + from django.contrib import admin from . import models diff --git a/django-prosoul/prosoul/apps.py b/django-prosoul/prosoul/apps.py index fa26d41..b69f92e 100644 --- a/django-prosoul/prosoul/apps.py +++ b/django-prosoul/prosoul/apps.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# +# + from django.apps import AppConfig diff --git a/django-prosoul/prosoul/data.py b/django-prosoul/prosoul/data.py index 8366062..2f3aa45 100644 --- a/django-prosoul/prosoul/data.py +++ b/django-prosoul/prosoul/data.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# +# + import json import logging import os.path diff --git a/django-prosoul/prosoul/data_editor.py b/django-prosoul/prosoul/data_editor.py index 01eb130..9923f53 100644 --- a/django-prosoul/prosoul/data_editor.py +++ b/django-prosoul/prosoul/data_editor.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# +# + from prosoul.models import Attribute, QualityModel, Goal, Metric, MetricData diff --git a/django-prosoul/prosoul/forms.py b/django-prosoul/prosoul/forms.py index 736d644..cfad054 100644 --- a/django-prosoul/prosoul/forms.py +++ b/django-prosoul/prosoul/forms.py @@ -1,3 +1,27 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# Valerio Cosentino +# David Moreno +# +# + import os from django import forms diff --git a/django-prosoul/prosoul/forms_editor.py b/django-prosoul/prosoul/forms_editor.py index 7363f1a..6e35215 100644 --- a/django-prosoul/prosoul/forms_editor.py +++ b/django-prosoul/prosoul/forms_editor.py @@ -1,3 +1,27 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# Valerio Cosentino +# David Moreno +# +# + import functools from time import time diff --git a/django-prosoul/prosoul/models.py b/django-prosoul/prosoul/models.py index 1d06203..3fcf1b1 100644 --- a/django-prosoul/prosoul/models.py +++ b/django-prosoul/prosoul/models.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# David Moreno +# +# + from django.db import models from django.contrib.auth.models import User from django.core.validators import validate_comma_separated_integer_list diff --git a/django-prosoul/prosoul/prosoul_utils.py b/django-prosoul/prosoul/prosoul_utils.py index e70a8e0..d69434e 100644 --- a/django-prosoul/prosoul/prosoul_utils.py +++ b/django-prosoul/prosoul/prosoul_utils.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# Valerio Cosentino +# +# + # Supported backends for providing the data for metrics in the quality models BACKEND_METRICS_DATA = ['scava-metrics', 'grimoirelab', 'ossmeter'] diff --git a/django-prosoul/prosoul/rest.py b/django-prosoul/prosoul/rest.py index 44541b4..eff1b24 100644 --- a/django-prosoul/prosoul/rest.py +++ b/django-prosoul/prosoul/rest.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# +# + # Serializers define the API representation. from django.contrib.auth.models import User diff --git a/django-prosoul/prosoul/tests.py b/django-prosoul/prosoul/tests.py index 5ea6369..8ceaa7d 100644 --- a/django-prosoul/prosoul/tests.py +++ b/django-prosoul/prosoul/tests.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# Valerio Cosentino +# +# + # import json # from django.test import TestCase diff --git a/django-prosoul/prosoul/urls.py b/django-prosoul/prosoul/urls.py index 826e2d4..923623a 100644 --- a/django-prosoul/prosoul/urls.py +++ b/django-prosoul/prosoul/urls.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# David Moreno +# +# + from django.conf.urls import include, url from django.views.generic import RedirectView diff --git a/django-prosoul/prosoul/views.py b/django-prosoul/prosoul/views.py index debd644..65549e1 100644 --- a/django-prosoul/prosoul/views.py +++ b/django-prosoul/prosoul/views.py @@ -1,3 +1,27 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# Valerio Cosentino +# David Moreno +# +# + import json import os diff --git a/django-prosoul/prosoul/views_editor.py b/django-prosoul/prosoul/views_editor.py index 39f46fb..79fb147 100644 --- a/django-prosoul/prosoul/views_editor.py +++ b/django-prosoul/prosoul/views_editor.py @@ -1,3 +1,27 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2015-2020 Bitergia +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# Authors: +# Alvaro del Castillo San Felix +# Valerio Cosentino +# David Moreno +# +# + import functools import json From 3573d45b70c8bd5b25039bf1b5afa63721be8a62 Mon Sep 17 00:00:00 2001 From: Venu Vardhan Reddy Tekula Date: Sun, 1 Mar 2020 22:35:00 +0530 Subject: [PATCH 2/2] [prosoul] update license and copyright info This commit updates the years and the content of the license and copyright information in the python source files. Signed-off-by: Venu Vardhan Reddy Tekula --- django-prosoul/config_deployment.py | 2 +- .../django_prosoul/create_admin_superuser.py | 3 ++- django-prosoul/prosoul/metrics_import.py | 9 ++++----- django-prosoul/prosoul/prosoul_assess.py | 10 +++++----- django-prosoul/prosoul/prosoul_export.py | 9 ++++----- django-prosoul/prosoul/prosoul_import.py | 9 ++++----- django-prosoul/prosoul/prosoul_metrics.py | 7 ++----- django-prosoul/prosoul/prosoul_vis.py | 10 +++++----- django-prosoul/setup.py | 2 +- 9 files changed, 28 insertions(+), 33 deletions(-) diff --git a/django-prosoul/config_deployment.py b/django-prosoul/config_deployment.py index ecf6e4e..d16f5b2 100644 --- a/django-prosoul/config_deployment.py +++ b/django-prosoul/config_deployment.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2015-2019 Bitergia +# Copyright (C) 2015-2020 Bitergia # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/django-prosoul/django_prosoul/create_admin_superuser.py b/django-prosoul/django_prosoul/create_admin_superuser.py index 0a6f6be..6445456 100755 --- a/django-prosoul/django_prosoul/create_admin_superuser.py +++ b/django-prosoul/django_prosoul/create_admin_superuser.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# Copyright (C) 2015-2019 Bitergia +# Copyright (C) 2015-2020 Bitergia # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,6 +18,7 @@ # # Authors: # Alvaro del Castillo San Felix +# Valerio Cosentino # # diff --git a/django-prosoul/prosoul/metrics_import.py b/django-prosoul/prosoul/metrics_import.py index d12a47e..39939d9 100755 --- a/django-prosoul/prosoul/metrics_import.py +++ b/django-prosoul/prosoul/metrics_import.py @@ -1,9 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# Load CROSSMINER metrics definition in Prosoul -# -# Copyright (C) 2017 Bitergia +# Copyright (C) 2015-2020 Bitergia # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,11 +14,12 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# along with this program. If not, see . # # Authors: # Alvaro del Castillo San Felix +# Valerio Cosentino +# # import argparse diff --git a/django-prosoul/prosoul/prosoul_assess.py b/django-prosoul/prosoul/prosoul_assess.py index 541362d..3beb255 100755 --- a/django-prosoul/prosoul/prosoul_assess.py +++ b/django-prosoul/prosoul/prosoul_assess.py @@ -1,9 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# Assess a Software Project based on Quality Models -# -# Copyright (C) Bitergia +# Copyright (C) 2015-2020 Bitergia # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,11 +14,13 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# along with this program. If not, see . # # Authors: # Alvaro del Castillo San Felix +# Valerio Cosentino +# David Moreno +# # import argparse diff --git a/django-prosoul/prosoul/prosoul_export.py b/django-prosoul/prosoul/prosoul_export.py index b241118..a5bbe61 100755 --- a/django-prosoul/prosoul/prosoul_export.py +++ b/django-prosoul/prosoul/prosoul_export.py @@ -1,9 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# Export a Metrics Model to a file -# -# Copyright (C) 2017 Bitergia +# Copyright (C) 2015-2020 Bitergia # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,11 +14,12 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# along with this program. If not, see . # # Authors: # Alvaro del Castillo San Felix +# David Moreno +# # import argparse diff --git a/django-prosoul/prosoul/prosoul_import.py b/django-prosoul/prosoul/prosoul_import.py index 51b76ec..22bd6a9 100755 --- a/django-prosoul/prosoul/prosoul_import.py +++ b/django-prosoul/prosoul/prosoul_import.py @@ -1,9 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# Import Metrics Models in Prosoul -# -# Copyright (C) 2017 Bitergia +# Copyright (C) 2015-2020 Bitergia # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,11 +14,12 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# along with this program. If not, see . # # Authors: # Alvaro del Castillo San Felix +# David Moreno +# # import argparse diff --git a/django-prosoul/prosoul/prosoul_metrics.py b/django-prosoul/prosoul/prosoul_metrics.py index 7d3b061..d33b33c 100755 --- a/django-prosoul/prosoul/prosoul_metrics.py +++ b/django-prosoul/prosoul/prosoul_metrics.py @@ -1,9 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# ProSoul Metrics Manager Tool -# -# Copyright (C) Bitergia +# Copyright (C) 2015-2020 Bitergia # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,8 +14,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# along with this program. If not, see . # # Authors: # Alvaro del Castillo San Felix diff --git a/django-prosoul/prosoul/prosoul_vis.py b/django-prosoul/prosoul/prosoul_vis.py index 1b92aa9..b33b065 100755 --- a/django-prosoul/prosoul/prosoul_vis.py +++ b/django-prosoul/prosoul/prosoul_vis.py @@ -1,9 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# Create a Kibana Dashboard to show a Quality Model -# -# Copyright (C) Bitergia +# Copyright (C) 2015-2020 Bitergia # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,11 +14,13 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# along with this program. If not, see . # # Authors: # Alvaro del Castillo San Felix +# Valerio Cosentino +# David Moreno +# # import argparse diff --git a/django-prosoul/setup.py b/django-prosoul/setup.py index 41ffbbe..3762f59 100644 --- a/django-prosoul/setup.py +++ b/django-prosoul/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# Copyright (C) 2015-2019 Bitergia +# Copyright (C) 2015-2020 Bitergia # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by