GitHub user erjohnso opened a pull request:
https://github.com/apache/libcloud/pull/423
[LIBCLOUD-602] improve gce.image_list()
Improves the GCE driver's `list_images()` method to actually return what
the user would expect; a list of vendor supported operating system images
including what they have on their own project. The default behavior now
returns on non-deprectated images, but a full list can be returned using the
`ex_include_deprecated` param.
Although this changes the behavior of `list_images()`, it more closely
matches the behavior of GCE's command-line utility `gcloud compute` that is
part of the Cloud SDK package[1]. It is also more likely what the user wants to
see anyway.
[1] https://cloud.google.com/sdk/
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/erjohnso/libcloud LIBCLOUD_602_gce_list_images
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/423.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #423
----
commit 1204039941ce8aa81e4b50d686e679c05287b6f1
Author: Eric Johnson <[email protected]>
Date: 2014-12-30T20:04:52Z
[LIBCLOUD-602] improve gce.image_list()
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---