batonac
Member
I've created a little script that I run in the base dir of my Joomla install every time I want to update Fabrik:
This works great and keeps all the permissions intact, but somehow it seems like a waist of bandwidth to re-download the complete Fabrik branch and overwrite all files every time I want to update. It also doesn't give me any visibility into which files have been altered on update, which I think would be a benefit.
Since I've never used git, I'd like to know if the developers have any recommendations on whether it's possible to install and update Fabrik in a Joomla 3.1 directory using only git, ultimately without downloading unnecessary branches and revisions (Google tells me 'git clone --depth=1' is key to get only the latest revision).
Code:
#! /bin/sh
sudo -u www-data wget https://github.com/Fabrik/fabrik/archive/joomla3.tar.gz
sudo -u www-data tar -xvf joomla3.tar.gz --strip 1
sudo -u www-data rm joomla3.tar.gz
Since I've never used git, I'd like to know if the developers have any recommendations on whether it's possible to install and update Fabrik in a Joomla 3.1 directory using only git, ultimately without downloading unnecessary branches and revisions (Google tells me 'git clone --depth=1' is key to get only the latest revision).