summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore(api): turn changelog into its own managerfeat/generate-changelog-apiNejc Habjan2021-02-283-19/+24
|
* chore(cli): only take version as CLI version if first argNejc Habjan2021-02-281-1/+1
|
* feat(api,cli): add support for changelog generationNejc Habjan2021-02-281-0/+22
|
* Merge pull request #1347 from python-gitlab/chore/split-repository-methodsMax Wittig2021-02-282-197/+208
|\ | | | | chore(api): move repository endpoints into separate module
| * chore(api): move repository endpoints into separate modulechore/split-repository-methodsNejc Habjan2021-02-282-197/+208
| |
* | Merge pull request #1343 from JohnVillalovos/jlvillal/mypy_testing_thingsNejc Habjan2021-02-281-4/+6
|\ \ | | | | | | chore: add and fix some type-hints in gitlab/client.py
| * | chore: add and fix some type-hints in gitlab/client.pyJohn L. Villalovos2021-02-271-4/+6
| | | | | | | | | | | | Was able to figure out better type-hints for gitlab/client.py
* | | Merge pull request #1345 from JohnVillalovos/jlvillal/mypy_base_fixesNejc Habjan2021-02-281-1/+7
|\ \ \ | |_|/ |/| | chore: add additional type-hints for gitlab/base.py
| * | chore: add additional type-hints for gitlab/base.pyJohn L. Villalovos2021-02-271-1/+7
| |/ | | | | | | | | | | | | Add type-hints for the variables which are set via self.__dict__ mypy doesn't see them when they are assigned via self.__dict__. So declare them in the class definition.
* | Merge pull request #1333 from python-gitlab/feat/user-follow-apiNejc Habjan2021-02-284-0/+152
|\ \ | |/ |/| feat(users): add follow/unfollow API
| * feat(users): add follow/unfollow APIfeat/user-follow-apiMax Wittig2021-02-274-0/+152
| |
* | Merge pull request #1339 from JohnVillalovos/jlvillal/mypy_client_pyMax Wittig2021-02-272-79/+141
|\ \ | | | | | | chore: add type-hints to gitlab/client.py
| * | chore: add type-hints to gitlab/client.pyJohn L. Villalovos2021-02-262-79/+141
| | | | | | | | | | | | Adding some initial type-hints to gitlab/client.py
* | | Merge pull request #1341 from JohnVillalovos/jlvillal/gitterNejc Habjan2021-02-271-0/+5
|\ \ \ | | | | | | | | doc: add information about the gitter community
| * | | docs: add information about the gitter communityJohn L. Villalovos2021-02-261-0/+5
|/ / / | | | | | | | | | | | | Add a section in the README.rst about the gitter community. The badge already exists and is useful but very easy to miss.
* | | Merge pull request #1340 from JohnVillalovos/jlvillal/gitlab_initMax Wittig2021-02-261-1/+0
|\ \ \ | | | | | | | | chore: remove import of gitlab.utils from __init__.py
| * | | chore: remove import of gitlab.utils from __init__.pyJohn L. Villalovos2021-02-261-1/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | Initially when extracting out the gitlab/client.py code we tried to remove this but functional tests failed. Later we fixed the functional test that was failing, so now remove the unneeded import.
* | | Merge pull request #1338 from JohnVillalovos/jlvillal/mypy_baseNejc Habjan2021-02-261-3/+5
|\ \ \ | |/ / |/| | Improve type-hints for gitlab/base.py
| * | chore: improve type-hints for gitlab/base.pyJohn L. Villalovos2021-02-261-3/+5
|/ / | | | | | | Determined the base class for obj_cls and adding type-hints for it.
* | Merge pull request #1334 from JohnVillalovos/jlvillal/mypy_cliNejc Habjan2021-02-261-8/+11
|\ \ | | | | | | chore: add type-hints to gitlab/cli.py
| * | chore: add type-hints to gitlab/cli.pyJohn L. Villalovos2021-02-251-8/+11
| | |
* | | Merge pull request #1337 from python-gitlab/renovate/docker-compose-1.xMax Wittig2021-02-261-1/+1
|\ \ \ | | | | | | | | chore(deps): update dependency docker-compose to v1.28.5
| * | | chore(deps): update dependency docker-compose to v1.28.5Renovate Bot2021-02-261-1/+1
|/ / /
* | | Merge pull request #1335 from JohnVillalovos/jlvillal/remove_dup_classesNejc Habjan2021-02-261-12/+0
|\ \ \ | |/ / |/| | fix: remove duplicate class definitions in v4/objects/users.py
| * | fix: remove duplicate class definitions in v4/objects/users.pyJohn L. Villalovos2021-02-251-12/+0
|/ / | | | | | | | | The classes UserStatus and UserStatusManager were each declared twice. Remove the duplicate declarations.
* | Merge pull request #1328 from ↵Max Wittig2021-02-251-1/+1
|\ \ | | | | | | | | | | | | python-gitlab/renovate/wagoid-commitlint-github-action-3.x chore(deps): update wagoid/commitlint-github-action action to v3
| * | chore(deps): update wagoid/commitlint-github-action action to v3Renovate Bot2021-02-241-1/+1
| |/
* | Merge pull request #1329 from JohnVillalovos/jlvillal/mypy_constMax Wittig2021-02-251-30/+30
|\ \ | | | | | | Add type-hints to gitlab/const.py
| * | chore: add type-hints to gitlab/const.pyJohn L. Villalovos2021-02-251-30/+30
| | |
* | | Merge pull request #1330 from JohnVillalovos/jlvillal/mypy_utilsMax Wittig2021-02-251-6/+14
|\ \ \ | | | | | | | | chore: add type hints to gitlab/utils.py
| * | | chore: add type hints to gitlab/utils.pyJohn L. Villalovos2021-02-251-6/+14
| |/ /
* | | Merge pull request #1331 from JohnVillalovos/jlvillal/mypy_configMax Wittig2021-02-251-4/+7
|\ \ \ | | | | | | | | chore: add type-hints to gitlab/config.py
| * | | chore: add type-hints to gitlab/config.pyJohn L. Villalovos2021-02-251-4/+7
| |/ /
* | | Merge pull request #1332 from JohnVillalovos/jlvillal/fix_variableNejc Habjan2021-02-251-1/+1
|\ \ \ | |/ / |/| | chore: fix wrong variable name in cli.py
| * | fix: wrong variable nameJohn L. Villalovos2021-02-251-1/+1
|/ / | | | | | | | | Discovered this when I ran flake8 on the file. Unfortunately I was the one who introduced this wrong variable name :(
* | Merge pull request #1319 from JohnVillalovos/jlvillal/import_starNejc Habjan2021-02-2557-114/+244
|\ \ | |/ |/| chore: remove usage of 'from ... import *'
| * chore: remove usage of 'from ... import *'John L. Villalovos2021-02-2357-114/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In gitlab/v4/objects/*.py remove usage of: * from gitlab.base import * * from gitlab.mixins import * Change them to: * from gitlab.base import CLASS_NAME * from gitlab.mixins import CLASS_NAME Programmatically update code to explicitly import needed classes only. After the change the output of: $ flake8 gitlab/v4/objects/*py | grep 'REST\|Mixin' Is empty. Before many messages about unable to determine if it was a valid name.
* | Merge pull request #1327 from python-gitlab/feat/project-access-token-apiNejc Habjan2021-02-244-0/+167
|\ \ | | | | | | feat(projects): add project access token api
| * | test: don't add duplicate fixtureMax Wittig2021-02-241-26/+0
| | | | | | | | | Co-authored-by: Nejc Habjan <hab.nejc@gmail.com>
| * | feat(projects): add project access token apiMax Wittig2021-02-244-0/+193
| | |
* | | Merge pull request #1325 from JohnVillalovos/jlvillal/pep8Max Wittig2021-02-241-1/+5
|\ \ \ | |/ / |/| | fix: tox pep8 target, so that it can run
| * | fix: tox pep8 target, so that it can runJohn L. Villalovos2021-02-231-1/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously running the pep8 target would fail as flake8 was not installed. Now install flake8 for the pep8 target. NOTE: Running the pep8 target fails as there are many warnings/errors. But it does allow us to run it and possibly work on reducing these warnings/errors in the future. In addition, add two checks to the ignore list as black takes care of formatting. The two checks added to the ignore list are: * E501: line too long * W503: line break before binary operator
* | chore(deps): update gitlab/gitlab-ce docker tag to v13.9.1-ce.0Renovate Bot2021-02-241-1/+1
|/
* Merge pull request #1322 from JohnVillalovos/jlvillal/missing_varsNejc Habjan2021-02-242-4/+8
|\ | | | | fix: undefined name errors in v4 objects
| * fix: undefined name errorsJohn L. Villalovos2021-02-232-4/+8
|/ | | | Discovered that there were some undefined names.
* Merge pull request #1321 from JohnVillalovos/jlvillal/remove_cruftNejc Habjan2021-02-231-18/+0
|\ | | | | chore: remove unused function _construct_url()
| * chore: remove unused function _construct_url()John L. Villalovos2021-02-231-18/+0
|/ | | | | | The function _construct_url() was used by the v3 API. All usage of the function was removed in commit fe89b949922c028830dd49095432ba627d330186
* Merge pull request #1299 from JohnVillalovos/mypyNejc Habjan2021-02-237-32/+55
|\ | | | | Enable mypy type checking and add type hints to gitlab/base.py
| * chore: add type hints to gitlab/base.pyJohn L. Villalovos2021-02-221-29/+34
| |
| * feat: add an initial mypy test to tox.iniJohn L. Villalovos2021-02-226-3/+21
|/ | | | Add an initial mypy test to test gitlab/base.py and gitlab/__init__.py