From 2786bc29e7ed2a85da51f4dfe89fc0e76e46be28 Mon Sep 17 00:00:00 2001 From: Michael Bideau Date: Wed, 21 Aug 2019 15:02:33 +0000 Subject: [PATCH] License: prepended license text to most files --- .coveragerc | 17 ++++++++++++++++ .gitignore | 17 ++++++++++++++++ Jenkinsfile | 19 ++++++++++++++++++ atreal_openads/forms.py | 17 ++++++++++++++++ atreal_openads/json_schemas.py | 5 +++-- .../locale/fr/LC_MESSAGES/django.po | 20 +++++++++++++++---- atreal_openads/migrations/0001_initial.py | 18 +++++++++++++++++ atreal_openads/models.py | 5 +++-- atreal_openads/static/css/atreal_openads.css | 19 ++++++++++++++++++ .../manage/collectivite_form.html | 19 ++++++++++++++++++ .../manage/collectivite_list.html | 19 ++++++++++++++++++ .../manage/collectivite_view.html | 19 ++++++++++++++++++ .../atreal_openads/manage/connector_view.html | 19 ++++++++++++++++++ .../manage/forwardfile_form.html | 19 ++++++++++++++++++ .../manage/forwardfile_list.html | 19 ++++++++++++++++++ .../manage/forwardfile_view.html | 19 ++++++++++++++++++ .../atreal_openads/manage/guichet_form.html | 19 ++++++++++++++++++ .../atreal_openads/manage/guichet_view.html | 19 ++++++++++++++++++ atreal_openads/urls.py | 17 ++++++++++++++++ atreal_openads/utils.py | 5 +++-- atreal_openads/views.py | 17 ++++++++++++++++ debian/50atreal_openads.py | 20 +++++++++++++++++++ manage.py | 19 ++++++++++++++++++ pylint.sh | 17 ++++++++++++++++ setup.py | 18 +++++++++++++++++ tox.ini | 17 ++++++++++++++++ 26 files changed, 428 insertions(+), 10 deletions(-) diff --git a/.coveragerc b/.coveragerc index d20a3b0..26d2fd2 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,3 +1,20 @@ +; This file is part of passerelle-atreal-openads - a Publik connector to openADS +; +; Copyright (C) 2019 Atreal +; +; This program is free software: you can redistribute it and/or modify it +; under the terms of the GNU Affero 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 Affero General Public License for more details. +; +; You should have received a copy of the GNU Affero General Public License +; along with this program. If not, see . + [run] omit = */south_migrations/* diff --git a/.gitignore b/.gitignore index c5be799..fd0b1e7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,20 @@ +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + *.egg-info *.pyc *.swp diff --git a/Jenkinsfile b/Jenkinsfile index 31c3e5e..8cc0c23 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,22 @@ +/** + * This file is part of passerelle-atreal-openads - a Publik connector to openADS + * + * Copyright (C) 2019 Atreal + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + @Library('eo-jenkins-lib@master') import eo.Utils pipeline { diff --git a/atreal_openads/forms.py b/atreal_openads/forms.py index 4c7a398..e486c8f 100644 --- a/atreal_openads/forms.py +++ b/atreal_openads/forms.py @@ -1,6 +1,23 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + from django.forms import ModelForm from .models import ForwardFile, Collectivite, Guichet diff --git a/atreal_openads/json_schemas.py b/atreal_openads/json_schemas.py index c85ca3e..3335a0f 100644 --- a/atreal_openads/json_schemas.py +++ b/atreal_openads/json_schemas.py @@ -1,8 +1,9 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# passerelle - uniform access to multiple data sources and services -# Copyright (C) 2018 Entr'ouvert +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published diff --git a/atreal_openads/locale/fr/LC_MESSAGES/django.po b/atreal_openads/locale/fr/LC_MESSAGES/django.po index d59b9a5..de5d90e 100644 --- a/atreal_openads/locale/fr/LC_MESSAGES/django.po +++ b/atreal_openads/locale/fr/LC_MESSAGES/django.po @@ -1,8 +1,20 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. +# This file is part of passerelle-atreal-openads - a Publik connector to openADS # +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + msgid "" msgstr "" "Project-Id-Version: \n" diff --git a/atreal_openads/migrations/0001_initial.py b/atreal_openads/migrations/0001_initial.py index a49b66c..b972f65 100644 --- a/atreal_openads/migrations/0001_initial.py +++ b/atreal_openads/migrations/0001_initial.py @@ -1,5 +1,23 @@ # -*- coding: utf-8 -*- # Generated by Django 1.11.18 on 2019-08-21 12:31 + +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + from __future__ import unicode_literals import atreal_openads.utils diff --git a/atreal_openads/models.py b/atreal_openads/models.py index 147f4d0..b6e3484 100644 --- a/atreal_openads/models.py +++ b/atreal_openads/models.py @@ -1,8 +1,9 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# passerelle - uniform access to multiple data sources and services -# Copyright (C) 2018 Entr'ouvert +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published diff --git a/atreal_openads/static/css/atreal_openads.css b/atreal_openads/static/css/atreal_openads.css index 2029bb3..328b8a7 100644 --- a/atreal_openads/static/css/atreal_openads.css +++ b/atreal_openads/static/css/atreal_openads.css @@ -1,3 +1,22 @@ +/** + * This file is part of passerelle-atreal-openads - a Publik connector to openADS + * + * Copyright (C) 2019 Atreal + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + /* overrides for atreal_openads */ div#header h1.breadcrumbs a:last-child { diff --git a/atreal_openads/templates/atreal_openads/manage/collectivite_form.html b/atreal_openads/templates/atreal_openads/manage/collectivite_form.html index 5a581cc..cddf43b 100644 --- a/atreal_openads/templates/atreal_openads/manage/collectivite_form.html +++ b/atreal_openads/templates/atreal_openads/manage/collectivite_form.html @@ -1,6 +1,25 @@ {% extends "passerelle/manage.html" %} {% load i18n passerelle gadjo staticfiles %} +{% comment %} +This file is part of passerelle-atreal-openads - a Publik connector to openADS + +Copyright (C) 2019 Atreal + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +{% endcomment %} + {% block extrascripts %} {{ block.super }} diff --git a/atreal_openads/templates/atreal_openads/manage/collectivite_list.html b/atreal_openads/templates/atreal_openads/manage/collectivite_list.html index 90c3e10..58d8dec 100644 --- a/atreal_openads/templates/atreal_openads/manage/collectivite_list.html +++ b/atreal_openads/templates/atreal_openads/manage/collectivite_list.html @@ -1,6 +1,25 @@ {% extends "passerelle/manage.html" %} {% load i18n passerelle gadjo staticfiles %} +{% comment %} +This file is part of passerelle-atreal-openads - a Publik connector to openADS + +Copyright (C) 2019 Atreal + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +{% endcomment %} + {% block extrascripts %} {{ block.super }} diff --git a/atreal_openads/templates/atreal_openads/manage/collectivite_view.html b/atreal_openads/templates/atreal_openads/manage/collectivite_view.html index abbe50d..d378460 100644 --- a/atreal_openads/templates/atreal_openads/manage/collectivite_view.html +++ b/atreal_openads/templates/atreal_openads/manage/collectivite_view.html @@ -1,6 +1,25 @@ {% extends "passerelle/manage.html" %} {% load i18n passerelle gadjo staticfiles %} +{% comment %} +This file is part of passerelle-atreal-openads - a Publik connector to openADS + +Copyright (C) 2019 Atreal + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +{% endcomment %} + {% block extrascripts %} {{ block.super }} diff --git a/atreal_openads/templates/atreal_openads/manage/connector_view.html b/atreal_openads/templates/atreal_openads/manage/connector_view.html index 2bd54da..3112f7c 100644 --- a/atreal_openads/templates/atreal_openads/manage/connector_view.html +++ b/atreal_openads/templates/atreal_openads/manage/connector_view.html @@ -1,6 +1,25 @@ {% extends "passerelle/manage/service_view.html" %} {% load i18n passerelle gadjo staticfiles %} +{% comment %} +This file is part of passerelle-atreal-openads - a Publik connector to openADS + +Copyright (C) 2019 Atreal + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +{% endcomment %} + {% block extrascripts %} {{ block.super }} diff --git a/atreal_openads/templates/atreal_openads/manage/forwardfile_form.html b/atreal_openads/templates/atreal_openads/manage/forwardfile_form.html index cb72241..7a7e2ba 100644 --- a/atreal_openads/templates/atreal_openads/manage/forwardfile_form.html +++ b/atreal_openads/templates/atreal_openads/manage/forwardfile_form.html @@ -1,6 +1,25 @@ {% extends "passerelle/manage.html" %} {% load i18n passerelle gadjo staticfiles %} +{% comment %} +This file is part of passerelle-atreal-openads - a Publik connector to openADS + +Copyright (C) 2019 Atreal + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +{% endcomment %} + {% block extrascripts %} {{ block.super }} diff --git a/atreal_openads/templates/atreal_openads/manage/forwardfile_list.html b/atreal_openads/templates/atreal_openads/manage/forwardfile_list.html index 2bb4bc9..3f9e642 100644 --- a/atreal_openads/templates/atreal_openads/manage/forwardfile_list.html +++ b/atreal_openads/templates/atreal_openads/manage/forwardfile_list.html @@ -1,6 +1,25 @@ {% extends "passerelle/manage.html" %} {% load i18n passerelle gadjo staticfiles %} +{% comment %} +This file is part of passerelle-atreal-openads - a Publik connector to openADS + +Copyright (C) 2019 Atreal + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +{% endcomment %} + {% block extrascripts %} {{ block.super }} diff --git a/atreal_openads/templates/atreal_openads/manage/forwardfile_view.html b/atreal_openads/templates/atreal_openads/manage/forwardfile_view.html index 930e732..604faa3 100644 --- a/atreal_openads/templates/atreal_openads/manage/forwardfile_view.html +++ b/atreal_openads/templates/atreal_openads/manage/forwardfile_view.html @@ -1,6 +1,25 @@ {% extends "passerelle/manage.html" %} {% load i18n passerelle gadjo staticfiles %} +{% comment %} +This file is part of passerelle-atreal-openads - a Publik connector to openADS + +Copyright (C) 2019 Atreal + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +{% endcomment %} + {% block extrascripts %} {{ block.super }} diff --git a/atreal_openads/templates/atreal_openads/manage/guichet_form.html b/atreal_openads/templates/atreal_openads/manage/guichet_form.html index 5784f3c..d6af75d 100644 --- a/atreal_openads/templates/atreal_openads/manage/guichet_form.html +++ b/atreal_openads/templates/atreal_openads/manage/guichet_form.html @@ -1,6 +1,25 @@ {% extends "passerelle/manage.html" %} {% load i18n passerelle gadjo staticfiles %} +{% comment %} +This file is part of passerelle-atreal-openads - a Publik connector to openADS + +Copyright (C) 2019 Atreal + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +{% endcomment %} + {% block extrascripts %} {{ block.super }} diff --git a/atreal_openads/templates/atreal_openads/manage/guichet_view.html b/atreal_openads/templates/atreal_openads/manage/guichet_view.html index bcf42f6..033ee93 100644 --- a/atreal_openads/templates/atreal_openads/manage/guichet_view.html +++ b/atreal_openads/templates/atreal_openads/manage/guichet_view.html @@ -1,6 +1,25 @@ {% extends "passerelle/manage.html" %} {% load i18n passerelle gadjo staticfiles %} +{% comment %} +This file is part of passerelle-atreal-openads - a Publik connector to openADS + +Copyright (C) 2019 Atreal + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +{% endcomment %} + {% block extrascripts %} {{ block.super }} diff --git a/atreal_openads/urls.py b/atreal_openads/urls.py index 76300a6..3a2cd5e 100644 --- a/atreal_openads/urls.py +++ b/atreal_openads/urls.py @@ -1,6 +1,23 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + import re from django.conf.urls import url diff --git a/atreal_openads/utils.py b/atreal_openads/utils.py index 697943e..66af532 100644 --- a/atreal_openads/utils.py +++ b/atreal_openads/utils.py @@ -1,8 +1,9 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# passerelle - uniform access to multiple data sources and services -# Copyright (C) 2018 Entr'ouvert +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published diff --git a/atreal_openads/views.py b/atreal_openads/views.py index 790c044..70bffdf 100644 --- a/atreal_openads/views.py +++ b/atreal_openads/views.py @@ -1,6 +1,23 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + from django.urls import reverse_lazy from django.views.generic.detail import DetailView diff --git a/debian/50atreal_openads.py b/debian/50atreal_openads.py index 90fd140..441cc63 100644 --- a/debian/50atreal_openads.py +++ b/debian/50atreal_openads.py @@ -1,3 +1,23 @@ +#! /usr/bin/env python +# -*- coding: utf-8 -*- + +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + if not 'atreal_openads' in INSTALLED_APPS: INSTALLED_APPS += ('atreal_openads',) TENANT_APPS += ('atreal_openads',) diff --git a/manage.py b/manage.py index b14912a..a088af0 100644 --- a/manage.py +++ b/manage.py @@ -1,4 +1,23 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- + +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + import os import sys diff --git a/pylint.sh b/pylint.sh index babdf18..c200c99 100755 --- a/pylint.sh +++ b/pylint.sh @@ -1,5 +1,22 @@ #!/bin/sh +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + set -e -x env if [ -f /var/lib/jenkins/pylint.django.rc ]; then diff --git a/setup.py b/setup.py index 5555394..c8a1b56 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,22 @@ #! /usr/bin/env python +# -*- coding: utf-8 -*- + +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import os import subprocess diff --git a/tox.ini b/tox.ini index c1a53ec..9521603 100644 --- a/tox.ini +++ b/tox.ini @@ -1,3 +1,20 @@ +; This file is part of passerelle-atreal-openads - a Publik connector to openADS +; +; Copyright (C) 2019 Atreal +; +; This program is free software: you can redistribute it and/or modify it +; under the terms of the GNU Affero 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 Affero General Public License for more details. +; +; You should have received a copy of the GNU Affero General Public License +; along with this program. If not, see . + [tox] envlist = py2-coverage-pylint toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle-atreal-openads/{env:BRANCH_NAME:}