| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Implement __eq__ and __hash__ methods
|
| |
| |
| |
| | |
To ease lists and sets manipulations.
|
|\ \
| | |
| | | |
Release version 1.8.0
|
|/ / |
|
|\ \
| |/
|/| |
Fix all kwarg behaviour
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
`all` kwarg is used to manage GitlabList generator behaviour.
However, as it is not poped from kwargs, it is sent to Gitlab API.
Some endpoints such as [the project commits](https://docs.gitlab.com/ee/api/commits.html#list-repository-commits) one,
support a `all` attribute.
This means a call like `project.commits.list(all=True, ref_name='master')`
won't return all the master commits as one might expect but all the
repository's commits.
To prevent confusion, the same kwarg shouldn't be used for 2 distinct
purposes.
Moreover according to [the documentation](https://python-gitlab.readthedocs.io/en/stable/gl_objects/commits.html#examples),
the `all` project commits API endpoint attribute doesn't seem supported.
|
|\
| |
| | |
fix: re-add merge request pipelines
|
|/ |
|
|\
| |
| | |
feat: Added approve method for Mergerequests
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
fix(api): Don't try to parse raw downloads
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
http_get always tries to interpret the retrieved data if the
content-type is json. In some cases (artifact download for instance)
this is not the expected behavior.
This patch changes http_get and download methods to always get the raw
data without parsing.
Closes #683
|
|\ \ \
| | | |
| | | | |
chore: release tags to PyPI automatically
|
| |/ /
| | |
| | |
| | | |
Fixes #609
|
|\ \ \
| |/ /
|/| | |
fix(api): avoid parameter conflicts with python and gitlab
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Provide another way to send data to gitlab with a new `query_parameters`
argument. This parameter can be used to explicitly define the dict of
items to send to the server, so that **kwargs are only used to specify
python-gitlab specific parameters.
Closes #566
Closes #629
|
|\ \
| | |
| | | |
Fix missing "Retry-After" header and fix integration tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The integration tests failed because a test called 'decode()' on a
string-type variable - the GitLabException class handles byte-to-string
conversion already in its __init__. This commit removes the call to
'decode()' in the test.
```
Traceback (most recent call last):
File "./tools/python_test_v4.py", line 801, in <module>
assert 'Retry later' in error_message.decode()
AttributeError: 'str' object has no attribute 'decode'
```
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
When requests are throttled (HTTP response code 429), python-gitlab
assumed that 'Retry-After' existed in the response headers. This is
not always the case and so the request fails due to a KeyError. The
change in this commit adds a rudimentary exponential backoff to the
'http_request' method, which defaults to 10 retries but can be set
to -1 to retry without bound.
|
|\ \
| | |
| | | |
fix(api): make reset_time_estimate() work again
|
|/ /
| |
| |
| | |
Closes #672
|
|\ \
| | |
| | | |
docs(readme): provide commit message guidelines
|
|/ /
| |
| | |
Fixes #660
|
|\ \
| | |
| | | |
docs(setup): use proper readme on PyPI
|
|/ / |
|
|\ \
| | |
| | | |
Prepare the 1.7.0 release
|
|/ / |
|
|\ \
| | |
| | | |
Issue 653 Add access control options to protected branch creation
|
|/ / |
|
|\ \
| | |
| | | |
fix: enable use of YAML in the CLI
|
|/ /
| |
| |
| |
| | |
In order to use the YAML output, PyYaml needs to be installed on the docker image.
This commit adds the installation to the dockerfile as a separate layer.
|
|\ \
| | |
| | | |
fix: docker entry point argument passing
|
|/ /
| |
| |
| |
| |
| | |
Fixes the problem of passing spaces in the arguments to the docker entrypoint.
Before this fix, there was virtually no way to pass spaces in arguments such as task description.
|
|\ \
| | |
| | | |
Improve error message handling in exceptions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Depending on the request Gitlab has a 'message' or 'error' attribute
in the json data, handle both
* Add some consistency by converting messages to unicode or str for
exceptions (depending on the python version)
Closes #616
|
|\ \ \
| | | |
| | | | |
Add support to resource label events
|
| | | |
| | | |
| | | |
| | | | |
Closes #611
|
|\ \ \ \
| |_|/ /
|/| | | |
[feature] Add support for members all() method
|
|/ / /
| | |
| | |
| | | |
Closes #589
|
|\ \ \
| | | |
| | | | |
[docs] Fix typo in custom attributes example
|
| |/ /
| | |
| | |
| | | |
Closes #628
|
|\ \ \
| |/ /
|/| | |
[docs] Fix the milestone filetring doc (iid -> iids)
|
|/ /
| |
| |
| | |
Fixes #633
|
|\ \
| | |
| | |
| | |
| | | |
docs(projects): fix typo in code sample
Closes #630
|
| | |
| | |
| | | |
Fixes #630
|
|\ \ \
| |/ /
|/| | |
docs(groups): fix typo
|
|/ /
| |
| | |
Fixes #635
|
|\ \
| | |
| | | |
Fix 3 typos in docs
|
|/ / |
|