08 Feb
by: Matt in Development, Django, Infrastructure, PHP, Python, Ruby, Ruby on Rails
tags: deployment, Django, mod_wsgi, mongrel, passenger, php, phusion passenger, Python, rails, ruby, subversion
I finally got around to setting up a more sophisticated deployment system for some of my apps. These apps include some built on a custom PHP framework and others that are Python / Django apps. I figured I’d share my experience…
Why is a high-level deployment infrastructure important? Deployment is something that should [...]
11 Sep
by: Matt in Development, Infrastructure
Just wanted to post this quick bash script to iterate over the repositories in a directory, perform an svnadmin hotcopy, and tar/gzip the output.
By using hotcopy this can be performed on a live subversion repository and will produce a pristine backup.
#!/bin/bash
REPOS_PATH=/var/repos
mkdir -p /backups/weekly
rm -rf /backups/tmp
mkdir -p /backups/tmp/repos
for i in $(ls $REPOS_PATH); do
[...]
18 Mar
by: Matt in Development, Infrastructure
tags: keyword substitution, subversion, svn, svn:keywords
Ever see those pretty comments at the top of a source code file under version control via subversion? It’s really rather simple to setup.
Assuming you’re past the point where you have a repository with files already under version control, you simply add in wherever you want the substitution to occur the variable name surrounded [...]
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.