Hello, Am Montag, 14. November 2011 schrieb Thomas Schmidt:
On 11.11.2011 01:00, Christian Boltz wrote: [using a SVN checkout of MediaWiki and the extensions]
At least not without a workaround ;-)
What about this: rename the .svn directories to .upstreamsvn and add .svn -> .upstreamsvn symlinks, but do not add the .svn symlinks to git (can git automatically ignore the symlinks named .svn in all subdirectories?)
Those symlinks would be easy to create with a script (run it on your git checkout), and are not needed on the webserver. Also renaming the .svn directories to .upstreamsvn on a fresh checkout would be easy with a script.
I just tested this - it looks like svn happily accepts the symlink and continues to work.
What do you think about this idea?
I think it sounds complicated,
Yes, but the complicated part would be done by a script (which I'll happily contribute, I expect <20 lines) + adding ".svn" to gitignore. You/Matthew would need to run this script on the "development" machine: - after git clone to "enable" the .svn directories - same after git pull, if new directories were added by someone else - after running svn co / svn up / svn switch (if new directories were added)
but in the end who does the mediawiki updates decides what is the best workflow to do it. At the moment this is Matthew ;-)
I know, and I'm not too keen to take over his job ;-) (It might also be somehow problematic - even with public read access to the staging servers (thanks!) getting write/shell access for non-SUSE people might be harder.)
For me it's important that it's documented how we do it, so that not only one person is able to do it.
Full ACK. Regards, Christian Boltz -- Jungs. Mit dem Argument kann ich kaputte Autos verkaufen und dann erklären, daß Fahrradfahren eh viel gesünder ist. [Peer Heinlein in postfixbuch-users] -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org