Setup PVE v2 Development Environment
====================================
-1. Install Debian 'squeeze'
+1. Install Debian 'wheezy'
2. Install prerequisites for development environment:
-apt-get -y install build-essential subversion debhelper autotools-dev \
+apt-get -y install build-essential git-core debhelper autotools-dev \
doxygen check pkg-config libnss3-dev groff quilt dpatch libxml2-dev \
libncurses5-dev libslang2-dev libldap2-dev xsltproc python-pexpect \
python-pycurl libdbus-1-dev openipmi sg3-utils libnet-snmp-perl \
libpci-dev texi2html libgnutls-dev libsdl1.2-dev bridge-utils \
libvncserver0 rpm2cpio apache2-mpm-prefork libintl-perl \
libapache2-request-perl libnet-dns-perl vlan libio-socket-ssl-perl \
-libfile-sync-perl ifenslave-2.6 libnet-ldap-perl console-data
-
-3. Download and install the following svn modules in order from top to bottom:
-
-svn://devel.proxmox.com/var/svn/pve/
-
-libqb/trunk
-corosync/trunk
-openais/trunk
-pve-common/trunk
-pve-cluster/trunk
-redhat-cluster/trunk
-pve-access-control/trunk
-pve-storage/pve2
-pve-qemu-kvm/pve2
-qemu-server/pve2
-vncterm/pve2
-pve-manager/pve2
-pve-kernel-2.6.32-rh/pve2
-
-Most source can be installed with 'make dinstall' command.
+libfile-sync-perl ifenslave-2.6 libnet-ldap-perl console-data \
+libtool dietlibc-dev liblocale-po-perl libstring-shellquote-perl \
+libio-multiplex-perl liblockfile-simple-perl
+
+3. Download and install the following git modules in order from top to bottom:
+
+# git clone git://git.proxmox.com/git/<PACKAGE.git>
+
+You currently need the following packages:
+
+corosync-pve.git
+openais-pve.git
+pve-common.git
+pve-cluster.git
+redhat-cluster-pve.git
+lvm.git
+pve-access-control.git
+pve-storage.git
+pve-qemu-kvm.git
+qemu-server.git
+vncterm.git
+vzquota.git
+vzctl.git
+fence-agents-pve.git
+resource-agents-pve.git
+pve-manager.git
+pve-kernel-2.6.32.git
+libiscsi.git
+gfs2-utils.git
+ksm-control-daemon.git
+
+Most packages can be installed with 'make dinstall' command.
4. Reboot the system.
5. Learn to use the quilt patch scripts.
There is an experimental package containing the API documentation
as ExtJS application:
-pve2-api-doc/trunk
+pve2-api-doc.git
+
+You can view the source code at:
+
+https://git.proxmox.com
REST vs. SOAP
we can automatically generate the whole API Documentation, and we can
verify all parameters and return values.
-An great side effect was that we are able to use JSON Schema to
+A great side effect was that we are able to use JSON Schema to
produce command line argument parsers automatically. In fact, the REST
API and the command line tools use the same code.