Mailinglist Archive: zypp-devel (115 mails)

< Previous Next >
Re: [zypp-devel] Init of ZYpp configuration and root
  • From: Jiri Srain <jsrain@xxxxxxx>
  • Date: Mon, 2 Jul 2007 10:12:01 +0200
  • Message-id: <200707021012.04492.jsrain@xxxxxxx>
Dne neděle 01 červenec 2007 16:04 Duncan Mac-Vicar P. napsal(a):
Hi!

> Hi
>
> We have to think about the sequence and layers of configuration to make it
> consistent this time.
>
> I list the requirements that come to my mind
>
> - the most important cfg option is the root where you are operating on. In
> former times this was a Target option, and I think it still is (????)

Yes, and IMO there is no way in changing it. There comes one case to my mind 
which requires the ability to operate on multiple targets (not 
simulatenously) - the installation to a directory.

> - known repositories raw metadata path, binary cache path, system
> architecture, etc, needs to be easily configurable/overridable. A zypp.conf 
> file (ini file) would be a nice way to do it.

Yes.

> So we have to determine the workflow:
>
> - when to set the target root

Suggestions: 

When initializing target.

> - when do we read values from the config file

When initializing the ZYPP or before we need the first one? I don't think we 
want to supoprt scenario when one configuration value changes in time. OTOH, 
the possibility to move the download cache needs to be kept (installing huge 
packages from HTTP/FTP during 1st stage instalaltoin).

> - do we append the root to every value or is every value absolute, etc

Don't understand this question.

-- 
Regards,

Jiri Srain
YaST Team Leader
---------------------------------------------------------------------
SUSE LINUX, s.r.o.                             e-mail: jsrain@xxxxxxx
Lihovarska 1060/12                             tel: +420 284 028 959
190 00 Praha 9                                 fax: +420 284 028 951
Czech Republic                                 http://www.suse.cz
< Previous Next >
References