question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Mercurial repositories?

See original GitHub issue

Proposed change

In mybinder.org, add a new choice to specify a repository just after “Git repository”: “Mercurial repository”.

Then, the information to give would be very similar than for the case “Git repository”:

Who would use this feature?

Mercurial users.

One may argue that monopoly in version control is pretty bad for versioning and open-source. Without Git challenger, versioning is not as good as it could be. For example, Mercurial community (people at Facebook) invented the command absorb which is really useful and I guess Git will get something similar someday.

Mercurial is still alive, with good corporate usage and an active community. The Gitlab fork supporting Mercurial (Heptapod, used for example by PyPy) will soon reach its 1.0 version.

(Optional): Suggest a solution

The implementation for MyBinder should be quite simple : tiny changes in the website, one variable about the kind of repo (git or hg), few diff for the hg commands.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
paugiercommented, Sep 4, 2020

Is this something you’re interested in working on?

Great, it’s in Python! I’m going to have a look at it. Thanks for the link.

1reaction
manicscommented, Sep 4, 2020

The backend of Binderhub is repo2docker which supports multiple content-providers, you can see the current ones here: https://www.github.com/jupyterhub/repo2docker/tree/master/repo2docker%2Fcontentproviders I think this is where the bulk of the work has to happen.

If Mercurial is added there then BinderHub can be updated to offer it.

Is this something you’re interested in working on?

Read more comments on GitHub >

github_iconTop Results From Across the Web

MercurialHosting - Mercurial
Services that provide hosting of Mercurial repositories. ... Contact their support team and they will install Mercurial for you for free.
Read more >
Sunsetting Mercurial support in Bitbucket
After much consideration, we've decided to remove Mercurial support from Bitbucket Cloud and its API. Mercurial features and repositories will be officially ...
Read more >
Mercurial Repositories | Documentation - Review Board
Installing Mercurial Support¶ ... Before you add the repository, you will need to install Mercurial on the server. We recommend installing this using...
Read more >
BitBucket Mercurial Repository Support Ended | What to Do
Mercurial repositories and features were officially removed from Bitbucket and the API on July 1, 2020.* New Mercurial repositories couldn't be ...
Read more >
Mercurial | Fisheye Server 4.8 | Atlassian Documentation
Before you add your Mercurial repositories, you will need to set your executable location for hg (Mercurial).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found