[Mediawiki-l] cronjob subversion

Platonides Platonides at gmail.com
Wed Jan 5 22:34:29 UTC 2011

Huib Laurens wrote:
> Hello,
> Is there a cronjob I could use to copy the mediawiki trunk on a daily basis
> to my server?
> So the cron most download it from SVN, and paste it in the directory where
> my mediawiki is running.

Just something like
 svn up /var/www/mediawiki
will do it.
OTOH, if you are intested in a more advanced script doing an atomic
switch and verifying that trunk doesn't break the tests, I could try to
polish it a bit.

More information about the MediaWiki-l mailing list