| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Drop the code, the tests, and update the documentation.
|
|
|
|
|
|
|
| |
This might happen in CLI context, where recursion to discover parent
attributes is not required (URL gets hardcoded)
Fix should fix the CLI CI.
|
|
|
|
|
|
|
|
| |
Make gitlab objects serializable
With current implementation of API v3 and v4 support, some instances
have properties of type module and are not serializable. Handle
these properties manually with setstate and getstate methods.
|
|
|
|
|
|
|
| |
Expose the X-* pagination attributes returned by the Gitlab server when
requesting lists.
Closes #304
|
|
|
|
|
|
| |
In v3 we create objects from json dicts when it makes sense. Support for
this feature has not been kept in v4, and we didn't get requests for it
so let's drop the _constructor_types definitions.
|
|
|
|
| |
Fixes #306
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Some things are probably broken. Next step is writting unit and
functional tests.
And fix.
|
|
|
|
| |
Convert User* to the new REST* API.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new RESTObject and RESTManager base class, linked to a bunch of
Mixin class to implement the actual CRUD methods.
Object are generated by the managers, and special cases are handled in
the derivated classes.
Both ways (old and new) can be used together, migrate only a few v4
objects to the new method as a POC.
TODO: handle managers on generated objects (have to deal with attributes
in the URLs).
|
| |
|
|
|