Releasing GotCloud: Difference between revisions
From Genome Analysis Wiki
Jump to navigationJump to search
No edit summary |
Terry Gliedt (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
Software for GotCloud is kept in a '''git''' repository '''on github''' (eventually). | Software for GotCloud is kept in a '''git''' repository '''on github''' (eventually). | ||
This document describes how we create the Debian and | This document describes how we create the Debian package and tar file for GotCloud. | ||
'''Get the software''' (in this case from our local repository): | '''Get the software''' (in this case from our local repository): | ||
| Line 22: | Line 22: | ||
'''Build the Packages''' | '''Build the Packages''' | ||
Debian binaries DEB | Debian binaries DEB, TAR file | ||
<code> | <code> | ||
'''cd ~/dev/gotcloud''' | '''cd ~/dev/gotcloud''' | ||
'''debian/makedeb.sh bin''' ( | '''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): | |||
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): | |||
[lines deleted] | [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 | |||
-rw-r--r-- 1 tpg tpg | |||
-rw-r--r-- 1 tpg tpg | |||
</code> | </code> | ||
Debian test DEB, TAR file | |||
<code> | <code> | ||
'''cd ~/dev/gotcloud''' | '''cd ~/dev/gotcloud''' | ||
'''debian/ | '''debian/makedeb.sh test =''' (or in place of '=' use a version number) | ||
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): | ############################################################# | ||
# Creating the 'test' package takes a pretty long time. Patience grasshopper... | |||
############################################################# | |||
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): ... | |||
[lines deleted] | [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 | |||
dpkg-deb: building package `gotcloud-test' in `./gotcloud-test_1. | |||
-rw-r--r-- 1 tpg tpg | |||
-rw-r--r-- 1 tpg tpg | |||
</code> | </code> | ||
| Line 120: | Line 59: | ||
<code> | <code> | ||
'''cd ~/dev/gotcloud''' | '''cd ~/dev/gotcloud''' | ||
'''ls -la *.deb *. | '''ls -la *.deb *.tar.gz''' | ||
-rw-r--r-- 1 tpg tpg | -rw-r--r-- 1 tpg tpg 7933560 May 20 08:28 gotcloud-bin_1.06_amd64.deb | ||
-rw-r--r-- 1 tpg tpg | -rw-r--r-- 1 tpg tpg 7983521 May 20 08:28 gotcloud-bin_1.06.tar.gz | ||
-rw-r--r-- 1 tpg tpg | -rw-r--r-- 1 tpg tpg 382184656 May 20 08:41 gotcloud-test_1.06_amd64.deb | ||
-rw-r--r-- 1 tpg tpg | -rw-r--r-- 1 tpg tpg 383138926 May 20 08:42 gotcloud-test_1.06.tar.gz | ||
'''scp *.deb *. | '''scp *.deb *.tar.gz gotcloud@share.sph.umich.edu''' | ||
</code> | </code> | ||
This makes the Debian and | This makes the Debian packages and tar files available to outsiders using anonymous FTP (or wget). | ||
Revision as of 08:43, 20 May 2013
Back to parent: GotCloud
Software for GotCloud is kept in a git repository on github (eventually). 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/gotcloud gotcloud
Cloning into 'gotcloud'...
done.
ls gotcloud
bin/ debian/ INSTALL.txt README scripts/ 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).