You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/08/11 05:45:46 UTC

[1/2] libcloud git commit: Allow undeprecation of an image.

Repository: libcloud
Updated Branches:
  refs/heads/trunk 5268f2b77 -> c5b6fc29b


Allow undeprecation of an image.

Closes #851


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/a3dbf97c
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a3dbf97c
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a3dbf97c

Branch: refs/heads/trunk
Commit: a3dbf97c7a2935f127f1ac620c97f11abfb90b13
Parents: 5268f2b
Author: Max Illfelder <il...@google.com>
Authored: Wed Aug 10 13:54:35 2016 -0700
Committer: Anthony Shaw <an...@apache.org>
Committed: Thu Aug 11 15:44:42 2016 +1000

----------------------------------------------------------------------
 libcloud/compute/drivers/gce.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/a3dbf97c/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index 337b109..4b2c2a2 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -500,7 +500,7 @@ class GCENodeImage(NodeImage):
         :type   replacement: ``str`` or :class: `GCENodeImage`
 
         :param  state: Deprecation state of this image. Possible values include
-                       \'DELETED\', \'DEPRECATED\' or \'OBSOLETE\'.
+                       \'ACTIVE\', \'DELETED\', \'DEPRECATED\' or \'OBSOLETE\'.
         :type   state: ``str``
 
         :param  deprecated: RFC3339 timestamp to mark DEPRECATED
@@ -3873,7 +3873,7 @@ class GCENodeDriver(NodeDriver):
         if state is None:
             state = 'DEPRECATED'
 
-        possible_states = ['DELETED', 'DEPRECATED', 'OBSOLETE']
+        possible_states = ['ACTIVE', 'DELETED', 'DEPRECATED', 'OBSOLETE']
 
         if state not in possible_states:
             raise ValueError('state must be one of %s'


[2/2] libcloud git commit: changes for #851

Posted by an...@apache.org.
changes for #851


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/c5b6fc29
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/c5b6fc29
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/c5b6fc29

Branch: refs/heads/trunk
Commit: c5b6fc29b33a9aacd8b959eb4d3de959e69a7996
Parents: a3dbf97
Author: Anthony Shaw <an...@apache.org>
Authored: Thu Aug 11 15:45:37 2016 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Thu Aug 11 15:45:37 2016 +1000

----------------------------------------------------------------------
 CHANGES.rst | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/c5b6fc29/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index ad78fde..8425c40 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -17,6 +17,10 @@ General
 Compute
 ~~~~~~~
 
+- [gce] Allow undeprecation of an image.
+  (GITHUB-851)
+  [Max Illfelder]
+
 - [cloudstack] BUGFIX Values with wildcards failed signature validation
   (GITHUB-846)
   [Ronald van Zantvoot]