[tools] mrepo-0.8.5 (svn): cannot import name xmlrpclib

Eduardo S. Scarpellini escarpellini at uolinc.com
Mon Oct 6 23:21:25 CEST 2008


Dag,

I've downloaded the new code and it works fine for me.
How about shipping the SSL certificates and keys (like '/usr/share/rhn/RHNS-CA-CERT') with mrepo?

[]s


________________________________
Eduardo S. Scarpellini
Universo Online S/A - Tecnologia

escarpellini at uolinc.com
Fone (11) 3038 8288
-----Original Message-----
From: dag at horsea.3ti.be [mailto:dag at horsea.3ti.be] On Behalf Of Dag Wieers
Sent: Monday, October 06, 2008 5:59 PM
To: Eduardo S. Scarpellini
Cc: tools at lists.rpmforge.net
Subject: RE: [tools] mrepo-0.8.5 (svn): cannot import name xmlrpclib

On Mon, 6 Oct 2008, Eduardo S. Scarpellini wrote:

> I've installed up2date (4.7.1-17.el4) in CentOS5.1 (this package contain the '/usr/share/rhn' files) and change follow lines in 'rhnget' script:
>
> FROM:
> ---
> if os.path.exists('/usr/share/mrepo/up2date_client/'):
>    sys.path.insert(-1, '/usr/share/mrepo/')
>    sys.path.insert(-1, '/usr/share/mrepo/up2date_client/')
> elif os.path.exists('/usr/share/rhn/up2date_client/'):
>    sys.path.insert(-1, '/usr/share/rhn/')
>    sys.path.insert(-1, '/usr/share/rhn/up2date_client/')
> ---
>
> TO:
> ---
> if os.path.exists('/usr/share/rhn/up2date_client/'):
>    sys.path.insert(-1, '/usr/share/rhn/')
>    sys.path.insert(-1, '/usr/share/rhn/up2date_client/')
> ---
>
> It's works fine for me :)
> I'll try the new code and send a feedback to you.
>
> Thanks and regards.

The point is that we now ship the necessary RHN/up2date code with mrepo so that we depend less on system changes (like in the past).

So mrepo will use /usr/share/mrepo/rhn/ and nothing else. At some point in the future (who knows) we will have our own xmlrpc implementation to talk to RHN, but for now we'll settle for a stable codebase that ships with mrepo.

--
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. Caso você não seja o destinatário desta mensagem, informamos que qualquer divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos é absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail´s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/.


More information about the tools mailing list