sync update

This commit is contained in:
Garvin Hicking 2011-12-14 09:20:14 +01:00
parent b59723c3f1
commit 18f3924439
4 changed files with 20 additions and 1 deletions

View file

@ -55,3 +55,8 @@ rsync --partial -v -r ~/cvs/serendipity/additional_themes/ \
rsync --partial -v -r ~/cvs/serendipity/additional_plugins/homepage/ \
garvinhicking,php-blog@web.sourceforge.net:/home/groups/p/ph/php-blog/htdocs/homepage/
cp ~/cvs/serendipity/additional_plugins/*.xml ~/cvs/serendipity/git/additional_plugins/
cd ~/cvs/serendipity/git/additional_plugins
git add *.xml
git commit -m "Automagic XML sync"
git push origin

View file

@ -17,3 +17,6 @@ foreach($out AS $file) {
`cvs rm $file`;
}
}
`cvs commit -m "gitclone.sh autocommit"`;

View file

@ -1,5 +1,15 @@
#!/bin/bash
rsync --dry-run \
cd ~/cvs/serendipity/git/additional_plugins/
git pull
cd ~/cvs/serendipity/git/additional_themes/
git pull
rsync \
--exclude=/*.zip --exclude=/*.tgz --exclude=.project --exclude=.cvsignore --exclude=SerendipityTranslator.zip --exclude=CVS --exclude=.git --exclude=homepage/by*.htm --exclude=homepage/template*.htm --exclude=homepage/box*.htm --exclude=homepage/last.txt \
--archive --no-t --no-p --checksum -i --delete-after -v -z ~/cvs/serendipity/git/additional_plugins/ ~/cvs/serendipity/additional_plugins
rsync \
--exclude=/*.zip --exclude=/*.tgz --exclude=.project --exclude=.cvsignore --exclude=CVS --exclude=.git \
--archive --no-t --no-p --checksum -i --delete-after -v -z ~/cvs/serendipity/git/additional_themes/ ~/cvs/serendipity/additional_themes

View file

@ -8,3 +8,4 @@ find -name DEADJOE -exec rm {} \;
/home/garvin/cvs/serendipity/git/additional_plugins/gitclone.sh
php /home/garvin/cvs/serendipity/additional_plugins/gitclone.php
php /home/garvin/cvs/serendipity/additional_themes/gitclone.php