All errors are reported by pdc_client
on stderr output and exit code is non-zero if an error occurs.
It possible to override default plugin paths with PDC_CLIENT_PLUGIN_PATH
environment variable. E.g.
export PDC_CLIENT_PLUGIN_PATHS="$HOME/pdc-plugins:/usr/share/pdc-client/plugins"
pdc --help
Simpler access to a specific page with pdc --page
.
Method PDCClient.get_paged()
in Python API is deprecated and can be replaced by results()
method. Both methods return iterator simplifying accessing to pages with results.
client = PDCClient(server)
# Old way (deprecated)
for result in client.get_paged(client.products):
...
# New way
for result in client.products.results():
...
Simpler access to endpoints with dashes in name.
client = PDCClient(server)
# Old way
branches = client['component-branches']
# New way
branches = client.component_branches
PDC_CLIENT_PLUGIN_PATH
pdc_client
Please login to add feedback.
This update has been submitted for testing by lholecek.
Looks good for QE
This update has been pushed to testing.
This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes
Yes, please!
The python module works on CentOS 7
This update has been submitted for batched by bodhi.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.