| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This is no longer needed as all of the configuration
is handled by the CLI and can be passed as arguments.
|
|
|
|
|
|
|
|
| |
BREAKING-CHANGE: The gitlab CLI will now accept CLI arguments
and environment variables for its global options in addition
to configuration file options. This may change behavior for
some workflows such as running inside GitLab CI and with
certain environment variables configured.
|
| |
|
|\
| |
| | |
chore: fix functional test failure if config present
|
|/
|
|
|
|
|
| |
Fix functional test failure if config present and configured with
token.
Closes: #1791
|
|\
| |
| | |
fix: handle situation where gitlab.com does not return values
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a query returns more than 10,000 records than the following values
are NOT returned:
x.total_pages
x.total
Modify the code to allow no value to be set for these values. If there
is not a value returned the functions will now return None.
Update unit test so no longer `xfail`
https://docs.gitlab.com/ee/user/gitlab_com/index.html#pagination-response-headers
Closes #1686
|
| |
|
| |
|
|\
| |
| | |
chore: ensure reset_gitlab() succeeds
|
|/
|
|
|
|
|
|
|
| |
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.
|
|\ \
| |/
|/| |
chore: update version in docker-compose.yml
|
|/
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Closes #1777
|
|\
| |
| | |
chore: generate artifacts for the docs build in the CI
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When building the docs store the created documentation as an artifact
so that it can be viewed.
This will create a html-docs.zip file which can be downloaded
containing the contents of the `build/sphinx/html/` directory. It can
be downloaded, extracted, and then viewed. This can be useful in
reviewing changes to the documentation.
See https://github.com/actions/upload-artifact for more information on
how this works.
|
|\ \
| |/
|/| |
Add some docs for getting the status of a merge_request rebase
|
| |
| |
| |
| |
| |
| |
| | |
Add and document (some of the) optional parameters that can be done
for a `project.merge_requests.get()`
Closes #1775
|
|/
|
|
|
|
|
|
|
| |
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`
|
| |
|
|\
| |
| | |
fix: stop encoding '.' to '%2E'
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
python-gitlab/renovate/alessandrojcm-commitlint-pre-commit-hook-6.x
chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v6
|
| | |
| | |
| | |
| | | |
to v6
|
|\ \ \
| | | |
| | | | |
chore(deps): update dependency mypy to v0.920
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
mypy 0.920 now understands the type of
'http.client.HTTPConnection.debuglevel' so we remove the
'type: ignore' comment to make mypy pass
|
| |/ / |
|
| | | |
|
| | | |
|
|/ / |
|
|/ |
|
|\
| |
| | |
chore: fix unit test if config file exists locally
|
| |
| |
| |
| | |
Closes #1764
|
|/ |
|
|\
| |
| | |
chore: add .env as a file that search tools should not ignore
|
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
|\
| |
| | |
feat: add support for `squash_option` in Projects
|
|/
|
|
|
|
|
| |
There is an optional `squash_option` parameter which can be used when
creating Projects and UserProjects.
Closes #1744
|
|\
| |
| | |
feat(cli): do not require config file to run CLI
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
chore: add Python 3.11 testing
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
It is not yet available upstream.
|
| |
|