| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Timing issues between requesting group deletion and GitLab enacting that
deletion resulted in errors while attempting to delete a user which was
the sole owner of said group (see: test_groups). Pass the 'hard_delete'
parameter to ensure user deletion.
|
| | | |
|
| | |
| | |
| | |
| | | |
Was incorrectly using the issue 'id' vs 'iid'.
|
| | |
| | |
| | |
| | |
| | | |
Deploy tokens would remain in the instance if the respective project or
group was deleted without explicitly revoking the deploy tokens first.
|
| | |
| | |
| | |
| | |
| | | |
This is a feature added in 3.8, removing it allows for the test to run
with lower python versions.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Additionally updates token creation to make use of `first_or_create()`,
to avoid errors from the script caused by GitLab constraints preventing
duplicate tokens with the same value.
|
|\ \ \
| |/ /
|/| | |
chore: add type-hints to gitlab/v4/cli.py
|
| |/
| |
| |
| |
| |
| | |
* Add type-hints to gitlab/v4/cli.py
* Add required type-hints to other files based on adding type-hints
to gitlab/v4/cli.py
|
|\ \
| | |
| | | |
chore: add missing optional create parameter for approval_rules
|
|/ /
| |
| |
| |
| |
| |
| | |
Add missing optional create parameter ('protected_branch_ids') to the
project approvalrules.
https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule
|
| |
| |
| |
| | |
Co-authored-by: John Villalovos <john@sodarock.com>
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
feat: add pipeline test report support
|
|/ |
|
|\
| |
| | |
chore: make certain dotfiles searchable by ripgrep
|
| |
| |
| |
| |
| |
| |
| |
| | |
By explicitly NOT excluding the dotfiles we care about to the
.gitignore file we make those files searchable by tools like ripgrep.
By default dotfiles are ignored by ripgrep and other search tools (not
grep)
|
|\ \
| | |
| | | |
chore: use built-in function issubclass() instead of getmro()
|
| |/
| |
| |
| |
| |
| |
| | |
Code was using inspect.getmro() to replicate the functionality of the
built-in function issubclass()
Switch to using issubclass()
|
|\ \
| | |
| | | |
chore: move 'gitlab/tests/' dir to 'tests/unit/'
|
| |/
| |
| |
| |
| | |
Move the 'gitlab/tests/' directory to 'tests/unit/' so we have all the
tests located under the 'tests/' directory.
|
|\ \
| |/
|/| |
chore: correct a type-hint
|
|/ |
|
|\
| |
| | |
chore: rename 'tools/functional/' to 'tests/functional/'
|
|/
|
|
|
|
|
|
|
| |
Rename the 'tools/functional/' directory to 'tests/functional/'
This makes more sense as these are functional tests and not tools.
This was dicussed in:
https://github.com/python-gitlab/python-gitlab/discussions/1468
|
|\
| |
| | |
Switch mr.merge() to use post_data (was using query_data)
|
| |
| |
| |
| |
| | |
Added a pytest.fixture for merge_request(). Use this fixture in
tools/functional/api/test_merge_requests.py
|
| |
| |
| |
| |
| | |
Add a helper function to have less code duplication in the functional
testing.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
MR https://github.com/python-gitlab/python-gitlab/pull/1121 changed
mr.merge() to use 'query_data'. This appears to have been wrong.
From the Gitlab docs they state it should be sent in a payload body
https://docs.gitlab.com/ee/api/README.html#request-payload since
mr.merge() is a PUT request.
> Request Payload
> API Requests can use parameters sent as query strings or as a
> payload body. GET requests usually send a query string, while PUT
> or POST requests usually send the payload body
Fixes: #1452
Related to: #1120
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Functional test to show that
https://github.com/python-gitlab/python-gitlab/issues/1452 is fixed.
Added a functional test to ensure that we can use large commit message
(10_000+ bytes) in mr.merge()
Related to: #1452
|
|/
|
|
|
|
|
|
| |
Going to switch to putting parameters from in the query string to
having them in the 'data' body section. Add a functional test to make
sure that we don't break anything.
https://github.com/python-gitlab/python-gitlab/issues/1120
|
|\
| |
| | |
feat(objects): add support for billable members
|
|/ |
|
|\
| |
| | |
chore: add isort as a checker
|
| |
| |
| |
| |
| |
| | |
Fix the import ordering using isort.
https://pycqa.github.io/isort/
|
|/
|
|
|
|
|
| |
* Add an isort tox environment
* Run the isort tox environment using --check in the Github CI
https://pycqa.github.io/isort/
|
|\
| |
| | |
fix(cli): fix parsing CLI objects to classnames
|
| | |
|
| | |
|
|\ \
| |/
|/|
| |
| | |
python-gitlab/renovate/alessandrojcm-commitlint-pre-commit-hook-5.x
chore(deps): update precommit hook alessandrojcm/commitlint-pre-commit-hook to v5
|
|/
|
|
| |
to v5
|
|\
| |
| | |
feat: get inherited member for project/group
|
| | |
|