Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | docs: rename documentation files to match names of code files | John L. Villalovos | 2021-12-23 | 3 | -2/+2 | |
|/ | | | | | | | | | Rename the merge request related documentation files to match the code files. This will make it easier to find the documentation quickly. Rename: `docs/gl_objects/mrs.rst -> `docs/gl_objects/merge_requests.rst` `docs/gl_objects/mr_approvals.rst -> `docs/gl_objects/merge_request_approvals.rst` | |||||
* | feat(api): support file format for repository archive | Max Ludwig | 2021-12-21 | 3 | -4/+39 | |
| | ||||||
* | Merge pull request #1766 from python-gitlab/jlvillal/leave_dot | Nejc Habjan | 2021-12-21 | 6 | -47/+20 | |
|\ | | | | | fix: stop encoding '.' to '%2E' | |||||
| * | fix: stop encoding '.' to '%2E'jlvillal/leave_dot | John L. Villalovos | 2021-12-20 | 6 | -47/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forcing the encoding of '.' to '%2E' causes issues. It also goes against the RFC: https://datatracker.ietf.org/doc/html/rfc3986.html#section-2.3 From the RFC: For consistency, percent-encoded octets in the ranges of ALPHA (%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should not be created by URI producers... Closes #1006 Related #1356 Related #1561 BREAKING CHANGE: stop encoding '.' to '%2E'. This could potentially be a breaking change for users who have incorrectly configured GitLab servers which don't handle period '.' characters correctly. | |||||
* | | Merge pull request #1770 from ↵ | Nejc Habjan | 2021-12-21 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | | | | python-gitlab/renovate/alessandrojcm-commitlint-pre-commit-hook-6.x chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v6 | |||||
| * | | chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook ↵renovate/alessandrojcm-commitlint-pre-commit-hook-6.x | Renovate Bot | 2021-12-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | to v6 | |||||
* | | | Merge pull request #1753 from python-gitlab/renovate/mypy-0.x | Nejc Habjan | 2021-12-21 | 2 | -2/+2 | |
|\ \ \ | | | | | | | | | chore(deps): update dependency mypy to v0.920 | |||||
| * | | | chore: remove '# type: ignore' for new mypy versionrenovate/mypy-0.x | John L. Villalovos | 2021-12-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | mypy 0.920 now understands the type of 'http.client.HTTPConnection.debuglevel' so we remove the 'type: ignore' comment to make mypy pass | |||||
| * | | | chore(deps): update dependency mypy to v0.920 | Renovate Bot | 2021-12-20 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | chore(deps): update pre-commit hook pycqa/flake8 to v4 | Renovate Bot | 2021-12-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | chore(deps): update pre-commit hook psf/black to v21 | Renovate Bot | 2021-12-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | chore(deps): update pre-commit hook pycqa/isort to v5.10.1 | Renovate Bot | 2021-12-20 | 1 | -1/+1 | |
|/ / | ||||||
* | | chore(ci): enable renovate for pre-commit | Nejc Habjan | 2021-12-20 | 1 | -1/+2 | |
|/ | ||||||
* | Merge pull request #1765 from python-gitlab/jlvillal/unit_test_config | Nejc Habjan | 2021-12-20 | 1 | -2/+4 | |
|\ | | | | | chore: fix unit test if config file exists locally | |||||
| * | chore: fix unit test if config file exists locallyjlvillal/unit_test_config | John L. Villalovos | 2021-12-19 | 1 | -2/+4 | |
| | | | | | | | | Closes #1764 | |||||
* | | docs(project): remove redundant encoding parameter | Shashwat Kumar | 2021-12-19 | 1 | -1/+0 | |
|/ | ||||||
* | Merge pull request #1757 from python-gitlab/jlvillal/gitignore | Nejc Habjan | 2021-12-19 | 1 | -0/+1 | |
|\ | | | | | chore: add .env as a file that search tools should not ignore | |||||
| * | chore: add .env as a file that search tools should not ignorejlvillal/gitignore | John L. Villalovos | 2021-12-17 | 1 | -0/+1 | |
| | | | | | | | | | | | | The `.env` file was not set as a file that should not be ignored by search tools. We want to have the search tools search any `.env` files. | |||||
* | | chore(deps): update dependency sphinx to v4.3.2 | Renovate Bot | 2021-12-19 | 1 | -1/+1 | |
|/ | ||||||
* | chore(deps): update dependency types-requests to v2.26.2 | Renovate Bot | 2021-12-17 | 2 | -2/+2 | |
| | ||||||
* | Merge pull request #1746 from python-gitlab/jlvillal/squash_option | Nejc Habjan | 2021-12-14 | 2 | -0/+3 | |
|\ | | | | | feat: add support for `squash_option` in Projects | |||||
| * | feat: add support for `squash_option` in Projectsjlvillal/squash_option | John L. Villalovos | 2021-12-13 | 2 | -0/+3 | |
|/ | | | | | | | There is an optional `squash_option` parameter which can be used when creating Projects and UserProjects. Closes #1744 | |||||
* | Merge pull request #1743 from python-gitlab/feat/cli-without-config-file | Nejc Habjan | 2021-12-13 | 6 | -116/+234 | |
|\ | | | | | feat(cli): do not require config file to run CLI | |||||
| * | feat(cli): do not require config file to run CLIfeat/cli-without-config-file | Nejc Habjan | 2021-12-13 | 6 | -116/+234 | |
| | | | | | | | | | | | | | | | | | | | | | | BREAKING CHANGE: A config file is no longer needed to run the CLI. python-gitlab will default to https://gitlab.com with no authentication if there is no config file provided. python-gitlab will now also only look for configuration in the provided PYTHON_GITLAB_CFG path, instead of merging it with user- and system-wide config files. If the environment variable is defined and the file cannot be opened, python-gitlab will now explicitly fail. | |||||
* | | Merge pull request #1742 from python-gitlab/jlvillal/py311_alpha | Nejc Habjan | 2021-12-13 | 1 | -0/+2 | |
|\ \ | |/ |/| | chore: add Python 3.11 testing | |||||
| * | chore: add Python 3.11 testing | John L. Villalovos | 2021-12-12 | 1 | -0/+2 | |
|/ | | | | | | | | | | Add a unit test for Python 3.11. This will use the latest version of Python 3.11 that is available from https://github.com/actions/python-versions/ At this time it is 3.11.0-alpha.2 but will move forward over time until the final 3.11 release and updates. So 3.11.0, 3.11.1, ... will be matched. | |||||
* | test(api): fix current user mail count in newer gitlab | Nejc Habjan | 2021-12-11 | 1 | -2/+2 | |
| | ||||||
* | chore(api): temporarily remove topic delete endpoint | Nejc Habjan | 2021-12-11 | 5 | -33/+3 | |
| | | | | It is not yet available upstream. | |||||
* | chore: fix renovate setup for gitlab docker image | Nejc Habjan | 2021-12-11 | 1 | -1/+1 | |
| | ||||||
* | feat(api): add support for Topics API | Nejc Habjan | 2021-12-11 | 9 | -1/+222 | |
| | ||||||
* | Merge pull request #1710 from python-gitlab/jlvillal/get_without_id | Nejc Habjan | 2021-12-11 | 10 | -28/+169 | |
|\ | | | | | chore: add get() methods for GetWithoutIdMixin based classes | |||||
| * | chore: add get() methods for GetWithoutIdMixin based classesjlvillal/get_without_id | John L. Villalovos | 2021-12-08 | 10 | -28/+169 | |
| | | | | | | | | | | | | | | Add the get() methods for the GetWithoutIdMixin based classes. Update the tests/meta/test_ensure_type_hints.py tests to check to ensure that the get methods are defined with the correct return type. | |||||
* | | Merge pull request #1733 from simonisateur/fix-package-file-delete | Nejc Habjan | 2021-12-10 | 3 | -3/+36 | |
|\ \ | |/ |/| | feat: package file delete on package file object | |||||
| * | feat: add delete on package_file object | Simon Hébert-Deschamps | 2021-12-09 | 3 | -3/+36 | |
|/ | ||||||
* | Merge pull request #1736 from python-gitlab/jlvillal/workflow | Nejc Habjan | 2021-12-08 | 4 | -0/+24 | |
|\ | | | | | chore: github workflow: cancel prior running jobs on new push | |||||
| * | chore: github workflow: cancel prior running jobs on new push | John L. Villalovos | 2021-12-07 | 4 | -0/+24 | |
|/ | | | | | If new new push is done to a pull-request, then cancel any already running github workflow jobs in order to conserve resources. | |||||
* | Merge pull request #1726 from python-gitlab/jlvillal/windows | Nejc Habjan | 2021-12-08 | 2 | -13/+23 | |
|\ | | | | | chore: add running unit tests on windows/macos | |||||
| * | chore: add running unit tests on windows/macos | John L. Villalovos | 2021-12-07 | 2 | -13/+23 | |
| | | | | | | | | | | Add running the unit tests on windows-latest and macos-latest with Python 3.10. | |||||
* | | Merge pull request #1738 from python-gitlab/jlvillal/pylint_fixes | Nejc Habjan | 2021-12-08 | 2 | -29/+20 | |
|\ \ | |/ |/| | chore: fix pylint error "expression-not-assigned" | |||||
| * | chore: fix pylint error "expression-not-assigned" | John L. Villalovos | 2021-12-07 | 2 | -29/+20 | |
|/ | | | | | | | | Fix pylint error "expression-not-assigned" and remove check from the disabled list. And I personally think it is much more readable now and is less lines of code. | |||||
* | Merge pull request #1729 from python-gitlab/jlvillal/pylint | Nejc Habjan | 2021-12-08 | 8 | -21/+130 | |
|\ | | | | | chore: add initial pylint check | |||||
| * | chore: set pre-commit mypy args to empty list | John L. Villalovos | 2021-12-07 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | https://github.com/pre-commit/mirrors-mypy/blob/master/.pre-commit-hooks.yaml Sets some default args which seem to be interfering with things. Plus we set all of our args in the `pyproject.toml` file. | |||||
| * | chore: run pre-commit on changes to the config file | John L. Villalovos | 2021-12-07 | 1 | -0/+32 | |
| | | | | | | | | | | If .pre-commit-config.yaml or .github/workflows/pre_commit.yml are updated then run pre-commit. | |||||
| * | chore: add initial pylint check | John L. Villalovos | 2021-12-07 | 7 | -21/+97 | |
|/ | | | | | | Initial pylint check is added. A LONG list of disabled checks is also added. In the future we should work through the list and resolve the errors or disable them on a more granular level. | |||||
* | Merge pull request #1727 from python-gitlab/jlvillal/mypy_strict_two_steps | Nejc Habjan | 2021-12-07 | 2 | -2/+18 | |
|\ | | | | | Enable more strict mypy checking | |||||
| * | chore: enable 'warn_redundant_casts' for mypyjlvillal/mypy_strict_two_steps | John L. Villalovos | 2021-12-05 | 2 | -2/+2 | |
| | | | | | | | | Enable 'warn_redundant_casts'for mypy and resolve one issue. | |||||
| * | chore: enable subset of the 'mypy --strict' options that work | John L. Villalovos | 2021-12-05 | 1 | -1/+17 | |
|/ | | | | | Enable the subset of the 'mypy --strict' options that work with no changes to the code. | |||||
* | chore(deps): update dependency black to v21.12b0 | Renovate Bot | 2021-12-05 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #1709 from python-gitlab/docs/sphinx-annotations | Nejc Habjan | 2021-12-01 | 33 | -387/+382 | |
|\ | | | | | docs: only use type annotations for documentation | |||||
| * | docs: use annotations for return typesdocs/sphinx-annotations | Nejc Habjan | 2021-12-01 | 26 | -101/+99 | |
| | |