summaryrefslogtreecommitdiff
path: root/gitlab.py
Commit message (Collapse)AuthorAgeFilesLines
* gitlab is now a packageGauvain Pocentek2015-05-111-1297/+0
|
* Add a tox configuration fileGauvain Pocentek2015-05-111-35/+34
| | | | Run pep8 tests only for now, and fix pep8 errors.
* change changelog, change, add my name on collaborators, change versionmassimone882015-05-051-1/+1
|
* Updated few gitlab.py docstrings as an example about how to document apiMika Mäenpää2014-12-091-25/+66
|
* Forgot to add sudo-support to updateMika Mäenpää2014-12-051-4/+5
|
* Support labels in issues correctlyMika Mäenpää2014-12-051-0/+9
|
* Send proper json with correct content-type and support sudo-argumentMika Mäenpää2014-12-051-93/+113
| | | | | | | | | | Use json-encoder to create proper gitlab-compatible json Send only attributes specified with requiredCreateAttrs and optionalCreateAttrs Send correct content-type header with json Sudo, page & per_page is supported for all methods by using **kwargs to pass them Changed rawPut to have same parameters as rawPost
* Added missing optionalCreateAttrs for ProjectIssue. Fixed typo in ProjectTag.Mika Mäenpää2014-12-051-2/+3
|
* Improved error reportingMika Mäenpää2014-11-011-37/+48
| | | | | | - Try to parse error response from gitlab. - Use one function (_raiseErrorFromResponse) to parse and raise exceptions related to errors reported by gitlab.
* Improved exception-classes.Mika Mäenpää2014-11-011-9/+32
| | | | | | - Added http status-code and gitlab error message to GitlabError-class. - Added new GitlabOperationError-class to help separate connection and authentication errors from other gitlab errors.
* Raise NotImplementedError on all cases, where can*-boolean is FalseMika Mäenpää2014-11-011-12/+2
|
* No reason to have separate _getListOrObject-method in Gitlab-class.Mika Mäenpää2014-11-011-85/+79
| | | | | | Changed GitlabObject-class version of _getListOrObject to classmethod. Removed _getListOrObject-method from Gitlab-class. Changed Gitlab-class to use GitlabObject-class version of _getListOrObject
* bump version to 0.80.8Gauvain Pocentek2014-10-261-1/+1
|
* make sure to not display both id and idAttrGauvain Pocentek2014-10-261-1/+1
|
* ProjectLabel: use name as id attributeGauvain Pocentek2014-10-261-1/+1
|
* pretty_print: don't display private attributesGauvain Pocentek2014-10-261-0/+2
|
* Merge pull request #45 from mjmaenpaa/labels_filesGauvain Pocentek2014-10-241-0/+33
|\ | | | | Classes for ProjectLabels and ProjectFiles
| * Classes for ProjectLabels and ProjectFilesMika Mäenpää2014-10-161-0/+33
| |
* | Merge pull request #44 from mjmaenpaa/noid_objectsGauvain Pocentek2014-10-241-8/+27
|\ \ | | | | | | Support api-objects which don't have id in api response.
| * | Fixed object creation in listMika Mäenpää2014-10-161-1/+2
| | |
| * | Support api-objects which don't have id in api response.Mika Mäenpää2014-10-151-7/+25
| |/
* | Merge pull request #43 from mjmaenpaa/url_delete_attrsGauvain Pocentek2014-10-241-75/+102
|\ \ | | | | | | Moved url attributes to separate list. Added list for delete attributes.
| * | Moved url attributes to separate list. Added list for delete attributes.Mika Mäenpää2014-10-151-75/+102
| |/
* | Merge pull request #40 from mjmaenpaa/py3Gauvain Pocentek2014-10-241-7/+13
|\ \ | |/ |/| Python3 compatibility
| * Py3 compatibility with sixMika Mäenpää2014-10-141-15/+9
| |
| * Python3 compatibilityMika Mäenpää2014-10-131-5/+17
| |
* | Merge pull request #42 from mjmaenpaa/constructUrlGauvain Pocentek2014-10-141-16/+14
|\ \ | | | | | | Moved url-construction to separate function
| * | Moved url-construction to separate functionMika Mäenpää2014-10-141-16/+14
| | |
* | | Gitlab.get() raised GitlabListError instead of GitlabGetErrorMika Mäenpää2014-10-141-2/+2
|/ /
* | Timeout supportMika Mäenpää2014-10-131-10/+23
|/
* Merge pull request #38 from mjmaenpaa/currentuser_keyGauvain Pocentek2014-10-111-5/+1
|\ | | | | Changed CurrentUser.Key to use _getListOrObject-method like all other functions
| * CurrentUser.Key uses _getListOrObject-methodMika Mäenpää2014-10-101-5/+1
| |
* | Merge pull request #37 from mjmaenpaa/list_kwargsGauvain Pocentek2014-10-111-8/+8
|\ \ | | | | | | No reason to add kwargs to object in Gitlab.list()-method
| * | No reason to add kwargs to object in Gitlab.list()-method because GitlabObjectMika Mäenpää2014-10-101-8/+8
| |/ | | | | | | constructor can handle them.
* | _setFromDict thinks False is NoneMika Mäenpää2014-10-101-3/+3
|/
* refactor "_sanitize" for Python < 2.7Patrick Miller2014-09-051-1/+1
|
* bump versionGauvain Pocentek2014-08-211-1/+1
|
* update copyright yearsGauvain Pocentek2014-08-211-2/+2
|
* flake8 fixesGauvain Pocentek2014-08-211-8/+3
|
* Fix handling of boolean valuesGauvain Pocentek2014-08-211-1/+7
| | | | | | | Gitlab expects an int (1 or 0) as value for boolean attributes. Transform python bool's into int's when creating or updating objects. Closes #22
* Support namespace/name for project idGauvain Pocentek2014-08-211-8/+24
| | | | Closes #28
* Merge pull request #27 from cdleonard/masterGauvain Pocentek2014-08-211-4/+8
|\ | | | | Fix encoding errors on display and update with redirected output
| * Fix encoding error when updating with redirected outputCrestez Dan Leonard2014-07-281-1/+3
| | | | | | | | | | | | When output is redirected sys.stdout.encoding is None. Fix this by always encoding to utf-8, assuming gitlab handles that. The encoding used by the local system is irrelevant here.
| * Fix encoding error when printing to redirected outputCrestez Dan Leonard2014-07-281-3/+5
| | | | | | | | | | When redirecting output to a file sys.stdout.encoding is None, so use sys.getdefaultencoding() instead.
* | Support state_event in ProjectMilestoneGauvain Pocentek2014-08-211-1/+1
| | | | | | | | Closes #30
* | add support for branches creation and deletionGauvain Pocentek2014-08-211-2/+2
| |
* | add support for UserKey listing and deletionGauvain Pocentek2014-08-211-2/+2
| |
* | drop the module shebangGauvain Pocentek2014-08-211-1/+0
|/
* version bump0.6Gauvain Pocentek2014-01-161-1/+1
| | | | Update Changelog and AUTHORS
* projects listing: explicitly define arguments for paginationGauvain Pocentek2014-01-161-4/+14
|