On 11.11.2011 01:00, Christian Boltz wrote:
Hello,
Am Dienstag, 8. November 2011 schrieb Thomas Schmidt:
On 08.11.2011 00:37, Christian Boltz wrote:
That sounds like a good idea - and brings up an interesting question: If we push SVN checkouts to git, they will include .svn directories. What will happen if you check them out using svn? ;-) (Please test this and tell me the result.)
That won't work, as the .svn directory would get overwritten. I just tried that, the error message is: "svn: Failed to add directory 'trunk/extensions/test/.svn': an unversioned directory of the same name already exists"
:-(
Can you send a bugreport to github? Maybe they find a way to fix it ;-)
So it seems we can't use svn checkouts in our repo currently.
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, but in the end who does the mediawiki updates decides what is the best workflow to do it. At the moment this is Matthew ;-) For me it's important that it's documented how we do it, so that not only one person is able to do it. Greetings -- Thomas Schmidt (tom [at] opensuse.org) openSUSE Boosters Team "Don't Panic", Douglas Adams (11.03.1952 - 11.05.2001) -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org