Thorsten Scherler schrieb:
On Fri, 2008-01-04 at 15:09 +0100, Andreas Hartmann wrote:
Andreas Hartmann schrieb:
Hi Lenya devs,
at the user meeting in Freiburg I suggested that we try to manage our
website with Lenya again. If we decide to do this, I suppose that the
content shall be stored in the SVN repository.
At the moment, synchronizing the files with SVN is a bit cumbersome
because every edit operation removes and creates backup files. I
wouldn't like to do this by hand. How can we overcome this issue?
a) Don't create backup files (i.e., set the number of backups to 0).
This would render Lenya's versioning useless, but maybe we could
live with that.
b) Write some sophisticated shell scrips which do the syncing.
On http://teamaskins.net/archive/2006/03/15/subversion_commit_script
there's a neat script that does the trick.
The problem is and I do not think that it is solved by the script that
we cannot commit from the zones server directly since that would mean we
use a certain svn user on the zones server.
Meaning when we do the update we would need to download the zones rep
(both xml and html) and commit the changes form our local workstation
with our svn user.
For a website update, it would probably be sufficient to download the
site using wget and commit the resulting HTML. For backup purposes it
would be convenient to have the content in SVN, though.
I think we should do an IRC session around this after the release.
Good idea.
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]