I am trying to figure out how best to build a scrip that
automatically manages a directory's status in relation to a SVN
repository. I have a team of marketing folk that create assets such
as images, flash, and PDF documents and need to get them onto our
production servers. Our current solution is web-based file upload
that automatically copies the files out to the production servers.
This is tedious though, especially when uploading multiple files and
because we have a complex
hierarchy without our assets directory. Thus, I want to give them
access to a local server mount where they can simply drag and drop
the files. I would have a cron job that would automatically come by
each hour and pick up the files and move them to the production web
servers. Here's the catch: I need the files put into our SVN
repository. Having them each checkout a copy of the assets directory
and use a GUI subversion client to manage it would be the easiest,
but I am hoping that I can make it even easier for them… truly drag
and drop. The best solution that I have come up with is to have two
directories, one that they interact with and one that they don't. The
the second would be a SVN checkout of the assets directory. I would
then use rsync dry-run to compare changes between the two directories
and then use the output to automatically run the add/delete and
commit svn commands on the second.
Anyone have any better ideas?
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net