setting up a very simple mercurial server, like in git?
Uwe Brauer
oub at mat.ucm.es
Sat Feb 25 11:00:56 UTC 2023
>>> "MF" == Michael Forbes <michael.forbes+hg at gmail.com> writes:
> A) The simplest option is to just have people ssh into your machine.
> If they setup an alias in ~/.ssh/config, then it is easy:
> #~/.ssh/config on your collaborators computers Host uwe User <their
> account name> HostName <your static ip>
So do you mean I should set up additional user accounts on my Linux
machine?
> If you setup ssh keys (ssh-copy-id), then they can just
> hg clone ssh://uwe/location/of/repo
> etc.
> B) hg serve is very simple and works well, but you need to manage
> security yourself. C) More complicated: I run a Heptapod server
> (https://heptapod.net/) in Docker which listens on local ports on my
> machine. Using a proxy, people can clone from this
> #~/.ssh/config on your collaborators computers
> Host uwe
> User <their account name>
> HostName <your static ip>
> Host heptapod
> ProxyJump uwe
> User git
> Hostname localhost
> Port 11122
> # I have Docker map a custom port to 22 on the container so
> # that it does not conflict with ssh into my machine.
> This gives you a full GitLab web interface etc. (with mercurial
> access) but requires a lot more work to get going/maintain. Very nice
> though.
I see, I tried out once kallithea, that setup was also well complicated.
Right now I am looking for a very simple dirty solution just in case the
only remaining free service (including private repositories) for
mercurial will abandon mercurial.
Heptapod also offers private repository but the price tag is high, and I
use these repositories not for software development but for
collaboration using latex to write up documents.
> Michael.
> P.S. I have not tried hgweb - it looks light it might be useful.
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20230225/f4684aba/attachment.p7s>
More information about the Mercurial
mailing list