Mailinglist Archive: opensuse-features (33 mails)

< Previous Next >
[Fate 302955] Split translations out of installation system
  • From: fate_noreply@xxxxxxx
  • Date: Fri, 16 Nov 2007 11:42:23 +0100 (CET)
  • Message-id: <31037859.1195209743194.JavaMail.tomcat@xxxxxxxxxxxxx>
Feature changed by: coolo
Feature #302955, revision 11
Title: Split translations out of installation system

openSUSE-11.0: Evaluation
Requester: Mandatory
Projectmanager: Mandatory

Requested by: coolo@xxxxxxxxxx
Partner organization:

The translations of yast are the biggest part of the installation
These should not be part of the image, but should be pulled in from the
product media as the user selects them.

#1: jsrain@xxxxxxxxxx (2007-11-09 13:18:17)
Duncan, we will need a Linuxrc support for this. Can Steffen look into
this feature? What comes to my mind is:
Linuxrc needs to download and mount the language image for the language
which user selected in bootloader menu (or English as fallback)
Linuxrc needs to provide a support (eg. a script) which YaST can call
when Language changes and downloads and "mounts" the new translation
It is questionable whether it should be YaST or Linuxrc who makes
checks if the asked image is already downloaded, IMO it should be

#2: snwint@xxxxxxxxxx (2007-11-09 14:08:01) (reply to #1)
I don't see linuxrc involved at all. YaST can just donwload he required
files. Doesn't look that tricky to me.

#3: jsuchome@xxxxxxxxxx (2007-11-09 14:29:36) (reply to #2)
Maybe, but I do not know how. Lukas, don't we have some API in yast2-
installation for that (copying target package from media to inst-sys,
if I understand it correctly)?

#4: snwint@xxxxxxxxxx (2007-11-09 14:32:40) (reply to #3)
We've had exactly that discussion when we talked about loading the
licenses. I think now is a good time to fix yast. I really don't see
why other programs have to download various files for yast when yast
could as well do it itself. And when this means doing the repo init
earlier, then, well, do it earlier.

#5: jsrain@xxxxxxxxxx (2007-11-09 15:02:22) (reply to #4)
YaST can only fetch data from instlalation sources. Inst-sys can come
from completly different location than installation sources do. YaST
has no information where to get these images from. YaST would have to
reimplement getting data from all kind of locations on its own (it
cannot use libzypp, since at the location, there needn't be any valid
That's why I'd like to reuse functionality which Linuxrc already has.

+ #7: coolo@xxxxxxxxxx (2007-11-16 11:42:17) (reply to #5)
+ Duncan, is it feasible to make the download functionality of libzypp
+ seperate from valid sources.
+ E.g. RepoManager::download(theurl_I_got_from_linuxrc,
+ "/suse/translations/de.tar");

#6: locilka@xxxxxxxxxx (2007-11-09 16:54:01) (reply to #3)
As already written by snwint, there is no way how to download anything
from sources before they are initialized. So: no, there is no
Installation API for that.
As there can be an installation-(zypp)-source and a different inst-sys,
Installation could either initialize the source as soon as possible but
it still wouldn't know where to download inst-sys extensions. On the
other hand, Linuxrc doesn't know which translations will be needed. So
maybe inst-sys could provide some functionality (API) for downloading
these extensions and merging them (downloaddir + adddir), YaST could
then use that API. Just an idea...

SUSE Feature Tool:

< Previous Next >