Difference between revisions of "Releasing GotCloud"

From Genome Analysis Wiki
Jump to navigationJump to search
Line 7: Line 7:
 
<code>
 
<code>
 
   cd ~/dev
 
   cd ~/dev
   '''git clone ....git/gotcloud gotcloud'''
+
   '''git clone git://github.com/statgen/gotcloud.git'''
 
   Cloning into 'gotcloud'...
 
   Cloning into 'gotcloud'...
 
   done.
 
   done.
 
   '''ls gotcloud'''
 
   '''ls gotcloud'''
   bin/  debian/  INSTALL.txt  README  scripts/ test/
+
   bin/  Copyrights/  debian/ gotcloud INSTALL.txt  README release_version.txt scripts src test
 
</code>
 
</code>
  
 
'''Build the Source'''
 
'''Build the Source'''
 
<code>
 
<code>
 +
 
   '''cd ~/dev/gotcloud/src'''
 
   '''cd ~/dev/gotcloud/src'''
 
   '''make'''
 
   '''make'''

Revision as of 08:49, 20 May 2013

Back to parent: GotCloud

Software for GotCloud is kept in the git repository github. This document describes how we create the Debian package and tar file for GotCloud.

Get the software (in this case from our local repository):

 cd ~/dev
 git clone git://github.com/statgen/gotcloud.git
 Cloning into 'gotcloud'...
 done.
 ls gotcloud
 bin/  Copyrights/  debian/  gotcloud  INSTALL.txt  README  release_version.txt  scripts  src  test

Build the Source

 cd ~/dev/gotcloud/src
 make

Build the Packages

Debian binaries DEB, TAR file

 cd ~/dev/gotcloud
 debian/makedeb.sh bin = (or in place of '=' use a version number)
 Making binaries in src.  First time this will take a couple of minutes
 Binaries created as necessary
 dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): 
   [lines deleted]
 dpkg-deb: building package `gotcloud-bin' in `./gotcloud-bin_1.06_amd64.deb'.
 Debian package file created
 -rw-r--r-- 1 tpg tpg 7933560 May 20 08:28 /home/tpg/dev/gotcloud/gotcloud-bin_1.06_amd64.deb
 Creating tar file for 'bin'
 Tar file created
 -rw-r--r-- 1 tpg tpg 7983521 May 20 08:28 /home/tpg/dev/gotcloud/gotcloud-bin_1.06.tar.gz

Debian test DEB, TAR file

 cd ~/dev/gotcloud
 debian/makedeb.sh test = (or in place of '=' use a version number)
 #############################################################
 #  Creating the 'test' package takes a pretty long time. Patience grasshopper...
 #############################################################
 dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): ...
   [lines deleted]
 dpkg-deb: building package `gotcloud-test' in `./gotcloud-test_1.06_amd64.deb'.
 Debian package file created
 -rw-r--r-- 1 tpg tpg 382184656 May 20 08:41 /home/tpg/dev/gotcloud/gotcloud-test_1.06_amd64.deb
 Creating tar file for 'test'
 Tar file created
 -rw-r--r-- 1 tpg tpg 383138926 May 20 08:42 /home/tpg/dev/gotcloud/gotcloud-test

Make these available via FTP:

 cd ~/dev/gotcloud
 ls -la *.deb *.tar.gz
 -rw-r--r-- 1 tpg tpg   7933560 May 20 08:28 gotcloud-bin_1.06_amd64.deb
 -rw-r--r-- 1 tpg tpg   7983521 May 20 08:28 gotcloud-bin_1.06.tar.gz
 -rw-r--r-- 1 tpg tpg 382184656 May 20 08:41 gotcloud-test_1.06_amd64.deb
 -rw-r--r-- 1 tpg tpg 383138926 May 20 08:42 gotcloud-test_1.06.tar.gz

 scp *.deb *.tar.gz gotcloud@share.sph.umich.edu

This makes the Debian packages and tar files available to outsiders using anonymous FTP (or wget).