summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | merged new release & registry apisKarol Ossowski2019-05-011-0/+41
| | |
* | | Merge pull request #773 from python-gitlab/chore/ci-reliable-systemGauvain Pocentek2019-05-103-21/+130
|\ \ \ | |/ / |/| | chore(ci): use reliable ci system
| * | chore(ci): use reliable ci systemchore/ci-reliable-systemMax Wittig2019-05-093-21/+130
|/ /
* | Merge pull request #769 from python-gitlab/pep-fixesMax Wittig2019-05-012-2/+3
|\ \ | | | | | | fix: pep8 errors
| * | fix: pep8 errorsGauvain Pocentek2019-05-012-2/+3
|/ / | | | | | | Errors have not been detected by broken travis runs.
* | Merge pull request #746 from therealgambo/masterMax Wittig2019-04-242-0/+45
|\ \ | |/ |/| add project releases api
| * Use NoUpdateMixin for nowKris Gambirazzi2019-03-271-1/+1
| |
| * add project releases apiKris Gambirazzi2019-03-272-0/+45
|/
* Merge pull request #714 from jaraco/feature/runpy-invokeGauvain Pocentek2019-03-211-0/+4
|\ | | | | Add runpy hook, allowing invocation with 'python -m gitlab'.
| * Add runpy hook. Fixes #713.Jason R. Coombs2019-03-151-0/+4
| | | | | | | | Allows for invocation with 'python -m gitlab'
* | feat(GitLab Update): delete ProjectPipeline (#736)gouglhupf2019-03-211-2/+3
| | | | | | | | | | | | * feat(GitLab Update): delete ProjectPipeline As of Gitlab 11.6 it is now possible to delete a pipeline - https://docs.gitlab.com/ee/api/pipelines.html#delete-a-pipeline
* | Merge pull request #738 from jeroendecroos/Gitlab_from_config_inheritanceGauvain Pocentek2019-03-072-9/+41
|\ \ | | | | | | Make gitlab.Gitlab.from_config a classmethod
| * | Make gitlab.Gitlab.from_config a classmethodjeroen_decroos2019-03-072-9/+41
|/ /
* | Merge pull request #732 from hakanf/masterMax Wittig2019-03-071-4/+4
|\ \ | | | | | | Re-enable command specific help messages
| * | Use sys.exit as in rest of codeHakan Fouren2019-03-071-2/+2
| | |
| * | Re-enable command specific help mesaagesHakan Fouren2019-03-061-3/+3
| | | | | | | | | | | | This makes sure that the global help message wont be printed instead of the command spedific one unless we fail to read the configuration file
* | | Merge pull request #729 from xarx00/PR-bugfix-716Max Wittig2019-03-061-10/+10
|\ \ \ | |/ / |/| | Fix for #716: %d replaced by %s
| * | Fix for #716: %d replaced by %sxarx002019-03-051-10/+10
|/ /
* | Merge pull request #725 from python-gitlab/fix/699Max Wittig2019-03-042-2/+11
|\ \ | | | | | | fix(api): Make *MemberManager.all() return a list of objects
| * | fix(api): Make *MemberManager.all() return a list of objectsfix/699Gauvain Pocentek2019-03-032-2/+11
|/ / | | | | | | Fixes #699
* | Merge pull request #721 from purificant/fix_typoGauvain Pocentek2019-03-011-1/+1
|\ \ | |/ |/| fix tiny typo
| * fix tiny typopurificant2019-02-281-1/+1
|/
* Merge pull request #707 from python-gitlab/fix/python-testsGauvain Pocentek2019-02-242-3/+12
|\ | | | | fix: use python2 compatible syntax for super
| * fix: use python2 compatible syntax for superfix/python-testsMax Wittig2019-02-222-3/+12
| |
* | Merge pull request #706 from python-gitlab/chore/ci-existing-releaseGauvain Pocentek2019-02-221-0/+1
|\ \ | |/ |/| chore(ci): don't try to publish existing release
| * chore(ci): don't try to publish existing releaseMax Wittig2019-02-221-0/+1
| |
* | Merge pull request #702 from jpiron/eq_hashMax Wittig2019-02-222-1/+34
|\ \ | |/ |/| Implement __eq__ and __hash__ methods
| * Implement __eq__ and __hash__ methodsJonathan Piron2019-02-202-1/+34
| | | | | | | | To ease lists and sets manipulations.
* | Merge pull request #705 from python-gitlab/release-1.8.01.8.0Max Wittig2019-02-223-3/+20
|\ \ | | | | | | Release version 1.8.0
| * | Release version 1.8.0Gauvain Pocentek2019-02-223-3/+20
|/ /
* | Merge pull request #701 from jpiron/fix_all_behaviourGauvain Pocentek2019-02-201-1/+1
|\ \ | |/ |/| Fix all kwarg behaviour
| * Fix all kwarg behaviourJonathan Piron2019-02-181-1/+1
|/ | | | | | | | | | | | | | `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.
* Merge pull request #689 from python-gitlab/fix/wrong-rebaseGauvain Pocentek2019-01-261-0/+19
|\ | | | | fix: re-add merge request pipelines
| * fix: re-add merge request pipelinesfix/wrong-rebaseMax Wittig2019-01-261-0/+19
|/
* Merge pull request #685 from Joustie/masterMax Wittig2019-01-212-9/+36
|\ | | | | feat: Added approve method for Mergerequests
| * Merge branch 'master' into masterJoost Evertse2019-01-2141-252/+903
| |\ | |/ |/|
* | Merge pull request #687 from python-gitlab/fix/683/raw_downloadMax Wittig2019-01-192-13/+18
|\ \ | | | | | | fix(api): Don't try to parse raw downloads
| * | fix(api): Don't try to parse raw downloadsfix/683/raw_downloadGauvain Pocentek2019-01-192-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #680 from python-gitlab/chore/automatic-deployGauvain Pocentek2019-01-191-0/+9
|\ \ \ | | | | | | | | chore: release tags to PyPI automatically
| * | | chore: release tags to PyPI automaticallychore/automatic-deployMax Wittig2019-01-131-0/+9
| |/ / | | | | | | | | | Fixes #609
* | | Merge pull request #681 from python-gitlab/no-param-conflictsMax Wittig2019-01-196-3/+64
|\ \ \ | |/ / |/| | fix(api): avoid parameter conflicts with python and gitlab
| * | fix(api): avoid parameter conflicts with python and gitlabno-param-conflictsGauvain Pocentek2019-01-136-3/+64
|/ / | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #678 from appian/backoff-requestsMax Wittig2019-01-133-5/+27
|\ \ | | | | | | Fix missing "Retry-After" header and fix integration tests
| * | fix: remove decode() on error_message stringSrikanth Chelluri2019-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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' ```
| * | fix: handle empty 'Retry-After' header from GitLabSrikanth Chelluri2019-01-082-4/+26
|/ / | | | | | | | | | | | | | | | | 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.
* | Merge pull request #673 from python-gitlab/fix/672Max Wittig2019-01-081-1/+1
|\ \ | | | | | | fix(api): make reset_time_estimate() work again
| * | fix(api): make reset_time_estimate() work againfix/672Gauvain Pocentek2019-01-081-1/+1
|/ / | | | | | | Closes #672
* | Merge pull request #664 from python-gitlab/docs/commit-messageGauvain Pocentek2018-12-161-0/+3
|\ \ | | | | | | docs(readme): provide commit message guidelines
| * | docs(readme): provide commit message guidelinesdocs/commit-messageMax Wittig2018-12-151-0/+3
|/ / | | | | Fixes #660
* | Merge pull request #659 from python-gitlab/docs/readme-pypiGauvain Pocentek2018-12-091-1/+3
|\ \ | | | | | | docs(setup): use proper readme on PyPI