Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mercurial support #458

Closed
flibustenet opened this issue Dec 23, 2016 · 19 comments
Closed

Mercurial support #458

flibustenet opened this issue Dec 23, 2016 · 19 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@flibustenet
Copy link

flibustenet commented Dec 23, 2016

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

@thibaultmeyer
Copy link
Contributor

thibaultmeyer commented Dec 23, 2016

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:

@joubertredrat
Copy link
Contributor

joubertredrat commented Dec 23, 2016

SCM Manager supports mercurial too.

PS: Pesonally I prefer Fossil instead Mercurial.

@tboerger
Copy link
Member

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

@joubertredrat
Copy link
Contributor

@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.

@tboerger
Copy link
Member

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

@lunny
Copy link
Member

lunny commented Dec 23, 2016

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

@tboerger tboerger added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Dec 23, 2016
@tboerger tboerger added this to the 2.x.x milestone Dec 23, 2016
@strk
Copy link
Member

strk commented Dec 24, 2016 via email

@thibaultmeyer
Copy link
Contributor

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.

@stevenroose
Copy link

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...

@petrus-v
Copy link

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

@Crystal-Lilith
Copy link

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?

@clarfonthey
Copy link
Contributor

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.

@VickyRampin
Copy link

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).

@zeripath
Copy link
Contributor

git-as-svn should still work with Gitea.

@clarfonthey
Copy link
Contributor

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.

@zeripath
Copy link
Contributor

zeripath commented Jul 1, 2020

@clarfon I meant:

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

Which does allow bidrectional operation.

@lunny lunny removed the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Oct 15, 2020
@Qix-
Copy link

Qix- commented Nov 11, 2020

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

@techknowlogick
Copy link
Member

Closing this as we are volunteers and we likely don't currently have the resources to do this. A lot of our code assumes git as VCS, and would take a large amount of effort to add another one. This isn't to say we wouldn't add HG support, but it would need someone to sponsor development and reviewers as large PRs (which this would need), take a lot of effort not just to make but review as well. It would also need coordination with maintainers so that perhaps PRs are split up into multiple PRs instead of just one big one, and to discuss approach prior to getting started.

@lafriks lafriks removed this from the 2.x.x milestone Dec 9, 2020
@clarfonthey
Copy link
Contributor

That's super fair. Hopefully at some point there will be enough interest and support for it, but for now it's extremely understandable that this isn't a priority.

@go-gitea go-gitea locked and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests