Hello community,

here is the log from the commit of package python-hetznercloud for 
openSUSE:Factory checked in at 2018-09-03 10:36:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hetznercloud (Old)
 and      /work/SRC/openSUSE:Factory/.python-hetznercloud.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hetznercloud"

Mon Sep  3 10:36:34 2018 rev:3 rq:632746 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hetznercloud/python-hetznercloud.changes  
2018-07-31 15:58:51.343491098 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-hetznercloud.new/python-hetznercloud.changes 
    2018-09-03 10:36:35.652900667 +0200
@@ -1,0 +2,9 @@
+Sun Sep  2 12:01:20 UTC 2018 - mar...@gmx.de
+
+- Update to version 1.1.1
+  * Adds new server type constants
+  * Adds new image constants
+  * Parses the IP field from the created floating IP API calls
+  * Fixes the cloud-init documentation.
+
+-------------------------------------------------------------------

Old:
----
  python-hetznercloud-1.1.0.tar.gz

New:
----
  python-hetznercloud-1.1.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-hetznercloud.spec ++++++
--- /var/tmp/diff_new_pack.dXhOSR/_old  2018-09-03 10:36:36.060901723 +0200
+++ /var/tmp/diff_new_pack.dXhOSR/_new  2018-09-03 10:36:36.064901734 +0200
@@ -20,7 +20,7 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-hetznercloud
-Version:        1.1.0
+Version:        1.1.1
 Release:        0
 Summary:        Hetzner Cloud SDK
 License:        MIT

++++++ python-hetznercloud-1.1.0.tar.gz -> python-hetznercloud-1.1.1.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hetznercloud-py-1.1.0/README.md 
new/hetznercloud-py-1.1.1/README.md
--- old/hetznercloud-py-1.1.0/README.md 2018-06-23 22:09:08.000000000 +0200
+++ new/hetznercloud-py-1.1.1/README.md 2018-09-02 12:05:14.000000000 +0200
@@ -1,6 +1,6 @@
 # Hetzner Cloud Python SDK
 
