Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate authentication code for accessing Mercurial

I'm installing a Mercurial server for managing source code and found RhodeCode. It's quite good for me. However, I'd like to have a feature which is similar to Google Code, in which a user can generate an authentication code for accessing source control from Mercurial client. Is there any other Mercurial server can do that or is there any built-in feature of RhodeCode that I didn't know?

Thanks

like image 544
ltvan Avatar asked Sep 11 '26 14:09

ltvan


1 Answers

No, that feature doesn't exist currently: neither RhodeCode/Kallithea nor hgweb supports it.

The closest to this is probably RhodeCode and Kallithea's support for an API key. The key is private for a given user, but using the key it's possible to trigger events in RhodeCode from scripts. It wont let you run

hg clone http://hg.server/foo?key=123

so it's not exactly what you want. I'm sure Kallithea could be extended to do it, though, as can hgweb.

like image 164
Martin Geisler Avatar answered Sep 13 '26 04:09

Martin Geisler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!