Tom-

That's consistent with what I've seen done. You have two projects - one
pulling from svn, and a separate one hooked up to git. We'll pull down from
svn, then rsync over to the github directory and commit. It's very messy. If
anyone has some better ideas, I'd love to know. There are also some tools
out there that do allow for git-svn behavior with support for externals, but
I didn't have any luck using it with a big project.

The git submodule --recursive does work, but you also need to call "git
submodule init" for the first time before that. The problem there is if you
have one submodule (which has a nested submodule), your project won't be
aware of the embedded submodule until you actually init and update the first
submodule. I'm sure there's a good solution - I'm hoping someone will hop on
here and correct me :)

Thanks

Ryan Weaver
Lead Programmer Iostudio, LLC
http://www.sympalphp.org
http://www.thatsquality.com
Twitter: @weaverryan


On Sun, Jun 20, 2010 at 9:48 AM, Tom Boutell <[email protected]> wrote:

> I'm not a git expert (indeed I'm not yet a git user), but the "git
> submodule update" command does seem to have a --recursive option. That
> would seem to be the right answer once all of the pieces are in git.
>
> But yeah, that's not much help with stuff currently residing in a
> nested set of svn externals. Periodically exporting the whole dang
> symfony 1.4 branch including its externals, diffing it against last
> time you did it and applying that to your git mirror would appear to
> be the only practical way to mirror such a thing into git-land right
> now.
>
> On Sat, Jun 19, 2010 at 7:48 PM, ryan weaver <[email protected]> wrote:
> > Hey guys-
> > I'd recommend the one mentioned above
> > - http://github.com/vjousse/symfony-1.4
> > It's used by Diem (vjousse is a diem contributor) and I use it on a lot
> of
> > projects as well. He seems to keep it quite up to date.
> > Tom - you're right about the submodule issue - the only real way for a
> > symfony git mirror to work (short of remapping all of the externals to
> > submodules) is to have it as a full export. Even with submodules, having
> > submodules inside of submodules becomes unwieldy in git because the
> > submodules don't pull down or update recursively by default (so you end
> up
> > with embedded submodules that are empty). I'll be interested to see how
> > that's handled in Symfony 2.
> > Ryan Weaver
> > Lead Programmer Iostudio, LLC
> > http://www.sympalphp.org
> > http://www.thatsquality.com
> > Twitter: @weaverryan
> >
> >
> > On Sat, Jun 19, 2010 at 12:04 PM, Tom Boutell <[email protected]> wrote:
> >>
> >> I could have sworn there was an official one but now I don't see it on
> >> the downloads page. Weird.
> >>
> >> My understanding is that git-svn can't be used to provide a git
> >> submodule. What's more, Symfony 1.x contains further svn:externals of
> >> its own. So I'm not sure this would work, unless the mirror was just a
> >> full export of the entire Symfony 1.4.x tree being pushed into a git
> >> repo... which is feasible with custom scripts I guess.
> >>
> >> We'd like to offer a similar way to get Apostrophe 1.x and its friends
> >> and relations via git. I've been looking around for a relatively sane
> >> way to do it.
> >>
> >> 2010/6/19 Michał Piotrowski <[email protected]>:
> >> > Hi,
> >> >
> >> > Is there any official Symfony 1 git repo out there? I'm using git for
> >> > my projects and I want to integrate symfony in lib/vendor rather than
> >> > depend on pear installation. Git submodule will do the trick (it's
> >> > used in Symfony 2 sandbox).
> >> >
> >> > Regards,
> >> > Michal
> >> >
> >> > --
> >> > If you want to report a vulnerability issue on symfony, please send it
> >> > to security at symfony-project.com
> >> >
> >> > You received this message because you are subscribed to the Google
> >> > Groups "symfony developers" group.
> >> > To post to this group, send email to [email protected]
> >> > To unsubscribe from this group, send email to
> >> > [email protected]<symfony-devs%[email protected]>
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/symfony-devs?hl=en
> >> >
> >>
> >>
> >>
> >> --
> >> Tom Boutell
> >> P'unk Avenue
> >> 215 755 1330
> >> punkave.com
> >> window.punkave.com
> >>
> >> --
> >> If you want to report a vulnerability issue on symfony, please send it
> to
> >> security at symfony-project.com
> >>
> >> You received this message because you are subscribed to the Google
> >> Groups "symfony developers" group.
> >> To post to this group, send email to [email protected]
> >> To unsubscribe from this group, send email to
> >> [email protected]<symfony-devs%[email protected]>
> >> For more options, visit this group at
> >> http://groups.google.com/group/symfony-devs?hl=en
> >
> > --
> > If you want to report a vulnerability issue on symfony, please send it to
> > security at symfony-project.com
> >
> > You received this message because you are subscribed to the Google
> > Groups "symfony developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<symfony-devs%[email protected]>
> > For more options, visit this group at
> > http://groups.google.com/group/symfony-devs?hl=en
> >
>
>
>
> --
> Tom Boutell
> P'unk Avenue
> 215 755 1330
> punkave.com
> window.punkave.com
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to