| Summary: | mercurial.eclass: `certificate not verified' warning with web.cacerts correctly set | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Casper Ti. Vector <CasperVector> |
| Component: | Eclasses | Assignee: | Christoph Junghans (RETIRED) <junghans> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | CasperVector, djc |
| Priority: | Normal | Keywords: | InVCS |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Casper Ti. Vector
2012-08-13 13:14:08 UTC
s/git/hg/g in my previous post, and sorry for the typo :| mercurial.eclass sets HGRCPATH to be empty, which basically disables any hgrc. However, I don't understand your problem. You want to get rid of the warning? We could set HGRCPATH to "/etc/mercurial/hgrc:/etc/mercurial/hgrc.d", but then strange stuff could get inherited from there. Or we could add "--config web.cacerts=/etc/ssl/certs/ca-certificates.crt" to the command line of pull and clone. Thanks for your explanation. I was just looking for a way to eliminate the warning, but did not consider issue about inheritance of other settings from the global hgrc. (In reply to comment #3) > Thanks for your explanation. I was just looking for a way to eliminate the > warning, but did not consider issue about inheritance of other settings from > the global hgrc. I will add something like "--config web.cacerts=/etc/ssl/certs/ca-certificates.crt" to the options for hg pull/clone in the eclass soon. |