Gitea: Mercurial support

Created on 23 Dec 2016  路  17Comments  路  Source: go-gitea/gitea

Is this fork going to support Mercurial if of course someone can work on this ?

kinproposal

Most helpful comment

I also think this is outside the scope of Gitea

All 17 comments

I think it could be a good idea to give choice between Git or Mercurial when a repository is created. But I'm not sure Gitea have, currently, the necessary abstraction level to allow easily a new backend (Git or Mercurial) depending of the acceded repository.

Maybe when the "git" version will be stable and production ready...

For now, you can probably have a look for these alternatives who can work with both Git and Mercurial:

SCM Manager supports mercurial too.

PS: Pesonally I prefer Fossil instead Mercurial.

I think it can be a big plus for gitea to support mercurial and bazaar, but the name of the project will be irritating and we need lots of abstractions

@tboerger sound be good?

"GMBFitea: Git, Mercurial, Bazaar, Fossil, All with a cup of tea". And true, will be necessary a lot of abstractions and see if golang support mercurial and bazaar API rerefence.

We are also wrapping just the git cli, so go bindings are not a hard requirement :)

In a short term, this will not be consider I think.

I also think this is outside the scope of Gitea

The git and mercurial controls have practically the same behaviors. By example, the client SmartGit have the same UI for Mercurial and Git repos. It could make sens to become compatible with Mercurial.

It's even out of the scope of the name :D It's always good to have the choice, but I think it's more important to have a solid piece of software before adding non-core features...

A bit of reading regarding Mercurial support on gitlab a POC was done to show that git/mercurial basic workflow are very closed.

Hello everyone, i am quite curious if hg support will eventually be implemented, do you think that it will be worth putting the effort into making it happen?

I also want to voice support for allowing multiple VCS types. Honestly, there are still lots of systems out there that use VCS other than git and allowing users to mirror those repos without converting them to git would be great. IMHO, the best thing would be to abstract the git logic so that ultimately people could develop extensions for different VCS, that way even if someone wanted to use gitea with e.g. CVS they could.

Also wanted to chime in with my support for multiple VCS types. The Hg and SVN folks are kind of being left high and dry by other hosting platforms, and Gitea would have a great competitive advantage if it was to support multiple VCS's, especially with the ability to self-host (particularly important for my communities, in academia).

git-as-svn should still work with Gitea.

As I said, converting to git isn't really support, it's a workaround. The conversion isn't lossless, and it doesn't enable bidirectional operation, just unidirectional.

@clarfon I meant:

https://github.com/bozaro/git-as-svn

Which does allow bidrectional operation.

If for nothing else, being able to mirror murcurial repositories would be highly beneficial, even if they are "read only" from a git standpoint.

Was this page helpful?
0 / 5 - 0 ratings