summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
Commit message (Collapse)AuthorAgeFilesLines
...
* add a missing import statementRichard Hansen2016-01-231-0/+1
| | | | | Add the import inside the function rather than at the top of the file because otherwise it would introduce a circular dependency.
* remove debugging print instructionGauvain Pocentek2016-01-161-1/+0
|
* Fix discovery of parents object attrs for managersGauvain Pocentek2016-01-161-10/+15
|
* Support setting commit statusColin D Bennett2016-01-121-0/+17
| | | | | | | | | | | | | | | | | | Support commit status updates. Commit status can be set by a POST to the appropriate commit URL. The status can be updated by a subsequent POST to the same URL with the same `name` and `ref`, but different values for `state`, `description`, etc. Note: Listing the commit statuses is not yet supported. This is done through a different path on the server, under the `repository` path. Example of use from the CLI: # add a build status to a commit gitlab project-commit-status create --project-id 2 \ --commit-id a43290c --state success --name ci/jenkins \ --target-url http://server/build/123 \ --description "Jenkins build succeeded"
* Support deletion without getting the object firstGauvain Pocentek2016-01-101-0/+15
| | | | Use this feature in the CLI to avoid an extra API call to the server.
* Improve the API documentation.Gauvain Pocentek2016-01-101-38/+188
|
* add missing importGauvain Pocentek2016-01-091-0/+1
|
* Add support for groups searchGauvain Pocentek2016-01-091-15/+24
| | | | | | | Factorize the code to avoid duplication with the ProjectManager class. Implement unit tests for the group search. Original patchh from Daniel Serodio (PR #55).
* Implement ProjectManager search/list methodsGauvain Pocentek2016-01-081-0/+27
| | | | | | The existing Gitlab methods are deprecated. Unit tests have been added.
* Create a manager for ProjectFork objectsGauvain Pocentek2016-01-081-0/+5
|
* add fork project supportfgouteroux2016-01-061-0/+28
|
* add unit tests for BaseManagerGauvain Pocentek2016-01-031-9/+8
|
* fix pretty_print with managersGauvain Pocentek2016-01-031-1/+3
|
* Implement managers to get access to resourcesGauvain Pocentek2016-01-031-26/+258
| | | | | | | | This changes the 'default' API, using managers is the recommended way to get/list/create objects. Additional operations will be implemented in followup patchs. Old methods are deprecated and will disappear in a while.
* Split code in multiple filesGauvain Pocentek2015-12-311-0/+801