Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Release checklist

cd ~/Projects/iskdaemon/src
sed -i '' -e's/iskVersion = \"0.9.2\"/iskVersion = \"0.9.3\"/' core/ 
sed -i '' -e's/0.9.2/0.9.3/' ui/admin-gwt/src/net/imgseek/server/admin/client/
sed -i '' -e's/Jan 2012/Jan 2012/' ui/admin-gwt/src/net/imgseek/server/admin/client/
sed -i '' -e's/0.9.2/0.9.3/' 
sed -i '' -e's/0.9.2/0.9.3/' installer.nsi 

compile GWT admin ui

python test/

# gen py docs
epydoc -v --html --no-sourcecode --no-frames --no-private -o epyhtml core/
open epyhtml/core.imgdbapi-module.html
copy/paste to
edit HTML and remove occurences of core.imgdbapi-module.html

# Windows
Git shell
    cd /c/prj/iskdaemon
    git pull
Visual Studio Prompt
cd /c/prj/iskdaemon
python build
rmdir /S /Q dist\isk-daemon
python ..\..\pyinstaller\ isk-daemon.spec   
"c:\Program Files (x86)\NSIS\makensis.exe" installer.nsi
run installer
upload installer to

# Linux
scp dist/*.gz rnc@
scp dist/*.gz rnc@

ssh rnc@
rm -fr deb
mkdir deb
mv *.gz deb
cd deb
export DEBFULLNAME="Ricardo Niederberger Cabral"
export DEBEMAIL=""
tar zxvf *.gz
cd isk-daemon
debuild -us -uc 
sudo debi

git commit -a
git push
git tag "v0.9.3"
git push --tags        

python sdist --formats=gztar,zip register upload
python bdist
git log --pretty=format:%s v0.9.2..
post to,
    [Release] isk-daemon 0.9.3

Notify users on:
    with MailChimp

Yum based

sudo yum install ImageMagick-c++-devel swig gcc-c++ python-setuptools python-devel

OSX Dev environment

git config --global "Ricardo Cabral"
git config --global ""

sudo port install swig
sudo port install swig-python
sudo easy_install twisted
sudo port install imagemagick
sudo easy_install epydoc

Ubuntu Dev environment

sudo apt-get install build-essential devscripts ubuntu-dev-tools debhelper dh-make diff patch cdbs quilt gnupg  fakeroot lintian  pbuilder piuparts
sudo apt-get install swig
sudo apt-get install python-twisted-web
sudo apt-get install libmagick++-dev
sudo apt-get install git-core
sudo apt-get install python-dev 

mkdir ~/prj
cd ~/prj
git clone
git config --global "Ricardo Niederberger Cabral"
git config --global ""

Packaging tutorial:

export DEBFULLNAME="Ricardo Niederberger Cabral"
export DEBEMAIL=""


New dev

Install Visual Studio C++ express 2008
    (2010 express doesnt work well with python)
Install Git
mkdir /prj
cd /prj
git clone
git config --global "Ricardo Niederberger Cabral"
git config --global ""

install imagemagick windows, select option to include dev headers:
32bit python:
    copy swigwin into C:\Program Files (x86),  add to PATH
checkout using Git UI
add C:\Python27 to PATH
launch Visual Studio Command prompt, run C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars.bat
update imagemagick dir on (magick_dir)
c:\python27\scripts\easy_install twisted
this may be needed only on some cases: from python27\distutils had to remove linker switch "/EXPORT:" (was getting "unresolved external initimgdb")  (just extract on a folder)

Ubuntu packaging

sudo pbuilder create --distribution $(lsb_release -cs) \
 --othermirror "deb $(lsb_release -cs) main restricted universe multiverse"

imgdb lib dev

To update Python C++ wrappers

cd src/imgSeekLib 
python build
ln -s build/lib.macosx-10.7-x86_64-2.7/