summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-08-05 00:14:55 +0200
committerJohn Villalovos <john@sodarock.com>2022-08-04 23:14:14 -0700
commit366665e89045eb24d47f730e2a5dea6229839e20 (patch)
treef11768b0e18057df397c968f3d256ad6b090f6a9
parent50822f808e44be42f176d4c093a0ea9ed1f6add1 (diff)
downloadgitlab-366665e89045eb24d47f730e2a5dea6229839e20.tar.gz
chore: consolidate license and authors
-rw-r--r--AUTHORS8
-rw-r--r--docs/conf.py4
-rw-r--r--gitlab/__init__.py2
-rw-r--r--gitlab/_version.py2
-rw-r--r--gitlab/base.py17
-rw-r--r--gitlab/cli.py19
-rw-r--r--gitlab/client.py16
-rw-r--r--gitlab/config.py17
-rw-r--r--gitlab/const.py17
-rw-r--r--gitlab/exceptions.py17
-rw-r--r--gitlab/mixins.py17
-rw-r--r--gitlab/types.py17
-rw-r--r--gitlab/utils.py17
-rw-r--r--gitlab/v4/cli.py18
-rw-r--r--gitlab/v4/objects/__init__.py17
-rw-r--r--tests/unit/mixins/test_object_mixins_attributes.py18
-rw-r--r--tests/unit/test_base.py17
-rw-r--r--tests/unit/test_cli.py18
-rw-r--r--tests/unit/test_config.py17
-rw-r--r--tests/unit/test_gitlab.py18
-rw-r--r--tests/unit/test_types.py17
-rw-r--r--tests/unit/test_utils.py17
22 files changed, 9 insertions, 318 deletions
diff --git a/AUTHORS b/AUTHORS
index c7e54fe..4f131c2 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -5,8 +5,8 @@ Original creator, no longer active
==================================
Gauvain Pocentek <gauvainpocentek@gmail.com>
-Current
-=======
+Current Maintainers
+===================
John L. Villalovos <john@sodarock.com>
Max Wittig <max.wittig@siemens.com>
Nejc Habjan <nejc.habjan@siemens.com>
@@ -15,4 +15,8 @@ Roger Meier <r.meier@siemens.com>
Contributors
------------
+Significant contributor, 2014
+=============================
+Mika Mäenpää <mika.j.maenpaa@tut.fi>
+
See ``git log`` for a full list of contributors.
diff --git a/docs/conf.py b/docs/conf.py
index 13de175..fadf2b6 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -83,9 +83,7 @@ root_doc = "index"
# General information about the project.
project = "python-gitlab"
-copyright = (
- f"2013-2018, Gauvain Pocentek, Mika Mäenpää.\n2018-{year}, python-gitlab team"
-)
+copyright = gitlab.__copyright__
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
diff --git a/gitlab/__init__.py b/gitlab/__init__.py
index 190b513..e7aafda 100644
--- a/gitlab/__init__.py
+++ b/gitlab/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net>
+# Copyright (C) 2013-2019 Gauvain Pocentek, 2019-2022 python-gitlab team
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
diff --git a/gitlab/_version.py b/gitlab/_version.py
index 51842d0..e8bbde2 100644
--- a/gitlab/_version.py
+++ b/gitlab/_version.py
@@ -1,5 +1,5 @@
__author__ = "Gauvain Pocentek, python-gitlab team"
-__copyright__ = "Copyright 2013-2019 Gauvain Pocentek, 2019-2021 python-gitlab team"
+__copyright__ = "Copyright 2013-2019 Gauvain Pocentek, 2019-2022 python-gitlab team"
__email__ = "gauvainpocentek@gmail.com"
__license__ = "LGPL3"
__title__ = "python-gitlab"
diff --git a/gitlab/base.py b/gitlab/base.py
index c2df65a..15059fd 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import copy
import importlib
import json
diff --git a/gitlab/cli.py b/gitlab/cli.py
index 294d6a8..5cf8e2d 100644
--- a/gitlab/cli.py
+++ b/gitlab/cli.py
@@ -1,22 +1,3 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-
import argparse
import functools
import os
diff --git a/gitlab/client.py b/gitlab/client.py
index dc19243..2faca69 100644
--- a/gitlab/client.py
+++ b/gitlab/client.py
@@ -1,19 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Wrapper for the GitLab API."""
import os
diff --git a/gitlab/config.py b/gitlab/config.py
index 152ec7e..a55d611 100644
--- a/gitlab/config.py
+++ b/gitlab/config.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import configparser
import os
import shlex
diff --git a/gitlab/const.py b/gitlab/const.py
index 5108de2..1dab752 100644
--- a/gitlab/const.py
+++ b/gitlab/const.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2016-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
from enum import Enum, IntEnum
from gitlab._version import __title__, __version__
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py
index ae3a9d7..01439e4 100644
--- a/gitlab/exceptions.py
+++ b/gitlab/exceptions.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import functools
from typing import Any, Callable, cast, Optional, Type, TYPE_CHECKING, TypeVar, Union
diff --git a/gitlab/mixins.py b/gitlab/mixins.py
index 9b5f9aa..3d1302f 100644
--- a/gitlab/mixins.py
+++ b/gitlab/mixins.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
from types import ModuleType
from typing import (
Any,
diff --git a/gitlab/types.py b/gitlab/types.py
index d683b70..14883c6 100644
--- a/gitlab/types.py
+++ b/gitlab/types.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2018 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import dataclasses
from typing import Any, Dict, List, Optional, Tuple, TYPE_CHECKING
diff --git a/gitlab/utils.py b/gitlab/utils.py
index c8ecd1b..9317535 100644
--- a/gitlab/utils.py
+++ b/gitlab/utils.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2016-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import pathlib
import traceback
import urllib.parse
diff --git a/gitlab/v4/cli.py b/gitlab/v4/cli.py
index fbc11c2..a4f4e2c 100644
--- a/gitlab/v4/cli.py
+++ b/gitlab/v4/cli.py
@@ -1,21 +1,3 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import argparse
import operator
import sys
diff --git a/gitlab/v4/objects/__init__.py b/gitlab/v4/objects/__init__.py
index 1e374cd..f1012a0 100644
--- a/gitlab/v4/objects/__init__.py
+++ b/gitlab/v4/objects/__init__.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2013-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
from .access_requests import *
from .appearance import *
from .applications import *
diff --git a/tests/unit/mixins/test_object_mixins_attributes.py b/tests/unit/mixins/test_object_mixins_attributes.py
index d54fa3a..962754b 100644
--- a/tests/unit/mixins/test_object_mixins_attributes.py
+++ b/tests/unit/mixins/test_object_mixins_attributes.py
@@ -1,21 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2014 Mika Mäenpää <mika.j.maenpaa@tut.fi>,
-# Tampere University of Technology
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
from gitlab.mixins import (
AccessRequestMixin,
SetMixin,
diff --git a/tests/unit/test_base.py b/tests/unit/test_base.py
index 529135a..92bc707 100644
--- a/tests/unit/test_base.py
+++ b/tests/unit/test_base.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import pickle
import pytest
diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py
index 30693d9..9440e96 100644
--- a/tests/unit/test_cli.py
+++ b/tests/unit/test_cli.py
@@ -1,21 +1,3 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2016-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import argparse
import io
import os
diff --git a/tests/unit/test_config.py b/tests/unit/test_config.py
index 0e3324a..e9482fb 100644
--- a/tests/unit/test_config.py
+++ b/tests/unit/test_config.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2016-2017 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import io
import sys
from pathlib import Path
diff --git a/tests/unit/test_gitlab.py b/tests/unit/test_gitlab.py
index f9d4245..a4d558a 100644
--- a/tests/unit/test_gitlab.py
+++ b/tests/unit/test_gitlab.py
@@ -1,21 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2014 Mika Mäenpää <mika.j.maenpaa@tut.fi>,
-# Tampere University of Technology
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import copy
import logging
import pickle
diff --git a/tests/unit/test_types.py b/tests/unit/test_types.py
index 4f18c51..351f6ca 100644
--- a/tests/unit/test_types.py
+++ b/tests/unit/test_types.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2018 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import pytest
from gitlab import types
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py
index 6038d84..7f75f55 100644
--- a/tests/unit/test_utils.py
+++ b/tests/unit/test_utils.py
@@ -1,20 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2019 Gauvain Pocentek <gauvain@pocentek.net>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import json
import warnings