Skip to content

feat: introduce related_issues to merge requests - #1

Open
xakepnz wants to merge 275 commits into
related-issuesfrom
main
Open

feat: introduce related_issues to merge requests#1
xakepnz wants to merge 275 commits into
related-issuesfrom
main

Conversation

@xakepnz

@xakepnz xakepnz commented Sep 23, 2024

Copy link
Copy Markdown
Owner

Changes

Documentation and testing

Please consider whether this PR needs documentation and tests. This is not required, but highly appreciated:

@xakepnz
xakepnz force-pushed the main branch 2 times, most recently from ef8b3b3 to 412d92d Compare September 23, 2024 12:37
max-wittig and others added 28 commits October 21, 2024 10:45
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>
JohnVillalovos and others added 30 commits January 26, 2026 08:23
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.
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.