On Mon, May 05, 2014 at 02:08:28PM -0500, Felipe Contreras wrote:
> John Keeping wrote:
> > I am not convinced that tools for interoperating with other VCSs need to
> > be part of core Git; as Junio has pointed out previously, while contrib/
> > was necessary for promoting associated tools when Git was young and had
> > not established mindshare, Git is now by far the most popular DVCS and
> > is rapidly catching up with centralized systems. Associated tools can
> > therefore live on their own and do not need to be promoted as part of
> > Git itself (as git-imerge is doing successfully).
> Then let's remove git-p4.
If git-p4 were not already in the core, I would be making precisely the
same argument regarding it (and the others you identify below).
> > In the case of git-remote-hg specifically, the remote helper has to use
> > an interface that the Mercurial developers consider unstable ;
> There is no other sensible way of doing them.
> > the version currently on 'pu' fails the test suite for me because I
> > have Mercurial 3.0:
> > AttributeError: 'mqrepo' object has no attribute 'getbundle'
> And because this patch has not been picked up.
And it is now probably too late for that to make Git 2.0, which means it
may be another 12 weeks before it makes it into a Git release. Since
this is quite a minor change it may make it into a stable release, but
what would happen if the required changes were much more involved?
> > I do not want to end up in a situation where an update to Git is blocked
> > by a distribution because git-remote-hg is not updated to support newer
> > versions of Mercurial sufficiently quickly; this previously happened in
> > Gentoo due to git-svn and meant that was stuck on 1.7.8 until 1.7.13 was
> > released .
> Travis-CI ensures that won't happen.
I don't see that building against Mercurial's default branch, so it will
not help with future releases.
> > Since the remote helper interface is stable and the remote helpers do
> > not use any of the Git internals, I consider the risks of including them
> > in core Git to outweigh the benefits of wider distribution. In fact,
> > the remote helpers may benefit from having their own release cadences
> > so that they can respond to changes in related projects more quickly
> > than the normal Git release cycle.
> Maybe, but git-remote-hg has already benefitted a lot from the wider
> exposure of being in 'contrib/', I'm sure it would benefit even more if
> it's distributed by default.
Is that because it was included in contrib/ or just as a result of being
publicised on this list and elsewhere? I don't think git-imerge is
suffering from being its own project and git-subtree appears to have
received very little attention despite being in contrib/.
> Moreover, there's a ton of subpar tools out there, and I believe
> giving the burden of choosing one to the user is detrimental to the Git
> project. If we as a project say: this is the one we recommend, and has
> the Git stamp, that helps the users tremendously.
But by choosing one now, we are stuck promoting that one even if a
better alternative comes along in the future. We have seen that with
git-cvsimport and it's not dissimilar to the situation with git-pull.
> Your point is valid though, but it's valid not just for
> So I think these are the two options:
> 1) Include git-remote-hg/bzr to the core and distribute them by
> default (as is the current intention)
> 2) Remove git-remote-hg/bzr entirely from the Git tree. And do the
> same for other tools: git-p4, git-svn, git-cvs*. Given the huge
> amount of people using Subversion, we might want to defer that one
> for later, but eventually do it.
Don't forget git-archimport...
My personal vote would be for 2), splitting the bridges to other VCSs
into their own repositories but there would need to be some guarantee
that they would continue to be maintained. I'm not sure it needs to
wait for a major Git release since most of the impact is on package
maintainers and not end users.
> I'd say for v2.0 we should go for 1), and 2) should be considered for
> v3.0, perhaps.
I don't think there is any advantage to adding new tools now if we only
intend to remove them in the future.
>  http://article.gmane.org/gmane.comp.version-control.git/248065
>  https://travis-ci.org/felipec/git
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html