-[![License: 
MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
 [![Build 
Status](https://travis-ci.org/elsyms/hetznercloud-py.svg?branch=develop)](https://travis-ci.org/elsyms/hetznercloud-py)
 
+[![License: 
MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
 [![Build 
Status](https://travis-ci.org/thlisym/hetznercloud-py.svg?branch=develop)](https://travis-ci.org/elsyms/hetznercloud-py)
 
 
 A Python 3 SDK for the new (and wonderful) Hetzner cloud service.
 
@@ -99,9 +99,16 @@
 
 ## Changelog
 
+### v1.1.1
+
+* Adds new server type constants
+* Adds new image constants
+* Parses the IP field from the created floating IP API calls
+* Fixes the cloud-init documentation.
+
 ### v1.1.0
 
-* Allows new datacenters to be created in any datacenter in a selected 
location. See [pull request 16]().
+* Allows new servers to be created in any datacenter in a selected location. 
See [pull request 16]().
 
 ### v1.0.4
 
@@ -202,14 +209,23 @@
 * `SERVER_TYPE_8CPU_32GB` - The largest type with 8 CPU cores, 32GB of RAM and 
a 240GB SSD disk.
 * `SERVER_TYPE_8CPU_32GB_CEPH` - The same as above but with a 240GB CEPH 
network-attached disk.
 
+
+* `SERVER_TYPE_2CPU_8GB_DVCPU` - 2 dedicated CPU cores, 8GB of RAM and 80GB 
SSD disk.
+* `SERVER_TYPE_4CPU_16GB_DVCPU` - 4 dedicated CPU cores, 16GB of RAM and 160GB 
SSD disk.
+* `SERVER_TYPE_8CPU_32GB_DVCPU` - 8 dedicated CPU cores, 32GB of RAM and 240GB 
SSD disk.
+* `SERVER_TYPE_16CPU_64GB_DVCPU` - 16 dedicated CPU cores, 64GB of RAM and 
360GB SSD disk.
+* `SERVER_TYPE_32CPU_128GB_DVCPU` - 32 dedicated CPU cores, 128GB of RAM and 
540GB SSD disk.
+
 ##### Image types
 
 Constants that represent the standard images available to users.
 
 * `IMAGE_UBUNTU_1604` - Ubuntu 16.04 LTS
+* `IMAGE_UBUNTU_1804` - Ubuntu 18.04 LTS
 * `IMAGE_DEBIAN_9` - Debian 9.3
-* `IMAGE_CENTOS_7` - CentOS 7.4
+* `IMAGE_CENTOS_7` - CentOS 7.5
 * `IMAGE_FEDORA_27` - Fedora 27
+* `IMAGE_FEDORA_28` - Fedora 28
 
 ##### Datacentre constants
 
@@ -568,15 +584,20 @@
 are optional, some aren't).
 
 ```python
-server_a, create_action = client.servers().create(name="My required server 
name", # REQUIRED
+server_a, create_action = 
client.servers().create(name="my-required-server-name", # REQUIRED
     server_type=SERVER_TYPE_1CPU_2GB, # REQUIRED
     image=IMAGE_UBUNTU_1604, # REQUIRED
     datacenter=DATACENTER_FALKENSTEIN_1,
     start_after_create=True,
     ssh_keys=["my-ssh-key-1", "my-ssh-key-2"],
-    user_data="rm -rf a-file")
+    user_data='''#cloud-config
+       packages:
+        - screen
+        - git
+    ''')
 server_a.wait_until_status_is(SERVER_STATUS_RUNNING) 
 ```
+For more details on user_data please see 
https://cloudinit.readthedocs.io/en/latest/topics/examples.html
 
 #### Server modifier actions
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hetznercloud-py-1.1.0/hetznercloud/constants.py 
new/hetznercloud-py-1.1.1/hetznercloud/constants.py
--- old/hetznercloud-py-1.1.0/hetznercloud/constants.py 2018-06-23 
22:09:08.000000000 +0200
+++ new/hetznercloud-py-1.1.1/hetznercloud/constants.py 2018-09-02 
12:05:14.000000000 +0200
@@ -27,6 +27,12 @@
 SERVER_TYPE_8CPU_32GB = "cx51"
 SERVER_TYPE_8CPU_32GB_CEPH = "cx51-ceph"
 
+SERVER_TYPE_2CPU_8GB_DVCPU = "ccx11"
+SERVER_TYPE_4CPU_16GB_DVCPU = "ccx21"
+SERVER_TYPE_8CPU_32GB_DVCPU = "ccx31"
+SERVER_TYPE_16CPU_64GB_DVCPU = "ccx41"
+SERVER_TYPE_32CPU_128GB_DVCPU = "ccx51"
+
 IMAGE_UBUNTU_1604 = "ubuntu-16.04"
 IMAGE_UBUNTU_1804 = "ubuntu-18.04"
 IMAGE_DEBIAN_9 = "debian-9"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hetznercloud-py-1.1.0/hetznercloud/floating_ips.py 
new/hetznercloud-py-1.1.1/hetznercloud/floating_ips.py
--- old/hetznercloud-py-1.1.0/hetznercloud/floating_ips.py      2018-06-23 
22:09:08.000000000 +0200
+++ new/hetznercloud-py-1.1.1/hetznercloud/floating_ips.py      2018-09-02 
12:05:14.000000000 +0200
@@ -45,6 +45,7 @@
     def __init__(self, config):
         self._config = config
         self.id = 0
+        self.ip = ""
         self.description = ""
         self.type = ""
         self.server = 0
@@ -108,6 +109,7 @@
 
         float_ip.id = int(json["id"])
         float_ip.description = json["description"]
+        float_ip.ip = json["ip"]
         float_ip.type = json["type"]
         float_ip.server = int(json["server"]) if json["server"] is not None 
else 0
         float_ip.ptr_ips = [entry["ip"] for entry in json["dns_ptr"]]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hetznercloud-py-1.1.0/hetznercloud/ssh_keys.py 
new/hetznercloud-py-1.1.1/hetznercloud/ssh_keys.py
--- old/hetznercloud-py-1.1.0/hetznercloud/ssh_keys.py  2018-06-23 
22:09:08.000000000 +0200
+++ new/hetznercloud-py-1.1.1/hetznercloud/ssh_keys.py  2018-09-02 
12:05:14.000000000 +0200
@@ -46,7 +46,7 @@
 
     def delete(self):
         status_code, result = _get_results(self._config, "ssh_keys/%s" % 
self.id, method="DELETE")
-        if status_code != 201:
+        if status_code != 204:
             raise HetznerActionException(result)
 
     def update(self, name):
@@ -69,4 +69,4 @@
         ssh_key.fingerprint = json["fingerprint"]
         ssh_key.public_key = json["public_key"]
 
-        return ssh_key
\ No newline at end of file
+        return ssh_key
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hetznercloud-py-1.1.0/setup.py 
new/hetznercloud-py-1.1.1/setup.py
--- old/hetznercloud-py-1.1.0/setup.py  2018-06-23 22:09:08.000000000 +0200
+++ new/hetznercloud-py-1.1.1/setup.py  2018-09-02 12:05:14.000000000 +0200
@@ -3,7 +3,7 @@
 setup(
     name="hetznercloud",
     packages=["hetznercloud"],
-    version="1.1.0",
+    version="1.1.1",
     description="Hetzner Cloud SDK",
     author="Liam Symonds",
     author_email="l...@ls-software.uk",


Reply via email to