feat: introduce related_issues to merge requests - #1
Open
xakepnz wants to merge 275 commits into
Open
Conversation
xakepnz
force-pushed
the
main
branch
2 times, most recently
from
September 23, 2024 12:37
ef8b3b3 to
412d92d
Compare
Also fix __annotations__ not working in Python 3.14 by using the annotation on the 'class' instead of on the 'instance' Closes: python-gitlab#3013
This should get us to 100% test coverage on `gitlab/base.py`
GitLab's Repository Files API supports additional flags that weren't implemented before. Notably, the "start_branch" flag is particularly useful, as previously one had to use the "project-branch" command alongside "project-file" to add a file on a separate branch. [1] https://docs.gitlab.com/ee/api/repository_files.html
…on-gitlab#3041) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…on-gitlab#3044) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
With v5.1.0 CHANGELOG.md was updated that mangled v1.10.0 triple backtick codeblock Traceback output that made sphinx fail [1] with a non-zero return code. The resulting docs appears to be processes as text after the failing line [2]. While reviewing other backtick codeblocks fix v1.8.0 [3] to the original traceback. [1] https://github.com/python-gitlab/python-gitlab/actions/runs/12060608158/job/33631303063#step:5:204 [2] https://python-gitlab.readthedocs.io/en/v5.1.0/changelog.html#v1-10-0-2019-07-22 [3] https://python-gitlab.readthedocs.io/en/v5.0.0/changelog.html#id258
…on-gitlab#3053) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Prior commit 39975d5 updated black to v26 but did not update `.pre-commit-config.yaml`. This resolves that.
This commits allows users to configure the 'sort' filter as defined in [1], so that one can fetch the most recent jobs first. [1]: https://docs.gitlab.com/api/runners/#list-all-jobs-processed-by-a-runner
…on-gitlab#3341) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…on-gitlab#3348) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Add `import gitlab.base` inside the TYPE_CHECKING block in repositories.py so that pyright can resolve `gitlab.base.RESTObject`. Without the explicit import, pyright cannot resolve the submodule access via the parent package (implicit submodule access is a runtime loader side effect that type checkers don't model). This caused `_RestObjectBase` to be `Unknown`, propagating through `RepositoryMixin` into `Project` and other classes. Fixes python-gitlab#3342 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…on-gitlab#3355) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commits adds to the work done in [1]. After reading the docs [2] again, you must define order_by when using sort, so this commits adds this as an additional filter. [1]: python-gitlab#3336 [2]: https://docs.gitlab.com/api/runners/#list-all-jobs-processed-by-a-runner Signed-off-by: malmor <62105800+malmor@users.noreply.github.com>
…on-gitlab#3360) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…on-gitlab#3371) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Added a section into the contributing docs to show how to pass options to `pytest`. This can be useful during local development for selecting specific tests. Running entire test suite is very time consuming.
…otected branches.
…r lists Add new API objects for managing project feature flags and feature flag user lists, including CRUD operations, CLI support, and renaming via save(). Introduce JsonAttribute type for handling JSON fields in request bodies (e.g., feature flag strategies). Closes python-gitlab#3350
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Documentation and testing
Please consider whether this PR needs documentation and tests. This is not required, but highly appreciated: