[Pkg-ganeti-devel] [SCM] Ganeti packaging branch, master, updated. debian/2.7.0-1-31-g53f0717

Apollon Oikonomopoulos apoikos at gmail.com
Wed Jul 17 20:44:09 UTC 2013


The following commit has been merged in the master branch:
commit f814e086b65b3329c0a54be048fce84820f435e4
Author: Apollon Oikonomopoulos <apoikos at gmail.com>
Date:   Mon Jul 15 12:00:56 2013 +0300

    Ship the RAPI client library as python-ganeti-rapi
    
    This is the only stable external API, so we ship it as a stand-alone package
    with minimal dependencies. Suggest ganeti2-doc as well, since it contains the
    RAPI documentation.

diff --git a/debian/changelog b/debian/changelog
index 77a2bc8..d4c39a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ ganeti (2.7.0-2) UNRELEASED; urgency=low
     - Run the upstream test suite during build
   * Ship the majority of the Python code in a private module under
     /usr/share/ganeti2
+  * Ship the RAPI client as a separate package (python-ganeti-rapi)
   * Ship the HTML documentation as ganeti2-doc
     - Depend on libjs-underscore instead of embedding a copy
   * Update standards version to 3.9.4 and compat to 9
diff --git a/debian/control b/debian/control
index 72a7cef..18de195 100644
--- a/debian/control
+++ b/debian/control
@@ -107,3 +107,27 @@ Description: Cluster-based virtualization management software - documentation
  systems.
  .
  This package contains the full HTML documentation for Ganeti.
+
+Package: python-ganeti-rapi
+Architecture: all
+Section: python
+Depends: ${python:Depends}, ${misc:Depends}, python-pycurl, python-simplejson
+Suggests: ganeti2-doc
+Replaces: ganeti2 (<< 2.7.0-2)
+Breaks: ganeti2 (<< 2.7.0-2)
+Description: Cluster-based virtualization management software - RAPI client library
+ Ganeti is a virtual server cluster management software tool built on top
+ of the Xen virtual machine monitor and other Open Source software. After
+ setting it up it will provide you with an automated environment to
+ manage highly available virtual machine instances.
+ .
+ It has been designed to facilitate cluster management of virtual servers
+ and to provide fast and simple recovery after physical failures using
+ commodity hardware.
+ .
+ It will take care of operations such as redundant disk creation and
+ management, operating system installation  (in cooperation with OS-specific
+ install scripts), startup, shutdown, failover of instances between physical
+ systems.
+ .
+ This package contains a RAPI (Remote API) client library for Python.
diff --git a/debian/rules b/debian/rules
index 35a9360..1c6cb3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@
 GANETI_DIR=$(CURDIR)/debian/ganeti2
 HTOOLS_DIR=$(CURDIR)/debian/ganeti-htools
 HASKELL_DIR=$(CURDIR)/debian/ganeti-haskell
+RAPI_DIR=$(CURDIR)/debian/python-ganeti-rapi
 PRIVATE_DIR=$(GANETI_DIR)/usr/share/ganeti2
 
 %:
@@ -85,6 +86,11 @@ override_dh_auto_install:
 	  ln -s ../../share/ganeti2/$$file $(GANETI_DIR)/usr/lib/ganeti/$$file; \
 	done
 
+	# ship the RAPI client as a stand-alone package
+	install -Dp -m 0644 $(PRIVATE_DIR)/ganeti/rapi/client.py $(RAPI_DIR)/usr/share/pyshared/ganeti/rapi/client.py
+	touch $(RAPI_DIR)/usr/share/pyshared/ganeti/__init__.py
+	touch $(RAPI_DIR)/usr/share/pyshared/ganeti/rapi/__init__.py
+
 override_dh_installinit:
 	dh_installinit --name=ganeti --error-handler=true -i -- defaults 20 80
 

-- 
Ganeti packaging



More information about the Pkg-ganeti-devel mailing list