| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Ensure reset_gitlab() succeeds by waiting to make sure everything has
been deleted as expected. If the timeout is exceeded fail the test.
Not using `wait_for_sidekiq` as it didn't work. During testing I
didn't see any sidekiq processes as being busy even though not
everything was deleted.
|
| |\
| |
| | |
chore: skip a functional test if not using >= py3.9
|
| | |
| |
| |
| |
| | |
One of the tests requires Python 3.9 or higher to run. Mark the test
to be skipped if running Python less than 3.9.
|
| |/
|
|
|
|
|
|
|
|
|
| |
When running with docker-compose on Ubuntu 20.04 I got the error:
$ docker-compose up
ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.gitlab-network value Additional properties are not allowed ('name' was unexpected)
Changing the version in the docker-compose.yml file fro '3' to '3.5'
resolved the issue.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
It is not yet available upstream.
|
| | |
|
| |
|
|
|
| |
Have code use constants from the gitlab.const module instead of from
the top-level gitlab module.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Add support for `projects.groups.list()` endpoint.
Closes #1717
|
| |
|
|
|
|
|
|
|
| |
The test was checking twice if the same group3 was not in the returned
list. Should have been checking for group3 and group4.
Also added a test that only skipped one group and checked that the
group was not in the returned list and a non-skipped group was in the
list.
|
| | |
|
| |
|
|
|
|
| |
Adds promotion to Project Milestones
Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
|
| |
|
|
|
|
| |
Adds a mixin that allows the /promote endpoint to be called.
Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
|
| |
|
|
|
| |
BREAKING CHANGE: As of python-gitlab 3.0.0, the default branch for development
has changed from `master` to `main`.
|
| | |
|
| |
|
|
|
| |
BREAKING CHANGE: remove deprecated constants defined in
gitlab.v4.objects, and use only gitlab.const module
|
| |
|
|
|
| |
BREAKING CHANGE: remove deprecated tag release API.
This was removed in GitLab 14.0
|
| |
|
|
|
| |
BREAKING CHANGE: remove deprecated members.all() method
in favor of members_all.list()
|
| |
|
|
|
| |
Add an additional check to attempt to solve the flakiness of the
test_merge_request_should_remove_source_branch() test.
|
| | |
|
| |
|
|
|
| |
Stop requiring a `name` attribute for creating a Release, since a
release name has not been required since GitLab 12.5.
|
| |
|
|
|
|
|
| |
- Add test for using merge_ref on non-merged MR
- Add test for using merge_ref on MR with conflicts
Signed-off-by: Matej Focko <mfocko@redhat.com>
|
| |\
| |
| | |
feat(api): add group hooks
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
| |
chore: fix functional project service test
|
| | |
|
| |
|
| |
feat(objects): add support for Group wikis
|
| |
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
|
|
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
|