Thursday, April 30, 2009

etc on git


Well, I'm finally getting around to putting my 30 or so servers on version control. It's a slight pain in the add but well worth it. In the past I'd made use of rsnapshot which I generally liked. This go-round however, I'm using git. 




reasons:










  1. setup is easier



  2. repositories are more compact



  3. trivial restoration



  4. built in diff/stat tools



  5. ease of maintaining local and remote repositories 






 


Sunday, April 19, 2009

Sputnik + Git


Sputnik is a CMS that behaves as a wiki (out of the box) and has a pretty cool back end storage mechanism that supports databases, flat files, and git repositories. By using git I can work "offline" on a copy of the sites powered by sputnik and just sync the changes back when I'm ready. Since I don't allow ssh access to the production servers running sputnik, I've set up a scheme whereby I can sync changes from my laptop up to the VC server. The sputnik server will pull any changes down automatically and push any changes up as well.




Here's the script that does it. 







I wrote this in a quick and dirty fashion and should really clean it up before letting it loose. Oh well. 











Continue reading "Sputnik + Git"

Saturday, April 18, 2009

sputnik + xavante startup with runit


This is the script I use to manage my instances of xavante which power my sputnik instances. I should really clean it up but I'm frying bigger fishermen at the moment.






Continue reading "sputnik + xavante startup with runit"