On 2018-07-09 17:55, Cédric Krier wrote: > On 2018-07-09 17:22, Sergi Almacellas Abellana wrote: > > El 06/07/18 a les 10:16, Cédric Krier ha escrit: > > > * Use a local mirror of the Tryton repositories (like > > > drone.tryton.org does with hgwebcachingproxy [1]) > > > > We've setup an hgwebcachingproxy and setup dnsmasq to use the proxy ip > > for cloning the repositories on our testing environment. > > > > Cloning the repositories using the http protocol works well but when > > using the https server we've get a certificate error. Which is expected > > as we do not have any valid certificate for hg.tryton.org > > > > Could you explain how do you solved this issue on drone.tryton.org? > > Well we have a valid certificate for hg.tryton.org > So probably the best is to have a custom trydevpy or we could provide > another parameter to define a custom domain name.
For the record, I just stopped to use hgwebcachingproxy because it does not work on latest mercurial version (and it is too much work to upgrade it). So now, we run a simple `hg serve` on the machine which a preoutgoing hook to keep repository up to date: https://stackoverflow.com/questions/3925007/creating-a-local-transparent-cache-of-a-mercurial-repository The only disadvantage is that new repositories must be created manually on the server. But now, we rely only on standard mercurial tools. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180716145756.GO23462%40kei.
