Dobrica Pavlinušić's random unstructured stuff
SocialText git upgrade: Revision 13
This page will describe by efforts to upgrade SocialText from version v2.19.0.2 to "git version"<http://github.com/socialtext/socialtext/tree/master>

{toc: }

^ rsync current installation

.pre
mjesec:~# lvcreate -s -L 1G -n vz-snap /dev/vg/vz
Logical volume "vz-snap" created
mjesec:~# mount /dev/vg/vz-snap /mnt/vz-snap/

stage:/mnt/btrfs# btrfs subvolume create /mnt/btrfs/saturn
Create subvolume '/mnt/btrfs/saturn'

stage:~# /srv/sysadmin-cookbook/recepies/rsync/rsync-clone.sh 10.60.0.9::vz-snap/private/212024/ /mnt/btrfs/saturn/

stage:~# btrfs subvolume snapshot /mnt/btrfs/saturn /mnt/btrfs/saturn.0.etch
Create a snapshot of '/mnt/btrfs/saturn' in '/mnt/btrfs/saturn.0.etch'

.pre

^ Upgrade Debian distribution

* first from etch -> lenny
* then from lenny -> squeeze

^ Install git

Use following `/etc/apt/sources.list` {file: sources.list}

.pre
root@stwiki3:~# apt-get install git-core
.pre

^ Checkout source

.pre
dpavlin@clone-saturn:~$ git clone git://github.com/socialtext/socialtext.git
remote: Counting objects: 75434, done.
remote: Compressing objects: 100% (19078/19078), done.
Indexing 75434 objects.
remote: Total 75434 (delta 51423), reused 73391 (delta 49592)
100% (75434/75434) done
Resolving 51423 deltas.
100% (51423/51423) done
Checking files out...
100% (3260/3260) done
.pre

^ Install dependencies

From modified file {file: dapper}

.pre
dpavlin@stwiki3:~$ sudo apt-get install `cat socialtext/nlw/build/pkg-lists/dapper`
.pre

This is from `docs/INSTALL.apt-get` in "SocialText git repository"<http://github.com/socialtext/socialtext/blob/df895cf4051000cb8277098b26078deb671bf4f8/nlw/docs/INSTALL.apt-get>

.pre
dpavlin@clone-saturn:~$ cd socialtext/nlw/
dpavlin@clone-saturn:~/socialtext/nlw$ ./configure --socialtext-open 1 --force-ssl-login 1 --apache-proxy 0

# install rest of perl dependencies
.pre