Page 1 of 1

svn:externals for 4.0

Posted: Fri Mar 27, 2009 9:53 am
by MrM
Hi,

Is there a SVN repository for SwiftMailer 4.0? I would like to use svn:externals in my projects and the latest version I can find in the repository is 3.3.3. Currently I use this for my externals:

Code: Select all

swift http://swiftmailer.svn.sourceforge.net/ ... 3.3.3/lib/
What URL should I use for 4.0?

Sorry, if this has been asked before. I've done a search and couldn't find anything on this topic.

Thanks!

Re: svn:externals for 4.0

Posted: Fri Mar 27, 2009 3:20 pm
by Chris Corbyn
Swift Mailer moved to a git repository, so there's no longer a subversion repository at this point in time sorry.

http://github.com/swiftmailer/swiftmailer

Re: svn:externals for 4.0

Posted: Fri Mar 27, 2009 3:49 pm
by MrM
Thanks for your answer, Chris.

I assume there is also no "git to svn converter" or something like that, so that I could still use svn:externals? Or maybe a svn frontend for git? :)

Re: svn:externals for 4.0

Posted: Fri Mar 27, 2009 5:36 pm
by Chris Corbyn
There is actually... it's part of git and it's called "git svn". I didn't use it when I migrated so I'm not sure if I can backport all of my work retroactively now.

However, I'm not likely to go back to committing to the old subversion repository. Keeping them in sync would be pointless (I migth as well just commit to svn if I'm to do that). One of my reasons for leaving subversion behind was the sheer amount of downtime SoureForge had and then constant painful slowness of the repository.

I belive, but I'm not 100%, that you should be able to, off your own, clone my git repository and then keep it in sync with an svn repository you manage. Something like:

[text]svnadmin create /var/svnroot/swiftmailer git clone git://github.com/swiftmailer/swiftmailer.git swiftmailer-git cd swiftmailer-git git svn init -s file:///var/svnroot/swiftmailer git svn dcommit[/text]

This probably won't work as-is, but something along those lines. Keeping svn and git in sync then becomes a process of doing:

Code: Select all

git pull
 
git svn dcommit

Re: svn:externals for 4.0

Posted: Fri Mar 27, 2009 5:50 pm
by MrM
Thank you very much for the exhaustive explanation. I'll give it a go.

Cheers!

Re: svn:externals for 4.0

Posted: Fri Mar 27, 2009 7:52 pm
by Chris Corbyn
MrM wrote:Thank you very much for the exhaustive explanation. I'll give it a go.

Cheers!
I'll actually give this a go and see what happens. I may be able to produce a tutorial and add it to the manual.

Re: svn:externals for 4.0

Posted: Fri Apr 03, 2009 2:36 am
by Chris Corbyn
It looks like SourceForge support git repositories now, so I have a feeling I can easily get a git-svn sync up between the two, doing some magic tricks to backport all of my commits since the split.

Re: svn:externals for 4.0

Posted: Fri Apr 03, 2009 8:32 am
by MrM
Thanks for your effort, Chris. If you manage to get it working, please post a note here. I haven't found the time yet to try your suggestions.

Re: svn:externals for 4.0

Posted: Wed Apr 22, 2009 3:15 am
by Oncle Tom
I would also be very interested by an SVN external without having to duplicate myself the GIT repository.

I guess it's the case of other people using SVN.

Thanks :)

Re: svn:externals for 4.0

Posted: Fri Apr 02, 2010 6:29 am
by Luke
Any update on this?