Mailinglist Archive: zypp-devel (64 mails)

< Previous Next >
Re: [zypp-devel] OS identifier for repositories
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Thu, 31 Jul 2008 13:08:45 +0200
  • Message-id: <20080731110845.GA26903@xxxxxxx>
On Thu, Jul 31, Jan Kupec wrote:

Hi,

in order to support repository index services (NU type), we need to
introduce a function returning an identifier of the OS. Zypp will use this
to filter corresponding repositories from the repo index.

Currently we use OSName-arch (e.g. sles-10-x86_64). No problem to get the
arch, but how to get the OSName? Do we store this somewhere?

As for the interface, i suggest to place the functions to ZConfig:

Take into account that our ZConfig handling is not clean, if we use
--root.
(in fact we had to read the target systems ZConfig and re-initialize
all already launches components according to the new settings.)


Until we realy do this those values should probably associated with the
Target and not with ZConfig.

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References